Flags

You can use these flags with the pdclean 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 | queue | server} DEFAULT=destination
Specifies the object class you want for this command. In the valid classes, destination is a logical or actual destination.

Using this flag is equivalent to specifying the command attribute operation-class.

-m"MessageText"
Specifies the message you want associated with the specified destination, queue, or server. You can use this message to indicate the reason why you are cleaning the destination, queue, or server, or any other appropriate comments.

Using this flag is equivalent to specifying the command attribute message.

You can list this message by specifying requested-attributes=message with the pdls command.

-x"attribute=value …"
A single attribute string, consisting of one or more attribute-value pairs.
-XAttributesFileName
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:

  1. Server host and server port specified with the -H parameter.
  2. Server host and server port specified with the PDHOST and PD_SOCKET envirnonment variables.
  3. Uses the defaults for PDHOST=localhost and PD_SOCKET=6874.
Note: This configuration logic enables multiple commands to run on a single machine communicating with one or more InfoPrint Manager servers.