Skip to main content
Version: Next

PRINT SETTINGS

PRINT SETTINGS {( dialType )}

ParameterTypeDescription
dialTypeIntegerDialog box to be displayed

This command is not thread-safe, it cannot be used in preemptive code.

Description

PRINT SETTINGS displays a printing dialog box. This command must be called before a series of Print form commands or the OPEN PRINTING JOB command.

The optional dialType parameter can be used to configure the display of the printing dialog box. You can use one of the following constants from the Print Options theme:

ConstantValueComment
Page setup dialog1Display the Page setup dialog box
Print dialog2Display the Print job dialog box (default if omitted)

Note: The Print Job dialog box contains a Preview on Screen check box that allows the user to preview their print job. You can preset or reset this option by calling SET PRINT PREVIEW before calling PRINT SETTINGS.

Example

See example for the command Print form.

System variables and sets

If the user clicks OK in both dialog boxes, the OK system variable is set to 1. Otherwise, the OK system variable is set to 0.

See also

OPEN PRINTING JOB
PAGE BREAK
Print form
SET PRINT PREVIEW