Spooler Plus Programmer's Guide
Spooler Plus Programmer’s Guide—522293-003
4-1
4 Spooler Procedure Calls
There are two types of spooler procedures: print procedures, whose names start with 
PRINT, and spooler procedures, whose names start with SPOOL. These procedures 
are summarized in Table 4-1 and their use is described in the remainder of this section.
Table 4-1. Summary of Spooler and Print Procedures (page1of2)
Procedure Description
PRINTCOMPLETE Obtains a message from the spooler.
PRINTCOMPLETE[2] Obtains a message from the spooler. This procedure includes 
batch enhancements to PRINTCOMPLETE.
PRINTINFO Obtains information regarding a job being printed by the print 
process.
PRINTINIT Initializes the print control buffer.
PRINTINIT2 Initializes the print control buffer. This procedure includes 
batch enhancements to PRINTINIT.
PRINTREAD Obtains a line of spooled data.
PRINTREADCOMMAND Interprets a message from the spooler supervisor.
PRINTSTART Initializes a job buffer for a new job.
PRINTSTART2 Initializes a job buffer for a new job. This procedure includes 
batch enhancements to PRINTSTART.
PRINTSTATUS Sends a message to the supervisor.
PRINTSTATUS2 Sends a message to the supervisor. This procedure includes 
batch enhancements to PRINTSTATUS.
SPOOLBATCHNAME Returns the name of the spooler batch job currently being 
spooled to the collector.
SPOOLCONTROL Replaces the Guardian file-system CONTROL procedure 
when spooling at level 3.
SPOOLCONTROLBUF Replaces the Guardian file-system CONTROLBUF procedure 
when spooling at level 3.
SPOOLEND Writes any remaining blocked data to the spooler and signals 
end of job; can be used to modify the job attributes.
SPOOLERCOMMAND Issues a Spoolcom command to the supervisor.
SPOOLEREQUEST Obtains a Startup message from the supervisor suitable for 
reading a job.
SPOOLEREQUEST2 Obtains a Startup message from the supervisor suitable for 
reading a job. Includes batch enhancements to 
SPOOLEREQUEST.
SPOOLERSTATUS Obtains status of spooler components.
SPOOLERSTATUS2 Obtains status of spooler components. Includes batch 
enhancements to SPOOLERSTATUS.










