4D v16.3

PRINT SETTINGS

Home

 
4D v16.3
PRINT SETTINGS

PRINT SETTINGS 


 

PRINT SETTINGS {( dialType )} 
Parameter Type   Description
dialType  Longint in 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-bit4D 32-bit
0 or omittedPrint jobPage setup+Print job
1 (Page setup dialog)Page setupPage 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.

Example  

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.



See also 

OPEN PRINTING JOB
PAGE BREAK
Print form
SET PRINT PREVIEW

 
PROPERTIES 

Product: 4D
Theme: Printing
Number: 106

The OK variable is changed by the commandNot for server

 
HISTORY 

Modified: 4D v11 SQL
Modified: 4D v15 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)