qzindustries / qz-print

Free browser applet for sending documents and raw commands to a printer.
Other
49 stars 4 forks source link

Provide paper size hints for PostScript printing #14

Closed tresf closed 9 years ago

tresf commented 10 years ago
PrintRequestAttributeSet attributes = new HashPrintRequestAttributeSet();
attributes.add(MediaSizeName.ISO_A4);

Now, qz-print defaults to the document size specified by the printer. This is not ideal because many customers want to print to custom paper sizes without having client reconfigure each printer's default paper size via the OS.

Edit: Related Pull Request: #22