This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
PRINT SETTINGS

PRINT SETTINGS 


 

PRINT SETTINGS {( dialType )} 
Parameter Type   Description
dialType  Longint in 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.

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 command

 
PAGE CONTENTS 
 
HISTORY 

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

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)