Make image support unconditional

This commit is contained in:
Anton Thomasson 2020-05-16 15:23:07 +02:00
parent bd710831eb
commit 0d94f8a4f6

View file

@ -13,11 +13,11 @@ function supported_formats(printer, ConvertChecker)
mimetypes.push("application/postscript"); mimetypes.push("application/postscript");
supported.push("Postscript"); supported.push("Postscript");
} }
if(has(formats, "image/jpeg"))
{ mimetypes.push("image/jpeg");
mimetypes.push("image/jpeg"); supported.push("JPEG");
supported.push("JPEG"); mimetypes.push("image/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 = []