This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
PRINT SETTINGS
|
PRINT SETTINGS {( dialType )} | ||||||||
Parameter | Type | Description | ||||||
dialType | Longint |
![]() |
Dialog box to be displayed | |||||
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.
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 v20 R7)