HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

p
pdresubmit(1) pdresubmit(1)
(TO BE OBSOLETED)
NAME
pdresubmit - resubmits previously submitted print jobs
SYNOPSIS
pdresubmit -h
pdresubmit
[-c ObjectClass][
-g][-r RequestedAttributes][
-s StyleName]
[
-x "AttributeValuePairs
" ][
-X AttributesFileName]{LocalJobId ... | GlobalJobId ...
|[ServerName
:]TargetLogicalPrinterName ...
|[ServerName
:]PrinterName ... | [ServerName
:]QueueName ... }
DESCRIPTION
Use the
pdresubmit command to request that an existing job be resubmitted to a specific logical printer.
The logical printer can be in the same spooler or a different spooler. You can only resubmit jobs that have
the current job state of held, pending, timed-out, or retained.
If the specified logical printer is in a new server (different spooler than where the job had been), the old
server (spooler) resubmits the job with all of the current attributes assigned to the job to the new spooler.
Any attributes that the old spooler defaulted are included as well, so that the new job remains as similar as
possible to the old job. If the new spooler accepts the print job, it assigns a new global job identifier and the
old global job identifier becomes invalid (see Notes below).
Logical printers and queues can also be arguments for this command. If a logical printer is the argument,
all of the jobs that have been submitted to the old logical printer are resubmitted to the specified new logi-
cal printer. If a queue is the argument, all of the jobs in the old queue are resubmitted to the specified logi-
cal printer. All of the resubmitted jobs are validated again. If they cannot be supported by the newly
specified logical printer they remain in the queue that they were in originally.
If the new logical printer cannot accept the job for some reason, an error message is issued and the job
stays where it was.
Notes:
1. The global job identifier for the job is not changed if the job is resubmitted to a logical printer on the
same server.
2. The global job identifier for the job is changed if the job is resubmitted to a logical printer on a different
server. However, if you are the job-owner, you can still use the same local job identifier.
Options
You can use the following options with the pdresubmit command:
-c ObjectClass
Specify the object class you want for this command. The ObjectClass can be job (default), queue
,or
printer.
Within the valid classes, printer only applies to logical printers. This option is equivalent to specifying
the command-attribute
class.
-g Turn off headings. This option is equivalent to specifying the command-attribute
headings=false.
-h Display a command-specific help message containing information about command syntax and options.
This option is cannot be used with another option or with an attribute.
-r RequestedAttributes
Specify the attribute values you want displayed for the specified objects. Values can be none
(default), brief,orverbose.
This option is equivalent to specifying the command-attribute requested -attributes .
-s StyleName
Specify the format in which you want the attributes displayed. StyleName can be column (default)
or line.
This option is equivalent to specifying the command-attribute style.
-x "AttributeValuePairs"
A single attribute string, consisting of one or more attribute-value pairs.
Section 1752 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005