HP Distributed Print Service User's Guide
Chapter 3 41
Command Reference
Command Syntax
Command Syntax
You can enter HPDPS commands using an attribute value pair, a
command-attribute or an object-attribute and its value, with the -x flag,
other command flags, or a combination of the two. More information on
each of these options follows.
Using the -x Flag with Attribute Value Pairs
Both object-attributes and command-attributes have values and can be
entered using the -x flag. Command-attributes modify the action of
commands. See Table 3-5, “Command-Attributes,” for a list of command-
attributes. Object-attributes are characteristics of objects. See “Object-
Attributes” for more information.
When an attribute and a value are entered, the attribute is followed by
the = sign followed by the value; no space is allowed between these three
items unless the items are enclosed in quotes. For example,
class=printer and "class = printer" are equally acceptable
formats. See Table 3-5, “Command-Attributes,” and Table 3-7, “HPDPS
Object-Attributes,” later for more information.
The syntax for using an attribute value pair with the -x flag is:
[ HPDPSCommand [-xAttributeValuePair…] [ Argument…] ]
where
-x precedes the attribute and its value.
AttributeValuePair is a command-attribute or object-
attribute together with its value.
Argument is the object being acted upon. See
“Using Arguments” later for more
information.
For example, to request a listing of attributes for SPOOL1, enter:
pdls -x "class=server request-attributes=all" SPOOL1
The following command yields the same results, but is entered using
command flags, which are described next.
pdls -c server -r all SPOOL1