4D v16.3PRINT SETTINGS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
PRINT SETTINGS
|
PRINT SETTINGS {( dialType )} | ||||||||
Parameter | Type | Description | ||||||
dialType | Longint |
![]() |
Dialog box(es) to be displayed | |||||
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. You can use one of the following constants from the Print Options theme. The displayed dialog box(es) will actually depend on your 4D version, as shown in the following table:
dialType value (constant) | 4D 64-bit | 4D 32-bit |
0 or omitted | Print job | Page setup+Print job |
1 (Page setup dialog) | Page setup | Page setup |
2 (Print dialog) | Print job (= 0 or omitted) | Print job |
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.
See example for the command Print form.
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.
Product: 4D
Theme: Printing
Number:
106
Modified: 4D v11 SQL
Modified: 4D v15 R5
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)