HP Distributed Print Service Administration Guide
258 Chapter9
Managing Spoolers, Queues, and Logical Printers
Querying for Spooler Information
NOTE You can request information about all objects within a server of a given
class by entering the
ServerName
followed only by a colon (:). This lets
HPDPS know that you want to obtain data about all objects within the
specified class contained within that server. Thus, in the example shown
above, Spool2: allows a query to find out about all printers within
spooler Spool2.
On the other hand, entering the command:
pdls -c printer Spool2:LogPrt5
provides information only about the logical printer LogPrt5 within
Spool2.
Querying for Physical Printers Registered with the
Spooler
If not all physical printers to which the spooler schedules jobs are
accepting jobs, you might query for information on enabled physical
printers registered with spooler. For example:
pdls -c server -s column \
-r brief,physical-printers-supported,physical-printers-ready \
Spool2
This command returns the names of physical printers that are enabled
and that have a printer state of printing, idle, or
connecting-to-printer.
HPDPS displays information similar to the following:
Physical Physical
Server State Type Printers Supported Printers Ready
------ ----- ------- ------------------ --------------
Spool2 ready spooler PhyPrt4 PhyPrt4
PhyPrt5 PhyPrt6
PhyPrt6
This information indicates that physical printer PhyPrt5 is not enabled
or is in a printer state other than printing, idle, or
connecting-to-printer. Use the procedure in “Querying for the State
of a Physical Printer” in Chapter 10 to determine the printer state.