Spooler Programmer's Guide
Spooler Procedure Calls
Spooler Programmer’s Guide—522287-002
4-20
PRINTSTATUS[2] Procedure
msg-type input
INT:value
specifies the type of message being sent, as follows:
0 = Sending status of job
1 = Error occurred on print device; previous operation was
unsuccessful
2 = End of job
3 = Unable to open device
4 = Invalid operation in this state
5 = Error occurred on print device; previous operation was
successful
device input
INT:ref:12
is the name of the device on which an error occurred.
error input
INT:value
is the error that caused this call to PRINTSTATUS[2]. It is sent to the supervisor.
The list of errors follows.
Refer to Appendix C, Spooler-Related Errors, for a complete list and description of
spooler errors.
num-copies input
INT:value
is the number of copies of the job remaining to be printed.
page input
INT:value
is the current page number.
%4000-
%4377
Device error sent to the supervisor by the print process (bits
<8:15> contain a Guardian file-system error number).
%13000 No such device.
%13001 Device already open.
%13002 No job on device.
%13003 Job is running.
%13004 TABLE IS FULL is sent by a print process to the supervisor
when the print process is already handling as many jobs as it
can, and the supervisor instructs it to start another job.