• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to find print services

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

What i'm trying to do should be quite simple: I have to print text on some printers, using JPS and the javax.print.* API's.

I've found examples about how to set attributes, how to query printers about a DocFlavor etc.

The problem i'm facing is:

If I specify any attribute, such as MediaSizeName, or even copies number, the PrintServiceLookup returns no service able to meet these requirements.
Idem with any DocFlavor different than DocFlavor.INPUT_STREAM.AUTOSENSE;

I'm not the only one in this situation, according to this thread

I have several printers attached to the computer. Some of them provide a very wide range of printing options.
I'm using jdk 1.4.2_05 on Windows 2000 by the way.

If you have some clue about this issue, please let me know!

Thanks in advance.
[ October 27, 2005: Message edited by: Romain Bisse ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic