aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Send data to a network printer using JPS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Send data to a network printer using JPS" Watch "Send data to a network printer using JPS" New topic
Author

Send data to a network printer using JPS

Regis Santos
Ranch Hand

Joined: Mar 23, 2004
Posts: 31
Hello,

I'm trying to print to network printers using Java Print Service. I did it with printers that I have installed in my OS. But I want to print documents to printers that aren't installed in my operational system.

The method PrintServiceLookup.lookupPrintServices() returns only the printers that I have configured in my OS. I want to invoke a method where I can set the printer path name that isn't necessarily installed in my system.

Thanks a lot.
[ January 07, 2008: Message edited by: Regis Santos ]

Regis Santos
Liam Tiarnach
Ranch Hand

Joined: Aug 06, 2004
Posts: 51
That's because you can only access printers that are currently install on your pc whether it be local or network. In regards to network printers, you would need rights and drivers in order to print to them.

[ January 22, 2008: Message edited by: Liam Tiarnach ]
[ January 22, 2008: Message edited by: Liam Tiarnach ]

- Liam...<br />- ' He who never sleeps... '
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send data to a network printer using JPS