APPENDIX D – Obsolete Features
OMRON
Page 166
Revision 2.0
GetSpoolCount
Syntax
returnstate = GetSpoolCount()
Remarks
Argument Type
Description
returnstate
int
Number of messages queued up waiting to be printed on
Alarm/Message printer.
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 Type
Description
returnstate
Bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
Driver
String
Name of printer device (e.g. “Epson9” for 9 pin Epson printers.
Device
String
Name of specific device (e.g. “Epson FX-870”). This is
optional.
Port
String
Name of port or file(e.g. “LPT1.”).
Line Terminator
String
Optional. Sets terminator (e.g. cr) to be added to end of each
printed line.
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.
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...