![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212179.webp)
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.
Содержание 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...