PRINT SETTINGS
PRINT SETTINGS {( dialType )}
Parameter | Type | Description | |
---|---|---|---|
dialType | Integer | → | Dialog 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:
Constant | Value | Comment |
---|---|---|
Page setup dialog | 1 | Display the Page setup dialog box |
Print dialog | 2 | Display 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.