Printer Commands SECTION 6 Functions and Methods
95
Typical Example
PrintActivePage(TRUE)
The currently active page is sent to the printer. The flag 'TRUE' indicates that
the print dialog is displayed. 'FALSE' causes the print dialog not to be shown.
6-14-4 PrintPage
Syntax
returnstate = PrintPage ("pagename", flag,
printheaderfooter)
Remarks
Typical Example
PrintPage("page1", TRUE)
The CX-Supervisor page is sent to the printer. The flag 'TRUE' indicates that
the print dialog is displayed first to allow for printer configuration. If 'FALSE'
was specified instead of 'TRUE' then the print dialog is not shown, the page is
just printed.
6-14-5 PrintScreen
Syntax
returnstate = PrintScreen(flag)
Remarks
Typical Example
PrintScreen(FALSE)
All CX-Supervisor pages currently on view is printed. The flag 'FALSE'
indicates that the print dialog is not displayed. A flag of 'TRUE' causes the
print dialog to be shown, allowing the user to configure or choose the printer.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
flag bool Flag is to indicate whether the print setup
dialog is to be displayed before printing.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
pagename string The name of the page to be printed.
flag bool Flag to indicate whether the print setup dialog
is to be displayed before printing.
printheaderfooter bool Optional. Flag to control if printout details are
included in a header and footer.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
flag bool Flag to indicate whether the print setup dialog
is to be displayed before printing.