mardi 29 avril 2014

PrinterJob.lookupPrintServices() not working on mac osx


Vote count:

0




PrinterJob.lookupPrintServices() not working on mac osx javafx 7.


whenever i tried to called the method, it will just return me with size 0.


Now the weird thing is, it worked on window 7 and java SE 7 Console.



PrintService[] services = PrinterJob.lookupPrintServices();


also tried this



PrintService pservices[] = PrintServiceLookup.lookupPrintServices(null, null);


also tried this



ObservableSet<Printer> printer = Printer.getAllPrinters();


asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire