Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 115

Script language
Table of Contents

Advertisement

CHAPTER 6 – Functions and Methods
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
returnstate
flag
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
returnstate
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.
Page 102
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
bool
Flag 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.
Description
Description
Revision 2.0
OMRON

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents