4D v14.3

SET PRINT PREVIEW

Home

 
4D v14.3
SET PRINT PREVIEW

SET PRINT PREVIEW 


 

SET PRINT PREVIEW ( preview ) 
Parameter Type   Description
preview  Boolean in Preview on screen (TRUE), or No preview (FALSE)

SET PRINT PREVIEW allows you to programmatically check or uncheck the Preview on Screen option of the Print dialog box. If you pass TRUE in preview, Preview on Screen will be checked, if you pass FALSE in preview, Preview on Screen will be unchecked. This setting is local to a process and does not affect the printing of other processes or users.

Example  

The following example turns on the Preview on Screen option to display the results of a query on screen, and then turns it off.

 QUERY([Customers])
 If(OK=1)
    SET PRINT PREVIEW(True)
    PRINT SELECTION([Customers] ;*)
    SET PRINT PREVIEW(False)
 End if

 
PROPERTIES 

Product: 4D
Theme: Printing
Number: 364

 
HISTORY 

Modified: 4D 2004.5

 
SEE ALSO 

PRINT RECORD
PRINT SELECTION
PRINT SETTINGS

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : SET PRINT PREVIEW ( 4D v12.4)