Initiates the spooler process for a device.
Syntax |
 |
STARTSPOOL [{ ldev [;SHUTQ] devclass }]
Parameters |
 |
- ldev
The logical device number of a spooled device. When
the spooler gains control of the specified device, it controls spooling
to it as well as to all device classes that reference the device.
- devclass
The device class specified in the I/O configuration.
Only this device class becomes spooled; it does not affect other
device classes or any devices in the class.
- SHUTQ
The spooler prints files waiting in the queue for
device ldev, but prevents the creation of new
spool files. The SHUTQ
parameter is valid for ldev only.
Operation Notes |
 |
To start the spooling process for a specified device, and
for any and all device classes associated with it, issue the STARTSPOOL
command with the ldev parameter. When
devclass is used with STARTSPOOL,
only the specified device class is controlled by the spooler. The
logical device itself is not controlled, unless a STARTSPOOL
has also been issued for the corresponding ldev.
If spooling is enabled only on the laser printer's ldev,
and spooling stops as a result of an I/O error, no new spool files
are created. To avoid this, issue the STARTSPOOL
command twice for an HP 2680 Laser Printer (once for the devclass
associated with the printer, and a second time for the ldev
assigned to it).
Use |
 |
This command may be issued from a session, job, program, or
in BREAK. Pressing Break has
no effect on this command. It may be issued only at the console
unless distributed to users with the ALLOW
or ASSOCIATE
command.
Examples |
 |
To start spooling all output to logical device 6 and all device
classes that reference logical device 6, enter:
To start spooling all output to device class LP,
enter:
To start spooling on logical device 6, while preventing the
creation of any new spool files, enter:
Related Information |
 |
- Commands
STOPSPOOL
- Manuals
Performing System Operation Tasks