Spooler Plus Programmer's Guide
Spooler Procedure Calls
Spooler Plus Programmer’s Guide—522293-003
4-47
Obtaining the Spooler Statistics and Status
! 6 = print process error
! (procerror)
last^error, ! the last spooler error code
! recorded on the device
flags; ! device flags (0=off, 1=on)
! flags. <0> = Devreset
! flags.<1:2> =
Startff
00 = OFF
01 = ON
10 = OFF !
! flags.<3> = Endff
! flags.<4:7> = DEVTYPE
0001 = SNAX LU1
0010 = SNAX LU3
0111 = 7 SUB-TYPE FOR 5515,
5516, 5518
1000 = 8 SUB-TYPE FOR 5573,5574
1001 = 9 SUB-TYPE FOR 5512
1010 = 10 SUB-TYPE FOR 5577
! flags. <8> = Batch header
! flags. <9> = Exclusive OFF!
! flags.<10> = Truncation
! flags.<11> = Job printing
! flags.<12> = Device draining
! flags.<13> = Header
! flags.<14> = Exclusive
! flags.<15> = FIFO
STRING form^name [0:15]; ! form name of device,
! blank-filled
INT retry^interval, ! minimum period to wait between
! retries
time^out, ! number of retries to attempt
! before timing out device
speed; ! device speed specified in the
! Spoolcom command (not
! actual speed of the device)
STRING print^process [0:5]; ! print process name,
! blank-filled
INT job^number, ! job number of job currently
! being printed
parameter, ! parameter specified in
! Spoolcom command
width, ! device width specified in the
! Spoolcom command (not
! necessarily actual width
! of device)
retries, ! number of retries attempted on
! device. Valid only when in
! deverror state.
busy^time[0:1], ! amount of time (in seconds)
! required for current job to
! complete printing. Valid