Spooler Utilities Reference Manual

Using FASTP
Spooler Utilities Reference Manual522295-003
F-7
Alteration
One of the SPOOLCOM device attributes is EXCLUSIVE [ON|OFF]. The default value
is EXCLUSIVE OFF.
If EXCLUSIVE OFF is specified, a device is opened only if a job is queued for the
device and FASTP does not already have the device open. The print process opens
the device and sends the job to it.
If a job is queued for the device and the print process already has the device open, the
print process sends the job to the device without first opening it.
If no jobs are queued for the device and the print process has the device open, it
closes the device.
If EXCLUSIVE ON is specified, the print process opens the device once and keeps it
open (that is, the print process does not open and close the device).
To ensure that an altered FASTCNFG file is read:
If only a subordinate FASTCNFG file has been altered, update the timestamp of
the primary FASTCNFG file as well. To change the timestamp, modify something
in the file (for example, add and delete a character).
If EXCLUSIVE ON is specified for a device, change the attribute to EXCLUSIVE
OFF !. EXCLUSIVE OFF ! specifies that the print process should close the device
between jobs. Therefore, before the print process opens the device for the next
job, it reads the primary FASTCNFG file and checks the timestamp. If the file has
been updated, the print process reads the information in the configuration entry for
the device and updates its own timestamp and configuration information for the
device. Once EXCLUSIVE OFF ! has been specified and a job subsequently sent
to the device, EXCLUSIVE ON must be specified again.
Use the following SPOOLCOM commands:
DEV $device-name,DRAIN
DEV $device-name,EXCLUSIVE OFF!
DEV $device-name,START
/* Send job to device */
DEV $device-name,DRAIN
DEV $device-name,EXCLUSIVE ON
DEV $device-name,START
If EXCLUSIVE OFF ! is specified for a device, if there are many jobs in its print
queue, and if it is necessary to ensure that an altered FASTCNFG file is read
before all of the jobs in its print queue are sent to the device, force the print
process to close and open the device by draining and starting the device. Use the
following SPOOLCOM commands:
DEV $device-name,DRAIN
DEV $device-name,START