• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

Send data to a network printer using JPS

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Always look on the bright side of life. At least this ad is really tiny:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic