Skip to main content
Version: 20 R5

Print

Settings

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 settings which are more powerful.

You can modify the following print settings:

  • Paper format
  • Paper orientation
  • Page scaling

Available options depend on the system configuration.

JSON Grammar

NameData TypePossible Values
pageFormatobjectAvailable print properties: paperName, paperWidth, paperHeight, orientation, scale
paperNamestring"A4", "US Letter"...
paperWidthstringUsed if a paper named paperName was not found. Requires unit suffix: pt, in, mm, cm.
paperHeightstringUsed if a paper named paperName was not found. Requires unit suffix: pt, in, mm, cm.
orientationstring"landscape" (default is "portrait")
scalenumberminimum: 0