Page Setup
Page size, paper source and type, orientation and positioning.
For DPI settings, see Output Resolution. For copies, collation and double-sided printing, see Copies and Duplex.
media
The value has to match an existing Win32 printer form name (A4, Letter, etc.), a predefined media name as specified in the TFORMer.xml (A4, Letter, etc.), or it has to be specified in the format Custom.WidthxHeight (Custom.220mmX10cm). Default unit is mm. If required you can specify other units like in, cm, m, mil, etc.
mediasource
Only effective for Windows printers.
Either the name (mediasource="Tray 2") or the id (mediasource=260) of an existing tray
mediatype
Only effective for Windows printers.
Either the name (mediatype="Glossy") or the id (mediatype=3) of an existing media type
offsetX
Specifies the horizontal offset of the top left corner (shift right: offsetX=3.2mm). Default unit is mm. If required you can specify other units like in, cm, m, mil, etc.
offsetY
Specifies the vertical offset of the top left corner (shift down: offsetY=3.2mm). Default unit is mm. If required you can specify other units like in, cm, m, mil, etc.
rotation
Specifies the additional counter-clockwise output rotation in steps of 90 degrees (will be added to the rotation of the form).
orientation
Values
LandscapePortrait
layout
Specifies an option string to modify layout settings when printing.
Available options are:
rows,row-height,row-spacingcolumns,column-width,column-spacingmargins
All options but margins support the value auto.
Margins can be specified by using a container or a simple value.
Examples
margins=2cm
or
margins={left=1cm right=2cm top=1cm bottom=2cm}