HP Distributed Print Service Administration Guide

272 Chapter9
Managing Spoolers, Queues, and Logical Printers
Managing Jobs in Queues and Spoolers
You must set the value of the job-retention-period job attribute to
zero (0) with the -r flag in order to delete the job.
Deleting Jobs with the pdclean Command
You also have the option of deleting all of the jobs in a queue or all of the
jobs in a spooler with the pdclean command. Use the -c flag to specify
whether you are deleting jobs from the queue or from the spooler.
To delete all of the jobs in a queue, regardless of their state, enter:
pdclean -c queue Queue4
If any job has a retention period, HPDPS retains the job in the spooler
until the retention period expires.
To delete all of the jobs in the spooler, including all of the jobs in all of the
queues contained in a spooler, regardless of their state, enter:
pdclean -c server Spool4
If any job has a retention period, HPDPS does not wait until the
retention period expires; HPDPS deletes the job immediately.
Resubmitting Jobs to Different Logical Printers
Use the pdresubmit command to resubmit a job to a different logical
printer. You identify the job by its global job identifier number. You can
resubmit a pending or held job contained in a queue, or a retained or
timed-out job contained in a spooler. You cannot resubmit a job that is in
any of the following states:
pre-processing
paused
processing
terminating
unknown
When you resubmit a job, the job includes all of the attributes specified
by the user or specified by initial value objects associated with the
original logical printer to which the job was submitted. If the logical
printer to which you resubmit the job has associated initial value objects,
HPDPS applies any additional attributes specified by those objects to the
job. HPDPS validates the job again against this logical printer and