CI Info Functions: Devinfo, Spoolinfo, Volinfo (14392)
Additional Information
1. EnvFileName/Env
To query this item, the system should not be rebooted since the
Env
Exists
Exist
bool Returns TRUE if the spoolfile exists in any state, otherwise
returns FALSE.
FileDesignator string Returns the formal file designator of the spoolfile if present, else
“” (Null string) is returned.
FmtCreateDate string Returns the date when the spoolfile was created as a formatted
string, “DAY, MONTH DATE, YEAR”.
FmtCreateTime string Returns the time when the spoolfile was created as a formatted
string, “HH:MM AM/PM”.
FormsId string Returns the forms ID of the spoolfile.
FormsMsg bool Returns TRUE if the spoolfile has a forms message associated
with it, otherwise returns FALSE.
Incomplete bool Returns TRUE if the spoolfile is incomplete, otherwise returns
FALSE.
InputType string Returns “JOB” or “DATA” depending upon whether the input
spoolfile is a job or data file. For output spoolfiles, “” (Null string)
is returned.
IntCreateDate int Returns the date when the spoolfile was created as a
YYYYMMDD integer.
IntCreateTime int Returns the time when the spoolfile was created as a
HHMMSS integer.
Job User Account
JobUserAccount
string Returns “JOB,USER.ACCOUNT” of the creator of the spoolfile.
JobName string Returns the job name under which the spoolfile was created if
supplied, else “” (Null string) is returned.
JobNum string Returns the Job/Session number under which the spoolfile was
created as a formatted string, “#J/Snnnn”.
NumCopies
Copies
int Returns the total number of copies requested for the
spoolfile.
NumCopiesDone int Returns the number of copy that has already been printed.
NumPages
Pages
int Returns the number of pages in the spoolfile.
NumRecords
Records
int Returns the number of records in the spoolfile.
NumSectors int Returns the number of sectors in the spoolfile.
Opened bool Returns TRUE if the input spoolfile state is 0 (open) or the output
spoolfile state is 2 (create).
OpenState string Returns “OPEN” or “OPEN EXCL” depending upon whether the
spoolfile is currently opened or exclusively opened. “” (Null string)
is returned if the spoolfile is not opened.
Outpriority
Pri
int Returns the output priority of the spoolfile, a value in the range
0..14.
Private bool Returns TRUE if the spoolfile is a private spoolfile, otherwise
FALSE.
Ready bool Returns TRUE if the input spoolfile state is 4 (ready), or the output
spoolfile state is 3 (defer), 4 (ready), 7 (problem), 8 (delpend),
9 (spsave), otherwise returns FALSE.
Restart bool Returns TRUE if the job is restartable, otherwise returns FALSE.
RestartPageNum int Returns the page at which to restart if the printing of the spoolfile
has been suspended.
SpoolfileState
State
string Returns state of the spoolfile, "OPEN", "ACTIVE", "CREATE",
"DEFER", “READY", "TRANSFER", "PRINT", "PROBLEM",
"DELPEND", "SPSAVE", or "INTERRUPT".
User Account
UserAccount
string Returns “USER.ACCOUNT” of the creator of the spoolfile.
Page
7
of
15
Communicator Article
-
Network Printing enhancement
7/30/2008
http://jazz.external.hp.com/papers/Communicator/7.5/CIInfoFunctions.html