HP Distributed Print Service User's Guide

11
Double quotation marks, " ", surround text strings that contain
spaces, such as:
-m "Down for maintenance"
Single quotation marks, ' ' , surround a text string that contains
spaces when the text string is imbedded in a statement already
enclosed in double quotation marks. An example is:
-x "sides=2 job-print-after='08:00:00 03/09/95'"
Braces, {}, surround a value within the notification-profile
attribute. An example is:
-x "notification-profile={delivery-method=electronic-mail}"
Double ampersand, &&, means "and" within a command. An example
is:
pdls -U -f "user-name=*fljones && \
printer-name-requested==LogPrt1" Spool1:
Double vertical bar, ||, means "or" within a command. An example is:
pdls -U -r brief,job-state-reasons -s column \
-f "current-job-state==retained \
|| current-job-state==timed-out" \
Spool2:
Asterisks and equal signs are used to match strings. For example:
"job owner=*Jones" initial string match
"job-owner*=*one" any substring match
"job-owner*=nes" final string match
Using Abbreviations
for Attribute Names
and Values
In many cases, you can abbreviate attribute names and values by using
the first letter of each word in the name or value. For example, you can
use the abbreviation s-m-s for the start-message-supported
attribute, t for the true value, and specify the attribute and value pair
as s-m-s=t.
However, in some cases specifying only the first letter in each word can
be ambiguous, as for the attributes job-owner and job-originator.
In these cases, specify enough of the name so that is unique, as in j-ow
and j-or. If the values are ambiguous, HPDPS rejects the command and
you receive an error message. Use abbreviated attribute names and
values as appropriate.