HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

p
pdclean(1) pdclean(1)
(TO BE OBSOLETED)
message="
MessageText
"
Specify the message you want associated with the
printer, queue,orserver. You can use this
message to indicate the reason why the
printer
, queue,orserver is being cleaned or to provide
other comments.
You can list this message by specifying
requested-attributes=message
with the pdls com-
mand.
Arguments
Use the argument to specify the printer, queue, or server to clean. If you specify multiple objects, all must
be of the same object class, and each must be separated by spaces.
You can use the following arguments with
pdclean command:
[ServerName:]PrinterName
Specify which printer you want cleaned of jobs.
Cleaning a physical printer removes only those jobs that have been assigned to that physical printer.
Cleaning a logical printer removes all jobs that were submitted through that logical printer that have
not yet been completed. They are removed from the queue associated with the logical printer. Any
jobs currently printing are aborted if this is supported by the physical printer device.
[ServerName:]QueueName
Specify which queue you want cleaned of jobs.
Cleaning a queue deletes all jobs that reside in that queue. Any jobs currently printing will be aborted
if this is supported by the physical printer device.
ServerName
Specify which server you want cleaned of jobs.
Cleaning a spooler deletes all jobs that have been submitted to any of the logical printers residing in
that spooler including any retained jobs. Any jobs currently printing are aborted if this is supported by
the physical printer device.
Cleaning a supervisor deletes all jobs that are assigned to any of the physical printers residing in that
supervisor. Any jobs currently printing are aborted, if this is supported by the physical printer device.
EXAMPLES
Clean a Printer
To clean printer lj4si of all jobs, enter the command:
pdclean lj4si
Clean a Server
To clean server DSuper1, enter the command:
pdclean -c server DSuper1
Clean a Physical Printer
To clean printer PhysPrt2 of all jobs and leave a message enter the command:
pdclean -m "Printer PhysPrt2 is down for repairs" SUPER1:PhysPrt2
SEE ALSO
pdcreate(1), pddelete(1), pddisable(1), pdenable(1), pdls(1), pdmod(1), pdpause(1), pdpr(1), pdpromote(1),
pdq(1), pdresubmit(1), pdresume(1), pdrm(1), pdset(1), pdshutdown(1)
STANDARDS CONFORMANCE
pdclean: POSIX 1387.4
Section 1708 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005