Spooler Plus Utilities Reference Manual

Introduction to the Spooler Plus Subsystem
Spooler Plus Utilities Reference Manual522294-002
1-11
Devices and Device Attributes
A job in the READY state is ready to print but is not yet printing. The job enters the
READY state when the application closes the collector process.
The job waits in the device queue until it is ready to print. A job in the PRINT state is
being printed. The PRINT state is normally the last state before the job is deleted from
the spooler. To prevent the spooler from deleting a job after printing, use Peruse or
Spoolcom to set the hold-after-printing flag; see Section 2, Peruse, or Section 3,
Spoolcom, for details.
You can put a job in the HOLD state by entering the Peruse HOLD command or
Spoolcom JOB, HOLD command. A job in the HOLD state is not printed and remains
in the spooler indefinitely until you delete it or remove the HOLD state.
You can put a job in the HOLD state at any time. If the job is in the READY or PRINT
state, it can be placed in the HOLD state immediately. If it is in the OPEN state, it is
placed in the HOLD state after the application output is complete.
The life cycle of a print job starts with the OPEN state, which continues while the
application writes the data to the collector and the collector stores the data in a disk
file. When the application has sent all the data to the collector, the job is in the READY
state. The job then enters the PRINT state if its spooler location is associated with a
device. (If the location is not associated with a device, the job enters the HOLD state.)
When printing is complete, the spooler deletes the job unless the hold-after-printing
flag is set. You can also delete a job from the spooler by using a specific request. If
the job is printing when you make that request, the job immediately stops printing and
is deleted.
Devices and Device Attributes
A device produces a hard-copy listing of your job. Every device is controlled by a print
process. Devices (and print processes) have four attributes that can affect your
spooler jobs:
Form name
Device header message
Device state
Selection algorithm
Device Form Name
The form name of a device is an optional attribute that allows you to control the type of
job that can be printed on the device. The device form name indicates the type of
paper or forms that are loaded in the device. Only a job with a job form name that
corresponds to the device form name can be printed on the device.
Device Header Message
The device header message includes the job report name, location, job number, form
name, and date and time of printing. You can turn the header message on or off for