HP Distributed Print Service Administration Guide
Chapter 10 305
Managing Supervisors and Physical Printers
Querying for Supervisor Information
Querying for Supervisor Information
This section describes how to query for the values of attributes that
reflect the state of and information about HPDPS supervisors and the
associations between the supervisor and other HPDPS objects.
You can query for supervisor information in response to notification
messages that indicate a problem with either the supervisor or a
physical printer. Because the supervisor controls the physical printer,
problems with a physical printer can be caused by problems with the
supervisor in which the physical printer resides.
Querying for the State of a Specific Supervisor
The value of the non-settable server-state supervisor attribute
indicates the state of the supervisor. You can query the state of the
supervisor if you receive a notification message about a problem in the
supervisor or a message that indicates the supervisor has started to
terminate. You can query the supervisor if jobs are being rejected
because no physical printers are available to support the jobs; the
supervisor could be down and the spooler can no longer communicate
with it.
For example, to query for the state of the supervisor Super1, enter:
pdls -c server Super1
HPDPS displays information similar to the following:
Server State Type
------ ----- ---------
Super1 ready supervisor
The server-state attribute is one of the predefined attributes of the
brief option of the -r flag for the pdls command. The default for the -r
flag is brief; therefore, the command you entered in this example is
equivalent to entering:
pdls -c server -r brief Super1
If the supervisor is not running, HPDPS issues a message that it cannot
communicate with the server. See “Restarting the Supervisor After It
Has Been Shut Down” later.