Technical data

The pdenable command has the following command-line syntax:
pdenable [-c printer] [-m message_txt] [-x extended_attribute_string] [-X
attribute_filename printer_name]
The following example shows how to enable the logical printer
log_printer_1 on the default server.
#pdenable log_printer_1
6.3.3.2 Disabling a Logical Printer
Use the pddisable command to disable a logical printer. When you disable
a logical printer, new print job requests are not accepted and the name of the
printer is removed from the logical-printers-ready attribute for the
associated queue and spooler.
The pddisable command has the following command-line syntax:
pddisable [-c printer] [-m message_txt] [-x extended_attribute_string] [-X
attribute_filename printer_name]
The following example shows how to use the pddisable command to disable
a logical printer using no options:
# pddisable logical_printer_1
6.3.3.3 Listing Printer Attributes
Use the pdls command to display a list of the attributes of logical and
physical printers. The pdls command has the following format command-line
syntax:
pdls [-c class_name] [-f filter_txt] [-F] [-g] [-r requested_attribute]
[-s style_name] [-x extended_attribute_string] [-X attribute_filename
printer_name]
The following examples show how to use the pdls command and the output
generated by the command.
To display all attributes for logical printer lpx0001, with each attribute
written on a single line, issue the following command:
# pdls -c printer -r all -s line lpx0001
lpx0001: object-class = printer
lpx0001: printer-name = lpx0001
lpx0001: availability = normal
lpx0001: printer-realization = logical
lpx0001: printer-state = idle
lpx0001: enabled = yes
lpx0001: associated-queue = px0001
lpx0001: associated-server = amanda
Creating and Managing Queues and Printers 6–15