Applicable release versions: AP
|Description||controls all output that is sent to a printer.
SPOOLER is an acronym derived from Simultaneous Peripheral Output and On-Line Error Recovery sub-system.
Any system which allows multiple users to generate printed output and direct it to one or more logical or physical printers must have a spooler. The Spooler controls the creation of each print job and sees that it is either sent to a printer or held in a storage area. It also controls the relationship between physical hardware and logical printers. On some implementations, the Spooler controls the parallel printer(s) as well.
Depending on the printer assignments and the status of the printer, the output may be printed immediately, sent to tape, placed in a queue for later printing, or placed in a hold file.
There are three major divisions of interest in the Spooler: form queues, logical printers and physical printers. Each user is assigned to a form queue, either by direction or by default. When the user creates a report, it becomes an element in a table of currently active reports for the assigned form queue. There are status flags which indicate if the report is to be printed, suppressed, held, sent to tape or left open at the end-of-job.
The relationship between the physical printers (hardware) (see "startptr") and the form queues is established when a logical printer is "started". At that time, the user designates the name (number) of a logical printer, the physical hardware device it will run on, and the form queue(s) that it will service.
The Spooler directs the items in the queue which are scheduled to be printed to the printer(s) as the printer(s) become(s) available. The Spooler can be directed to output report items to printer(s), tape, or to a specified file in "runoff" format.