4D Chart v13

CT PRINT

Home

 
4D Chart v13
CT PRINT

CT PRINT 


 

CT PRINT ( area ; cancellable ; printDialog ) 
Parameter Type   Description
area  Longint in 4D Chart area
cancellable  Integer in Allow printing to be cancelled? 0 = Do not allow cancelling 1 = Allow cancelling
printDialog  Integer in Present Print dialog box? 0 = Without dialog box 1 = With dialog box

The CT PRINT command prints the document in area. Calling CT PRINT performs a function similar to choosing Print from the File menu, except that the Print Setup dialog box is not presented to the user. To display the Print Setup dialog box before printing, use CT DO COMMAND.

If cancellable equals 1, 4D Chart displays a dialog box that allows the user to cancel printing by pressing Ctrl+Period (Command-Period on Macintosh). If the user cancels printing, CT Error returns error number 20. If cancellable equals 0, the dialog box is not displayed and the user cannot cancel printing.

If the printDialog parameter equals 0, the standard Print File dialog box does not appear and the print job begins immediately. If printDialog equals 1, the standard Print File dialog box appears.

 
PROPERTIES 

Product: 4D Chart
Theme: CT Printing
Number: 14555

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT DO COMMAND