Technical data

The following command creates the queue named production_q and
associate it with the spooler named red_spl:
# pdcreate -c queue red_spl:production_q
6.1.1 Enabling a Queue
Use the pdenable command to enable a queue. When you enable a queue,
the queue accepts print jobs.
The pdenable command has the following command-line syntax:
pdenable -c queue [-m message text] [-x extended_attribute_string] [-X
attribute_filename] queue_name
6.1.2 Disabling a Queue
Use the pddisable command to disable a queue. When you disable a queue,
the queue does not accept print jobs. The pddisable command has the
following command-line syntax:
pddisable -c queue [-m message text] [-x extended_attribute_string] [-X
attribute_filename] queue_name
6.1.3 Removing All Jobs from a Queue
Operators and Administrators can use the pdclean command to remove
all jobs from a queue.
When you use the pdclean command to remove all jobs from a queue, jobs
that are currently printing, retained, or processing at associated physical
printers are deleted. Before the command can be executed, the queue must
be disabled.
The following example shows how to remove all jobs from the queue
named production_q:
#pdclean -c queue production_q
6.1.4 Determining Queue States
The attribute state contains the current state of a queue. A queue can be in
one of the two states described below:
ready The normal operating state of the queue
paused The queue is paused and will not submit jobs to physical
printers until it is returned to the ready state.
A queue is paused with the pdpause command and is resumed with the
pdresume command.
6–2 Creating and Managing Queues and Printers