version 11 (Modified)
PRINT SETTINGS {(dialType)}
Parameter | Type | Description | |
dialType | Longint | Dialog box(es) to be displayed: | |
0 (or parameter omitted) = All | |||
1 = Print Setup, 2 = Print Job |
Description
PRINT SETTINGS displays either one or two print settings dialog boxes. 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 boxes:
If you pass 0 in dialType or omit this parameter, both printing dialog boxes are displayed. First, it displays the Print Setup dialog box. Then, it displays the Print Job dialog box.
If you pass 1 in dialType, only the Print Setup dialog box is displayed. The current printing options will be used.
If you pass 2 in dialType, only the Print Job dialog box is displayed. The current print settings will be used.
Note: The Print Job dialog box contains a Preview on Screen check box that allows the user to specify to print to the screen. You can preset or reset this check bok by calling SET PRINT PREVIEW before calling PRINT SETTINGS.
Example
See example for the command PRINT FORM.
System Variables or 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.