APPENDIX D – Obsolete Features
GetSpoolCount
Syntax
returnstate = GetSpoolCount()
Remarks
Argument
returnstate
Typical Example
NumberMessages = GetSpoolCount()
The count of the number of messages (typically printed alarms) that are queued up waiting to be sent
to the CX-Supervisor Alarm/Message printer is returned.
SetPrinterConfig
Syntax
returnstate StePrintConfig(Driver, Device, Port)
Remarks
Argument
returnstate
Driver
Device
Port
Line Terminator
Typical Examples
SetPrinterConfig("SCSPRN", "", "LPT1:")
This uses standard CX-Supervisor line print driver.
SetPrinterConfig("", "", "")
This uses default Windows printer driver.
SetPrinterConfig("Epson9", "", "LPT2:")
This uses Epson printer driver, attached to LPT2.
Page 166
Type
int
Number of messages queued up waiting to be printed on
Alarm/Message printer.
Type
Bool
Returnstate is '1' if the function is successful, or '0' otherwise.
String
Name of printer device (e.g. "Epson9" for 9 pin Epson printers.
String
Name of specific device (e.g. "Epson FX-870"). This is
optional.
String
Name of port or file(e.g. "LPT1.").
String
Optional. Sets terminator (e.g. cr) to be added to end of each
printed line.
Description
Description
Revision 2.0
OMRON
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?