Printing Duplex and 4 Copies on HP Printer from Java
I was wondering if someone can provide me a working example of a
print class that allows me to print a PDF or Postscript file to a HP Laserjet printer.
So far I'm able to print the document, however the moment I try to specify
attributes like Duplex, Tray or Copies(2) I run into issues.
The document is still printed, but the attributes do not make any difference.
Did a lot of research on the web and JAVA API's and have found all kind of examples on how it should work. But I'm not able to get any of the examples
work with the attributes.
What am I doing wrong ???