Spooler Programmer's Guide
Spooler Procedure Calls
Spooler Programmer’s Guide—522287-002
4-8
Considerations
Considerations
The following considerations apply to the use of the PRINTINIT[2] procedure:
PRINTINIT[2] should not be used by a perusal process. A print process operates
with, and under the control of, the supervisor, while a perusal process operates on
its own.
Before calling PRINTINIT[2], a print process must have a file open to the
supervisor with nowait I/O and a sync depth of, at most, 1.
PRINTINIT[2] must be followed at some point by a call to AWAITIO[X].
The print-control-buffer returned by PRINTINIT[2] is used by the
supervisor to send messages to the print process. The print process should never
alter this buffer except with calls to the print procedures.
Usually, PRINTINIT[2] is called only once by a print process.