HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
pdenable(1) pdenable(1)
(TO BE OBSOLETED)
NAME
pdenable - enables printers to accept jobs and logs to log
SYNOPSIS
pdenable -h
pdenable
[-c ObjectClass][
-m "MessageText" ][-x "
AttributeValuePairs
" ]
[
-X AttributesFileName]
{ ServerName ...
|[ServerName
:]LogName ...
|[ServerName:]PrinterName ...
|[ServerName
:]QueueName ... }
DESCRIPTION
Use this administrative command,
pdenable, to enable the logging function of logs or to enable logical
printers or physical printers to accept jobs.
To discontinue acceptance of print jobs, use the
pddisable command. To discontinue logs from logging
data, use the
pddisable command.
Note: The pdenable and pddisable commands control input, whereas pdpause and pdresume
control output.
Options
You can use the following options with the pdenable 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 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. See the HPDPS Administration Guide for more detail on error log-
ging.
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 printer, log, queue,or
server that is
being enabled. You can use this message to indicate the reason for enabling the
printer
, log,
queue,orserver or to provide other comments.
If the -m option is not specified, the message already stored with the printer
, log, queue,or
server 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.
This option is equivalent to specifying the command-attribute
message.
-x "AttributeValuePairs"
A single attribute string, consisting of one more attribute-value pairs.
-X AttributesFileName
The name of a file containing attribute-value pairs you want inserted at the current point in the com-
mand line. This option is equivalent to specifying the command-attribute attributes .
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 1−−719