.\" $Header:
.TA p
.TH pdresubmit 2
.SH NAME
pdresubmit \- resubmits previously submitted print jobs
.SH SYNOPSIS
.tr ~"
.C pdresubmit 
.RC [ -c \0\f2ObjectClass\f4 \|\f1]
.RC [ -g \|\f1]
.RC [ -r \0\f2RequestedAttributes\f4 \|\f1]
.RC [ -s \0\f2StyleName\f4 \|\f1]
.RC [ -x \0\~\f2AttributeValuePairs\f4~ \|\f1]
.RC [ -X \0\f2AttributesFileName\f4 \|\f1]
.RI \f2[ServerName:]TargetLogicalPrinterName\f4	
.RI \f2LocalJobId...\f4\0| 
.RI \f2GlobalJobId... \f4\0|
.RI \f2[ServerName:]QueueName...\f4\0| 
.RI \f2[ServerName:]PrinterName...\f4
.PP
.C pdresubmit\0-h
.tr ~~
.PP
.SH DESCRIPTION
You enter the 
.C 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.
.PP
If the logical printer specified 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).
.PP
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 logical
printer.  If a queue is the argument, all of the jobs in the old queue are
resubmitted to the specified logical 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.
.PP
If the new logical printer cannot accept the job for some reason, an error
message is issued and the job stays where it was.
.PP
.CR Notes :
.PP
1.  The global job identifier for the job is not changed if the job is
resubmitted to a logical printer on the same server.
.PP
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.
.PP
.SS Options
.PP
You can use the following options with the 
.C pdresubmit 
command:
.PP
.C -c \f2ObjectClass
.ft
.IP
Where \f2ObjectClass
.ft
can be
.C job 
(default),
.C queue 
, or
.C printer.
.IP
Specifies the object class you want for this command.  Within
the valid classes, printer only applies to logical printers.
Using this option is equivalent to specifying the
command-attribute 
.CR class .
.PP
.TP
.C -g   
Turns off headings.
Using this option is equivalent to specifying the
command-attribute 
.CR headings=false .
.PP
.TP
.C -h   
Displays a command-specific help message containing information
about command syntax and options.  This option is mutually
exclusive; cannot be used with another option or with an
attribute.
.PP
.C -r \f2RequestedAttributes
.ft
.IP
Where \f2RequestedAttributes
.ft
can be
.C none 
(default),
.C brief
, or
.C verbose.
.IP
Specifies the group of attributes you want displayed for the
specified \f2job, queue, 
.ft
or \f2printer.
.ft
Using this option is equivalent to specifying the
command-attribute 
.CR requested-attributes .
.PP
.C -s \f2StyleName
.ft
.IP
Where \f2StyleName
.ft
can be
.C column
(default), or
.C line.
.IP
The format in which you want the attributes displayed.
Using this option is equivalent to specifying the
command-attribute 
.CR style . 	
.PP
.TP
.C -x "\c
"\f2AttributeValuePairs\f4\c"
"
.ft
.IP
Consists of a single attribute string, containing one or more
attribute-value pairs.
.PP
.TP
.C -X \f2AttributesFileName\f4
The name of a file containing attribute-value pairs you want
inserted at the current point in the command line.
Using this option is equivalent to specifying the
command-attribute 
.CR attributes .
.PP
.SS Command Attributes          
.PP
You may specify these attributes in a 
.C -x "\c
"\f2AttributeValuePairs\f4\c"
" 
.ft
or in an
attributes file designated with the 
.C -X \f2AttributesFileName \f4
option.
.PP
.TP
.C attributes\f2=AttributesFileName\f4
Causes the designated attributes file to be read.
.PP
.C class\f2=ObjectClass
.ft
.IP
Where \f2ObjectClass
.ft
can be 
.C job
(default),
.C queue
, or
.C printer.
.IP 
Specifies the object class you want for this command.  Within
the valid classes, 
.C printer 
only applies to logical printers.
.PP
.TP
.CR headings\f2=Boolean
.ft
.IP
Where \f2Boolean
.ft
can be either
.C true 
or
.C false 
.IP
Specifies whether or not you want headings displayed for the
requested attributes.
.PP
.C requested-attributes\f2=ObjectAttribute
.ft
.IP
Where \f2ObjectAttribute
.ft
can be
.C none
(default),
.C brief
, or
.C verbose.
.IP
Specifies the group of attributes you want displayed for the
specified job, queue, or printer.
.PP
.C style\f2=StyleName
.ft
.IP
Where \f2StyleName
.ft
can be
.C column 
,
.C line.
.IP
Specifies the format in which you want the attributes displayed.
.PP
.SS Object Attributes      
.PP
There are no object attributes for this command.
.PP
.SS Arguments
The argument value identifies the specific object the command applies to.
If multiple objects are specified, all must be of the same class and each
instance must be separated by one or more spaces on the command line.
.PP
Valid argument values for the 
.CR pdresubmit 
command are:
.PP
.TP
\f2JobId\f4     
Specifies the job to be resubmitted as determined by a local or
global job identifier for your own print jobs, or a global job
identifier for another user's print job, if you are authorized 
to do so.
.PP
.TP
\f2[ServerName:]PrinterName\f4
Resubmits all jobs that are currently submitted to the indicated
logical printer.
.PP
.TP
\f2[ServerName:]QueueName\f4
Resubmits all jobs that are currently in the specified queue.
.PP
.SH EXAMPLES
1.  To resubmit jobs 3828PP:1098 and 3828PP:1099 to 
logical printer localLP, enter:
.PP
.C pdresubmit -p localLP 3828PP:1098 3828PP:1099
.PP
2.  To resubmit all jobs submitted to logical printer DeptLP1 to logical
printer localLP, enter:
.PP
.C pdresubmit -p localLP -c printer DeptLP1
.PP
.SH SEE ALSO
pdclean(1), pdcreate(1), pddelete(1), pddisable(1), pdenable(1), pdls(1), pdmod(1),
pdpause(1), pdpr(1), pdpromote(1), pdq(1), pdresume(1), pdrm(1), pdset(1),
pdshutdown(1)
.PP
.SH STANDARDS CONFORMANCE
.CR pdresubmit ": POSIX 1387.4"
.\" index@\f4pdresubmit\f1 \- resubmits previously submitted print jobs@@@\f3pdresubmit(1)\f1
.\" index@\f1resubmits previously submitted print jobs@@@\f3pdresubmit(1)\f1
.\" index@\f1HP Distributed Printer System, resubmits previously submitted print jobs@@@\f3pdresubmit(1)\f1
.\"
.\" toc@\f3pdresubmit(1)\f1:\0\0\f4pdresubmit\f1@@@resubmits previously submitted print jobs
.\"
.\"
.\"
