Flags
You can use these flags with the pddisable 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 disables all associated logical destinations, destination is for a logical or actual destination, and server disables all destinations in the server.
Using this flag is equivalent to specifying the command attribute operation-class.
- -m"MessageText"
- Specifies the message you want associated with the destination, log, queue, or server.
You can use this message to indicate the reason for disabling the object or to provide
any other comments.
If you do not specify the -m flag, the message already stored with the object remains unchanged.
When you issue a command against a server, InfoPrint propagates the message to the message attribute of the destinations residing in the server. InfoPrint does not change the server message attribute. When you issue a 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 or more attribute-value pairs.
- -Xattributes file name
- Specifies the name of a file containing attribute and value pairs you want inserted
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.