8034239: PrintServiceLookup.lookupPrintServices() returns different amount of services in comparison with lpstat -v

Reviewed-by: prr, jgodinez
This commit is contained in:
Prasanta Sadhukhan 2016-03-09 11:26:57 +05:30
parent ddd9185c51
commit 6c2df09dd9

View File

@ -929,6 +929,7 @@ public class IPPPrintService implements PrintService, SunPrinterJobService {
DocFlavor[] flavor = new DocFlavor[2];
flavor[0] = DocFlavor.SERVICE_FORMATTED.PAGEABLE;
flavor[1] = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
supportedDocFlavors = flavor;
return flavor;
}