CT PRINT

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT PRINT (area; cancellable{; printDialog})

ParameterTypeDescription
areaLongint4D Chart area
cancellableIntegerAllow printing to be cancelled?
0 = Do not allow cancelling
1 = Allow cancelling
printDialogIntegerPresent Print dialog box?
0 = Without dialog box
1 = With dialog box

Description

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.

See Also

CT DO COMMAND.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next