Printer Commands; Clearspoolqueue; Enableprinting; Printactivepage - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Printer Commands

6-14
Printer Commands

6-14-1 ClearSpoolQueue

6-14-2 EnablePrinting

6-14-3 PrintActivePage

94
Argument
Type
returnstate
bool
message
string
Typical Example
LogEvent("this is an event")
The message 'this is an event' appears as an event in the error log.
Syntax
returnstate = ClearSpoolQueue()
Remarks
Argument
Type
returnstate
bool
Typical Example
ClearSpoolQueue()
Any messages (typically printed alarms) that are queued up waiting to be sent
to the CX-Supervisor Alarm/Message printer is discarded.
Syntax
returnstate = EnablePrinting(flag)
Remarks
Argument
Type
returnstate
bool
flag
bool
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).
Syntax
returnstate = PrintActivePage(flag)
Remarks
SECTION 6 Functions and Methods
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Contains the text string that is displayed in the
Error Log.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
0 to disable, 1 to enable.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents