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 ]