HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
pdset(1) pdset(1)
(TO BE OBSOLETED)
NAME
pdset - define the attribute values of the specified print object
SYNOPSIS
pdset -h
pdset
[-c ObjectClass][
-g][-m "MessageText
" ][-r "RequestedAttributes
" ][-s StyleName]
[
-x "AttributeValuePairs
" ][
-X AttributesFileName]
{ ServerName ...
| ServerName
:InitialValueDocumentName ...
| ServerName
:InitialValueJobName ...
| ServerName
:LogName ...
|[ServerName:]PrinterName ...
|[ServerName
:]QueueName ...
| LocalJobId ...
| GlobalJobId ... }
DESCRIPTION
Use the pdset command to define or modify the values of the print-object attributes. Printers must be dis-
abled before their attributes can be modified.
Table 1-1 lists the four modification operators:
Table 1-1. Four Modification Operators:
Operator Syntax Description
Replaces the entire value of the attribute attribute with
value or, if not already present, adds the attribute-value
pair to the job.
replace attribute=value
Adds the value value to the attribute attribute. You can-
not add values to single-valued attributes. An add request
that duplicates values on a multi-valued attribute has no
effect on the job.
add-values attribute+=value
Removes the values value from the attribute attribute.A
remove request for a nonexistent value has no effect on
the object. A remove request for the last or only value of
an attribute is equivalent to a set-to-default request.
remove-values attribute-=value
Set the attribute attribute to the default values according
to the job defaulting-hierarchy. If values are supplied
with a reset request, they are ignored.
reset-to-default attribute==
If you do not specify a value with a replace, add, or remove request, an error is issued and the request to
change the object is rejected.
Only values for settable attributes can be changed using the pdset command. Using this command for
non-settable attributes results in an error. This is determined on an object-by-object basis.
Changes made to objects are permanent and remain changed even if the print system is shutdown and then
restarted.
Options
You can use the following options with the pdset command:
-h Display a command-specific help message containing information about command syntax and options.
This option cannot be used with another option or with an attribute.
-c ObjectClass
Specify the object class that the command is to operate upon. The ObjectClass can be one of the fol-
lowing:
printer (default)
job
server
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 1−−759