Nevermind, only consider images supported if raster formats are supported
This commit is contained in:
parent
0d94f8a4f6
commit
2da5baad59
1 changed files with 7 additions and 5 deletions
|
@ -14,11 +14,13 @@ function supported_formats(printer, ConvertChecker)
|
||||||
supported.push("Postscript");
|
supported.push("Postscript");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( has(formats, "image/pwg-raster") || has(formats, "image/urf"))
|
||||||
|
{
|
||||||
mimetypes.push("image/jpeg");
|
mimetypes.push("image/jpeg");
|
||||||
supported.push("JPEG");
|
supported.push("JPEG");
|
||||||
mimetypes.push("image/png");
|
mimetypes.push("image/png");
|
||||||
supported.push("PNG");
|
supported.push("PNG");
|
||||||
|
}
|
||||||
//var info = "MFG:Hewlett-Packard;CMD:PJL,BIDI-ECP,PJL,POSTSCRIPT,PDF,PCLXL,PCL;MDL:HP LaserJet P3010 Series;CLS:PRINTER;DES:Hewlett-Packard ".split(";");
|
//var info = "MFG:Hewlett-Packard;CMD:PJL,BIDI-ECP,PJL,POSTSCRIPT,PDF,PCLXL,PCL;MDL:HP LaserJet P3010 Series;CLS:PRINTER;DES:Hewlett-Packard ".split(";");
|
||||||
var maybe = []
|
var maybe = []
|
||||||
var info = printer.attrs["printer-info"] ? printer.attrs["printer-info"].value.split(";") : [];
|
var info = printer.attrs["printer-info"] ? printer.attrs["printer-info"].value.split(";") : [];
|
||||||
|
|
Loading…
Reference in a new issue