New Forum | Previous | Next | (P-PDF) Beginners
Topic: selecting printer paper
Conf: (P-PDF) Beginners, Msg: 112091
Date: 5/25/2004 11:30 PM
Each printer has its own default format. One is a standard letter size 8 1/2" x 11" on a laser printer. The second printer is an old dotmatrix printer with a special format as default.
My problem is this. When I use the getPrintParams object, the default paper format is always letter and never the default paper format for the printer. I've tried using suppress-rotate and automatically select paper format by pdf size. But all they seem to do is print my document sideways.
Is there a way to specify the paper format?
something like pp.paperSize = letter ?
thank you for you help
excerpt of my code / une partie du code
$script = "var pp = this.getPrintParams();pp.interactive = pp.constants.interactionLevel.full;pp.printerName = '\\\\\\\\HOST\\\\PRINTER';this.print(pp);";