Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot retrieve shared printers description

Status
Not open for further replies.

JOBARAM

Programmer
May 25, 2002
52
IL
Hi,
I need to retrieve the PC's Printers shared names, not the name of printers the PC uses.

I am using:
PrintService[] services = PrintServiceLookup.lookupPrintServices(DocFlavor.SERVICE_FORMATTED.PRINTABLE,null);

but the services retrieves the name of printers the PC uses and not the shared description.

How can I get the shared names??

Thanks

Jo

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top