Flags
You can use these flags with the pdenable command:
- -Hhost:port
-
Identifies the host and port of the InfoPrint Manager server used for communication. When not specified, the command follows the Configuration logic to define the host and socket.
- -c {destination | log | queue | server} DEFAULT=destination
- Specifies the object class you want for this command. In the valid classes, queue enables all associated logical destinations, destination is for a logical or actual destination, and server enables all destinations in that server.
Using this flag is equivalent to specifying the command attribute operation-class.
- -m"MessageText"
- Specifies the message you want to associate with the destination, log, queue, or server
you want to enable. You can use this message to indicate the reason for enabling the
object or to provide any other comments. If you do not specify the -m flag, the message already stored with the destination, log, queue, or server remains
unchanged.
When you enter the command against a server, InfoPrint propagates the message to the message attribute of the destinations residing in that server. InfoPrint does not change the server message attribute.
When you enter the command against a queue, InfoPrint propagates the message to the message attribute of the logical destinations associated with the queue. InfoPrint does not change the queue message attribute.
You can list this message by specifying requested-attributes=message with the pdls command.
Using this flag is equivalent to specifying the command attribute message.
- -x"attribute=value …"
- A single attribute string, consisting of one more attribute-value pairs.
- -Xattributes file name
- Specifies the name of a file containing attribute and value pairs you want InfoPrint to insert at the current point in the command.
Using this flag is equivalent to specifying the command attribute attributes.
- -h
- Displays a command-specific help message containing information about command syntax and flags. If you use this flag with any other flag or attribute, InfoPrint recognizes only the -h flag.
Configuration logic
The command determines which server host and server port to use based on this sequence:
- Server host and server port specified with the -H parameter.
- Server host and server port specified with the PDHOST and PD_SOCKET envirnonment variables.
- Uses the defaults for PDHOST=localhost and PD_SOCKET=6874.