CI Info Functions: Devinfo, Spoolinfo, Volinfo (14392)

Status
Status parameter is optional. It is the CI variable name where a
SPOOLINFO error number can be returned. Zero indicates success.
Non-zero indicates a failure. Error values returned in 'status' are the
same as the CIERROR value when an error occurs. If the 'status' parm
is passed the CI will not set CIERROR and will not report an error
message. If 'status' is not specified the CI performs its normal error
handling.
Description of SPOOLINFO items
The following table summarizes the description, the output type returned
by all the items and the aliases for the items accepted by the
SPOOLINFO CI function.
Aborted Active Restart
ActiveDeviceName DeviceClass
Broadcastable DevRecSize
Disposition DevSubType
EnvFileName DevType
FormsId Exists
FormsMsg FileDesignator
Incomplete FmtCreateDate
NumCopies FmtCreateTime
NumCopiesDone InputType
NumPages IntCreateDate
OutPriority IntCreateTime
RestartPageNum Job User Account
JobName
JobNum
NumRecords
NumSectors
Opened
OpenState
Private
Ready
SpoolfileState
User Account
Item String Type Description
Aborted bool Returns TRUE if the spoolfile is the $STDLST of an aborted
job otherwise returns FALSE.
Active
bool Returns TRUE if input spoolfile state is 1 (active), or output
spoolfile state is 5 (transfer), 6 (print), 10 (interrupt),
otherwise returns FALSE.
ActiveDeviceName
ActiveDev
string Returns the name of the last device that has picked up a
copy of the spoolfile and is currently processing the spoolfile.
Broadcastable bool Returns TRUE if the broadcastable field of an output spoolfile
is set, otherwise returns FALSE. Used to print additional
copies of SPSAVE’d output spoolfiles.
DeviceClass
DevClass
string Returns the destination device name or device class for the
spoolfile.
DevRecSize int Returns the record size of the target device of the spoolfile in
bytes.
DevSubType int Returns the device subtype of the target device of the spoolfile.
DevType int Returns the device type of the target device of the spoolfile
Disposition
Disp
string Returns SAVEor PURGEdepending upon whether the
spoolfile has to be saved or purged after it has been printed.
EnvFileName string Returns the environment file name of the spoolfile.
Page
6
of
15
Communicator Article
-
Network Printing enhancement
7/30/2008