A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Java print Api couldnot find network printer
Joined: Mar 13, 2006
Apr 13, 2006 01:45:00
am using the following
PrintService printService = PrintServiceLookup.lookupPrintServices(flavor, pras);
PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
the "lookupPrintServices"&"lookupDefaultPrintService" classes couldnot find network printer.
if i connect local priner it is working please help me.
Joined: Aug 30, 2004
Apr 19, 2006 00:34:00
All you have to do is just add network printer to your local computer which is java application abide and give some specified printer service name.
PrintService  matchingServices = PrintServiceLookup.lookupPrintServices(flavor, aset);
matchingServices.getName(); by this sample you will get one of available printer service names.
subject: Java print Api couldnot find network printer
find the network printer print job names
Need to get IP Address
No instance of PrintService is being created
find the network printers status and job names
find the PrinterJobQueue in and jobsnames in queue
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015