HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
pddelete(1) pddelete(1)
(TO BE OBSOLETED)
NAME
pddelete - deletes print objects
SYNOPSIS
pddelete -h
pddelete
[-c ObjectClass][
-m "MessageText" ][-x "
AttributeValuePairs
" ]
[
-X AttributesFileName ]
{ ServerName ...
| ServerName
:InitialValueDocumentName ...
| ServerName
:InitialValueJobName ...
|[ServerName
: ]PrinterName ...
|[ServerName
: ]QueueName ... }
pddelete -c job [ -m "MessageText
" ][-r JobRetentionPeriod]
[
-x "AttributeValuePairs
" ][
-X AttributesFileName ] LocalJobId ... | GlobalJobId ...
DESCRIPTION
Use this administrative command,
pddelete, to permanently delete print objects from the printing sys-
tem.
A confirmation message is issued before deleting objects, unless the
PD_CONFIRM_DELETE
environment
variable is set to
no.
Options
Use the following options with the pddelete command:
-c ObjectClass
Specify the object class that the command is to operate upon. The ObjectClass can be one of the follow-
ing:
printer (default)
job
queue
initial-value-job
initial-value-document
server
This option is equivalent to specifying the command-attribute
class.
-h Display a command-specific help message containing information about command syntax and options.
This cannot be used with another option or an attribute.
-m "MessageText"
Specify the message that is to be associated with the ObjectClass that is being deleted: printer,
job, queue, initial-value-job
,orinitial-value-document. You can use this mes-
sage to indicate the reason for deleting the
printer, job, queue, initial-value-job
,or
initial-value-document
, or to provide other comments.
If the command is to operate on a job with a non-zero
job-retention-period
, list this message
by specifying
requested-attributes=job-message-from-administrator
with the
pdls command. If the command is to operate on a printer, queue, initial-value-job,
initial-value-document,orjob with a job-retention-period
of zero (0), this mes-
sage is deleted with the object and cannot be retrieved.
If the
-m is not specified, the message already stored with the object remains unchanged and is
deleted as just described.
This option is equivalent to specifying the command-attribute message.
-r JobRetentionPeriod
Can only be used if object-class is job. The command will be rejected if used with any other class.
If the job currently has a retention-period or is currently retained, this option must be specified with
a zero (0) value to delete the job. If not specified, the present retention-period for the job is used.
This option is equivalent to specifying the object-attribute job-retention-period.
-x "AttributeValuePairs"
A single attribute string, consisting of one or more attribute-value pairs.
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 1−−713