OMRON
Typical Example
EnablePrinting(FALSE) - Disables printing
EnablePrinting(TRUE) - Enables printing
While alarm printing is disabled, any new messages are stored but not printed. When alarm printing
is re-enabled, any pending messages are printed (if in line mode) or added to the current page (if in
page mode).
PrintActivePage
Syntax
returnstate = PrintActivePage(flag)
Remarks
Argument
returnstate
flag
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.
PrintPage
Syntax
returnstate = PrintPage ("pagename", flag)
Remarks
Argument
returnstate
pagename
flag
Revision 2.0
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
bool
Flag is to indicate whether the print setup dialog is to be
displayed before printing.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
string
The name of the page to be printed.
bool
Flag to indicate whether the print setup dialog is to be displayed
before printing.
CHAPTER 6 – Functions and Methods
Description
Description
Page 101
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?