![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212114.webp)
OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 101
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 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.
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 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.
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...