HP Distributed Print Service Administration Guide

Chapter 9 263
Managing Spoolers, Queues, and Logical Printers
Querying for Logical Printer Information
Querying for Logical Printer Information
This section describes how to query the values of attributes that reflect
the status of the logical printer and whether there are associated
physical printers that are ready and enabled to receive jobs from the
logical printer.
Querying for the Status of a Logical Printer
Unlike spoolers, logical printers do not have different states; logical
printers are either enabled or disabled. The value of the non-settable
enabled logical printer attribute indicates the status of the logical
printer.
To query the status of the logical printer LogPrt1, enter:
pdls -c printer LogPrt1
HPDPS displays information similar to the following:
Printer Realization Enabled Queue
------- ----------- ------- -----
LogPrt1 logical true Queue1
The command in this example also displays the queue that receives jobs
from the logical printer. A logical printer cannot be enabled unless it is
associated with a queue.
NOTE The enabled attribute is one of the predefined attributes of the brief
option of the -r flag for the pdls command. brief is the default for the
-r flag. Therefore, the command in this example is equivalent to
entering:
pdls -c printer -r brief LogPrt1