Skip to Content
0
Former Member
Mar 18, 2009 at 01:23 PM

Selecting Server Printer and Tray

24 Views

Hi, my project prints the reports via Server mode using the next instruction:

String printerName = "HP LaserJet 2100 Magatzem";

JRCHelperSample.printToServer(clientDoc, printerName);

But using this, the paper is always taken from the Tray number 1 in the printer.

Is there any instruction in jsp to select the Tray number 2 (a different paper source)????, or have i to set the printer default properties in the server in order to print always from the Tray numer 2?

Thanks a lot!

Edited by: Antonio Rodriguez on Mar 18, 2009 2:25 PM

Edited by: Antonio Rodriguez on Mar 18, 2009 2:33 PM