pdreorder command: reassigns jobs
Syntax
pdreorder [-H host:port] {-a [TargetServerName:]TargetJobID | -b [TargetServerName:]TargetJobID | -p [TargetServerName:]TargetDestinationName | -s TargetServerName | -u TargetServerName} [-m "MessageText"] [-x "attribute=value …"] [-X AttributesFileName] [ServerName:]GlobalJobID … pdreorder -h
Description
Enter the pdreorder command to request InfoPrint to reassign a job to a actual destination or to the unassigned jobs area in the same server or another server. You can assign the job to the actual destination where another job is assigned and specify that it should be printed or sent before or after the other job. You can reassign the job to a specified actual destination, request the server to reschedule the job, or request the server to make the job an unassigned job.
If a job is reordered to an actual destination that does not support the job's attribute values, the job is held and the required-resources-not-supported attribute lists the unsupported values.
Flags
You can use these flags with the pdreorder 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.
- -a[TargetServerName:]TargetJobId
- Specifies that the reordered job should be assigned to print or send after the target job on the same actual destination.
- -b[TargetServerName:]TargetJobId
- Specifies that the reordered job should be assigned to print or send before the target job on the same actual destination.
- -m"MessageText"
- Specifies the message you want associated with the reordered job. You can use this
message to indicate the reason why the job is being reordered or other comments. Using
this flag is equivalent to specifying the command attribute message.
You can list this message by specifying requested-attributes=job-message-from-administrator with the pdls command.
- -p[TargetServerName:]TargetDestinationName
- Specifies that the job should be reassigned to the target actual destination.
- -sTargetServerName
- Specifies that the job should be moved to the target server and that the target server should assign it to an actual destination.
- -uTargetServerName
- Specifies that the job should be moved to the target server as an unassigned job.
- -x"attribute=value …"
- Consists of a single attribute string, containing one or more attribute-value pairs.
- -XAttributesFileName
- Specifies the name of a file containing attribute and value pairs that you want InfoPrint to insert at the current point in the command line. 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.
Command attributes
You can specify these attributes in a -x "attribute=value …" string or in an attributes file designated with the -X AttributesFileName flag.
- attributes=AttributesFileName
- Specifies the designated attributes file that InfoPrint reads and inserts at the current point in the command. This file contains attribute and value pairs that InfoPrint uses to expand the command.
- message="MessageText"
- Specifies the message you want associated with the reordered job. You can use this
message to indicate the reason why the job is being reordered or other comments.
You can list this message by specifying requested-attributes=job-message-from-administrator with the pdls command.
Arguments
Use the argument value to identify the specific object for which you want the status. If you specify multiple objects, separate the object names with spaces.
You can use these arguments with the pdreorder command:
- [ServerName:]GlobalJobID
- The global ID of the job to be reassigned.
Examples
- To reorder job
1099600001
so that it prints after job1099500047
, enter the command:pdreorder -a 1099500047 1099600001
- To reassign job
2000004341
from servermolly
to serverdavid
and havedavid
assign it to an actual destination, enter the command:pdreorder -s david molly:2000004341