CHAPTER 6 – Functions and Methods
OMRON
Page 102
Revision 2.0
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.
PrintScreen
Syntax
returnstate = PrintScreen(flag)
Remarks
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.
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.
PrintSpoolQueue
Syntax
returnstate = PrintspoolQueue()
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
Typical Example
PrintSpoolQueue
Any message (typically printed alarms) that are queued up waiting to be sent to the CX-Supervisor
Alarm/Message printer is printed immediately.
Содержание 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...