HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

p
pdenable(1) pdenable(1)
(TO BE OBSOLETED)
Command Attributes
You can specify these attributes in a
-x "AttributeValuePairs
" string or in an attributes file designated
with the
-X AttributesFileName option.
attributes= AttributesFileName
Specifies the designated attributes file that HPDPS is to read and insert at the current point in the
command line. This le contains attribute and value pairs that HPDPS uses to expand on the com-
mand being entered.
class=ObjectClass
Specify the ObjectClass that you want for this command. Valid object class names for the
pdenable
command are: printer (default), log, queue,or
server. Within the valid classes, queue
enables all associated logical printers, printer is for a logical or a physical printer,
server is for a
spooler or a supervisor and enables all printers residing in that server and
log is for error log.
message="MessageText
"
Specify the message you want associated with the
printer, log, queue,or server that is being
enabled. You may use this message to indicate the reason for enabling the
printer, log, queue,
or
server or to provide other comments. If the
message attribute is not specified, the message
already stored with the object remains unchanged.
When the command is issued against a server, HPDPS propagates the message to the
message
attribute of the printers residing in that server. The message attribute for that server is not
changed. When the command is issued against a queue, the message is propagated to the message
attribute of the logical printers associated with the queue. The message attribute for that queue is
not changed.
You can list this message by specifying requested-attributes=message
with the pdls com-
mand.
Object Attributes
There are no object attributes for this command.
Arguments
Use the arguments to identify the specific object you want to enable. If you specify multiple objects, each
must be separated by spaces.
You can use the following arguments with the
pdenable command:
[ServerName:]LogName
Specify the log you want enabled. Enabling a log allows it to begin accepting input (logging).
[ServerName:]PrinterName
Specify the printer you want enabled. When first created, printers are in the disabled state. Printers
cannot be enabled unless they are associated with an existing queue. Any other objects referenced by
the printer also must exist. These are for logical printers:
initial-value-job objects
initial-value-document objects
[ServerName:]QueueName
Specify the queue you want enabled. When the pdenable command is issued against a queue,
HPDPS attempts to enable all of its associated logical printers.
ServerName
Specify the server you want enabled. When the pdenable command is issued against a server,
HPDPS attempts to enable all of its printers. When issued against a:
Spooler HPDPS attempts to enable all of its logical printers.
Supervisor HPDPS attempts to enable all of its physical printers.
When a server is initialized again after being shut down, the printers are either enabled or disabled. This
depends on the state the printer was in when HPDPS was shut down and on ability of the server to com-
municate with its associated queue.
EXAMPLES
Section 1720 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005