Allows defining specific print settings for the form. This feature is useful to view printing page limits in the form editor.
Compatibility: Even if these settings are taken into account when the form is printed in Application mode, it is discouraged to rely on this feature to store print settings for the form, due to limitations regarding the platform and driver dependency. It is highly recommended to use the 4D commands
Print settings to BLOB/
BLOB to print settingswhich are more powerful.
You can modify the following print settings:
- Paper format
- Paper orientation
- Page scaling
Available options depend on the system configuration.
|Name||Data Type||Possible Values|
|pageFormat||object||Available print properties: paperName, paperWidth, paperHeight, orientation, scale|
|paperName||string||"A4", "US Letter"...|
|paperWidth||string||Used if a paper named paperName was not found. Requires unit suffix: pt, in, mm, cm.|
|paperHeight||string||Used if a paper named paperName was not found. Requires unit suffix: pt, in, mm, cm.|
|orientation||string||"landscape" (default is "portrait")|