HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
pddisable(1) pddisable(1)
(TO BE OBSOLETED)
-X
AttributesFileName
The name of a file containing attribute-value pairs. This option is equivalent to specifying the
command-attribute
attributes .
Command Attributes
You may specify these attributes in a
-x "AttributeValuePairs
" string or in an attributes file designated
with the
-X AttributesFileName option.
attributes= AttributesFileName
Cause the designated attributes file to be read.
class=ObjectClass
Specify the ObjectClass that you want for this command. Valid object class names for the
pddis-
able
command are: printer (default), log, queue
,orserver. Within the valid classes,
queue disables all associated logical printers, printer is for a logical or a physical printer,
server is for a spooler or a supervisor and disables all printers residing in the server, and
log is for
error log.
message="MessageText
"
Specify the message you want associated with the printer, log, queue,orserver. You can use
this message to indicate the reason for disabling the
printer, log, queue,orserver
or to pro-
vide other comments.
If this 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 the 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 argument to specify the object to disable. If you specify multiple objects, each must be separated
by spaces.
You can use the following arguments with the
pddisable command:
ServerName:LogName
Specify the log you want disabled. Disabling a log stops it from logging data.
[ServerName:]PrinterName
Specify the printer you want disabled. Disabling a printer stops the acceptance of print requests. Any
jobs currently assigned to a physical printer continue printing.
[ServerName:]QueueName
Specify the queue you want disabled. Issuing the pddisable command against a queue disables all
of the logical printers associated with that queue.
ServerName
Specify the server you want disabled. Issuing the pddisable command against a server disables all
of printers residing in the server. When issued against a:
Spooler HPDPS attempts to disable all of the logical printers residing in that server.
Supervisor HPDPS attempts to disable all of the physical printers residing in that server.
EXAMPLES
Disable Printers
To disable printer lj4si (logical or physical) on server Serve1, enter one of these commands:
pddisable lj4si
pddisable Serve1:lj4si
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 1−−717