Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic