Getspoolcount; Setprinterconfig; D.4.8; D.4.9 - Omron CX-Supervisor Reference Manual

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

Advertisement

Graph Commands
Note:
D.4.8 GetSpoolCount
D.4.9 SetPrinterConfig
Argument
Type
pointname
point
offset
integer
returnpoint
point
Typical Example
pointname = 10;
returnpoint = GetPointValue(pointname,0)
The point 'returnpoint' contains the value 10. The offset is added to any offset
specified for pointname. For example:
returnpoint = GetPointValue(a[10],10)
Causes the 21st element (offsets begin at zero) of array 'a' to be retrieved.
It is often simpler to access an array element directly, e.g. returnpoint = a[20].
Syntax
returnstate = GetSpoolCount()
Remarks
Argument
Type
returnstate
int
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.
Syntax
returnstate StePrintConfig(Driver, Device, Port)
Remarks
Argument
Type
returnstate
Bool
Driver
String
Device
String
Port
String
Line Terminator
String
Typical Examples
Appendix D Obsolete Features
Description
This is the name of the point whose contents
are to be returned.
This specifies the offset into an array point. 0 if
the point is not an array point.
Point that contains the return value. The type
of data returned is dependant on the pointname
specified.
Description
Number of messages queued up waiting to be
printed on Alarm/Message printer.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Name of printer device (e.g. "Epson9" for 9 pin
Epson printers.
Name of specific device (e.g. "Epson FX-870").
This is optional.
Name of port or file(e.g. "LPT1.").
Optional. Sets terminator (e.g. cr) to be added
to end of each printed line.
151

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents