lpalt

lpalt

The lpalt program alters various parameters of an existing request, such as request priority, number of copies, and so forth. The request must reside on the local system and must not be actively printing. The lpalt runstring is as follows:

CI> lpalt id [-option] [-option] ...

where:

 

id

is the request ID of the request to be altered. The request must be present on

 

the local system; remote requests cannot be altered. You must be a superuser

 

to alter a request that you do not own.

option

is one or more of the valid options described in the following section.

Options

 

-ddest

Change the destination of the request, either a printer name or the name of a class

 

of printers. If a class name is given, the files are printed on the first available

 

printer that is a member of that class. If this option is given, then a new request ID

 

is assigned to the request. The new request ID is printed to the terminal and

 

returned in $RETURN_S. The new request ID is a local request ID, even if the

 

altered request originated on a remote host. For example:

 

CI> lpalt ice-9@bokonon -dplan

 

new request id is plan-9

-m

Send mail to the user that created the request when the request is printed. The

 

system on which the request is printed must support Internet mail; on the HP 1000

 

this is provided by the Mail/1000 system.

-ncopies

Change the number of copies to print of each file. copies must be an integer from 1

 

to 32767.

-ooption

Change the interfacespecific options to be passed to the printer interface used to

 

print the request. More than one -o option may be given to pass more than one

 

option. Any existing options on the request are removed. See the documentation

 

on the destination printer interface program or routine for the options that it

 

supports.

 

Because RTE case folds the lp runstring by default, and because most options are

 

lowercase, lpalt reverses the upper or lowercase of each character in the option.

 

For example, if a printer interface accepts option •BSDp", the lpalt runstring

 

from CI might be:

 

CI> lpalt mach-5 -o‘bsd‘p

-ppriority

Change the priority of the request, an integer value from 0 to 7. Higher values

 

indicate higher priority for the request. This value is used in determining the order

 

in which requests are printed.

222 LP Spool System