HPlogo HP-UX Reference Volume 1 of 5 > p

pdresubmit(1)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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 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.

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, or verbose.

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.

-X AttributesFileName

The name of a file containing attribute-value pairs to be inserted at the current point in the command line. This option is equivalent to specifying the command-attribute attributes.

Command Attributes

You can specify these attributes in a -x "AttributeValuePairs" string or in an attributes file designated with the -X AttributesFileName option.

attributes=AttributesFileName

Cause the designated attributes file to be read.

class=ObjectClass

Specify the ObjectClass that you want for this command. ObjectClass can be job(default), queue, or printer. Within the valid classes, printer only applies to logical printers.

headings=Boolean

Specify whether or not you want headings displayed for the requested attributes. The value can be true or false.

requested-attributes=RequestedAttributes

Specify the group of attributes that you want displayed for the job, queue, or printer.

ObjectAttribute can be none(default), brief, or verbose.

style=StyleName

Specify the format in which you want the attributes displayed. StyleName can be column or line.

Object Attributes

There are no object attributes for this command.

Arguments

Use the argument value to identify the specific object that you want to resubmit. If you specify multiple objects, all must be of the same class and each must be separated by one or more spaces on the command line.

You must use the following argument:

[ServerName:]TargetLogicalPrinterName

Specify the name of the new logical printer.

You must use one of the following arguments with the pdresubmit command:

LocalJobId or GlobalJobId

Specify the local or global job identifier for the print job to resubmit. The global job identifier can be for another user's print job if you are authorized to do so.

[ServerName:]PrinterName

Resubmit all jobs that are currently submitted to the indicated logical printer.

[ServerName:]QueueName

Resubmit all jobs that are currently in the specified queue.

EXAMPLES

1. To resubmit jobs 3828PP:1098 and 3828PP:1099 to logical printer localLP, enter:

pdresubmit localLP 3828PP:1098 3828PP:1099

2. To resubmit all jobs submitted to logical printer DeptLP1 to logical printer localLP, enter:

pdresubmit localLP -c printer DeptLP1

STANDARDS CONFORMANCE

pdresubmit: POSIX 1387.4

© Hewlett-Packard Development Company, L.P.