Spooler Plus Programmer's Guide

Introduction to the Spooler Plus Subsystem
Spooler Plus Programmers Guide522293-003
1-13
Print Processes
The collector file size can be any size allowed by the Guardian file system. The file’s
buffer size attribute is used to set the collector’s internal buffer size. The Collector unit
size attribute must be a whole multiple of the buffer size attribute, or the buffer size
must be a whole multiple of the unit size. You must set the buffer size to at least 2K
bytes. You can also set the buffer size to a multiple of 2K bytes. For best performance,
HP recommends that you set the buffer size to 4K bytes and the unit size to 4K bytes.
You should set the unit size of a collector once and not change it. If a different unit
size is required, delete the old collector and start a new one.
It can be useful to have two collectors, one with a large unit size and the other with a
small unit size, to be used for large and small jobs. For example, compiler listings are
spooled to the collector with a large unit size, while short jobs (one-page or two-page
memos, for example) are spooled to the collector with the small unit size.
Print Processes
Each output device known to the spooler is assigned a print process, which has the
task of getting spooled data from disk and writing it to the device. You declare print
processes when initializing the spooler; they are run by the supervisor as needed.
Some print processes are copies of the $SYSTEM.SYSTEM.FASTP program supplied
by HP. However, you can write others. See Section 4, Spooler Procedure Calls, for full
syntax and considerations for the print procedures. See Section 3, Using the Spooler
Print Procedures, Print Processes, and Perusal Processes, for descriptions of how you
can declare and initialize print processes.
Print Process Attributes
Table 1-4 lists the default attributes of a print process and the Spoolcom PRINT
subcommands used to specify them.
Table 1-4. Spoolcom PRINT Subcommands and Print Process Default Values
Print Process Attribute
Spoolcom PRINT
Subcommand Default Value
Program file FILE Independent process
Primary processor CPU Processor of supervisor
Backup processor BACKUP No backup processor
Execution priority PRI 145
Print process parameter PARM 0
Debug mode DEBUG OFF