HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
p
pddisable(1) pddisable(1)
(TO BE OBSOLETED)
NAME
pddisable - stops printers from accepting jobs and logs from logging
SYNOPSIS
pddisable -h
pddisable
[-c ObjectClass][-m "MessageText" ][-x "AttributeValuePairs" ]
[-X AttributesFileName]
{ ServerName ...
| ServerName:LogName ...
|[ServerName:]PrinterName ...
|[ServerName:]QueueName ... }
DESCRIPTION
Use this administrative command, pddisable, to stop physical printers or logical printers from accepting
jobs, or to stop logs from logging data.
When you disable a printer, it does not accept jobs submitted with pdpr or pdresubmit commands. The
printer still accepts other commands. All previously submitted jobs and currently-printing jobs continue
unaffected.
You use the pdenable command to enable a printer to accept jobs again and to enable the logging func-
tion of a log again.
Note: The pddisable and pdenable commands control input, whereas pdpause and pdresume
control output.
Options
Use the following options with the pddisable command:
-c ObjectClass
Specify the object class you want for this command. The ObjectClass can be one of the following:
printer (default)
log
queue
server
Within the valid classes, queue disables all logical printers associated with it, printer is for a logi-
cal 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. See the HPDPS Administration Guide for more detail on error
logging.
This option is equivalent to specifying the command-attribute
class.
-h Display a command-specific help message containing information about command syntax and options.
This option cannot be used with another option or with an attribute.
-m "MessageText"
Specify the message that is to be associated with the ObjectClass specified: printer, log, queue,
or server. You can use this message to indicate the reason for disabling the
printer, log,
queue,orserver or to provide other comments.
If the -m option 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.
This option is equivalent to specifying the command-attribute
message.
-x "AttributeValuePairs"
A single attribute string, consisting of one or more attribute-value pairs.
Section 1−−676 − 1 − HP-UX Release 11i: December 2000
___
___