HP Distributed Print Service Administration Guide

290 Chapter9
Managing Spoolers, Queues, and Logical Printers
Deleting Objects Contained in Spoolers
held because it requires resources that are not available. Or the user
might have submitted the job with job-hold=true and sent a message
that the job has special requirements, such as blue paper. After
performing the required actions, use the pdmod command to release the
hold on the job.
Perform the following steps to clear jobs from the queue and then delete
the queue.
1. Determine the states of the jobs in a queue by querying one of the
logical printers that sends jobs to the queue. For example, if the
queue Queue4 receives jobs from logical printer LogPrt4, enter:
pdq -U -p LogPrt4
2. Disable all ofthe logical printersassociated with the queue to prevent
the queue from receiving new jobs. For example, to disable all logical
printers associated with the queue Queue4, enter:
pddisable -c queue Queue4
3. For paused jobs, use the pdresume command to resume processing of
the job by HPDPS. For example, to resume the job with a global job
identifier of Spool4:4628700042, enter:
pdresume Spool4:4628700042
NOTE Depending on the requirements of the job, a job you resume could go into
a held state. You can check the state of resumed jobs to see if they are in
a pending or processing state, and not in a held state.
4. For held jobs:
a. Determine the reasons that jobs are held by querying one of the
logical printers that sends jobs to the queue. For example, to
determine the reasons for all held jobs in Queue4 contained in
spooler Spool4, enter:
pdq -U -f job-state=held -r job-state-reasons -p LogPrt4
b. If the reason is job-hold-set, query for the value of the
job-message-to-operator attribute for the job to determine if
the user has special requirements for the job. After responding to
the message, or if there is no message, use the pdmod command to
release the job hold.