HP Distributed Print Service User's Guide

68 Chapter 3
Command Reference
Command Syntax
Specifying headings=true or using the default, causes the following
depending on the style selected, as described in the next section:
column The output is displayed with column headings.
line The object name precedes the attribute name.
See “Style” below for examples of displayed output with and without
headings.
Style . The style command-attribute or the -s flag is used to specify
the format of presentation for attribute values returned by the server.
The following shows the value of style depending on the value of
requested-attributes:
Value Default if the value of the requested attribute is…
column brief or verbose
line all, archive, or "AttributesList".
If you request groups of attributes with the -r flag (-r brief or -r
verbose), HPDPS provides the results in line style unless you also
request column style with -s column.
Column Style with Headings. Use the following command to display
the requested printer attributes in the column style with headings for
SPOOL1:
pdls -c printer -x "style=column headings=true \
requested-attributes=printer-name printer-realization \
printer-state" SPOOL1:
This will display the requested attributes for all of the logical printers in
the server (spooler) SPOOL1. The output looks like this:
Printer Realization State
------- ----------- -----
LogPrt1 logical
LogPrt2 logical
LogPrt3 logical
Line Style with Headings. Here is a sample command to display the
requested printer attributes in the line style with headings for SPOOL2:
pdls -c printer -x "style=line headings=true" \
-r maximum-copies-supported,printer-name,\
document-formats-supported, associated-server,\
printer-realization printers-ready,\
printer-associated-printers,associated-queue SPOOL2: