
l
lp(1) | lp(1) |
| on your system, see the interface script for the printer name in the |
| /etc/lp/interface directory. |
Set the priority of the print request. priority must be in the range 0 (lowest priority) to 7 | |
| (highest priority). The priority is used to select the next spooled ®le for the targeted |
| printer or class of printers. If the priority is less than the fence, the minimum priority set |
| for the printer, the print request is deferred until the fence is lowered or the priority is |
| raised. The default for a printer queue is the default priority set by the lpadmin or |
| lpfence command (see lpadmin(1M) and lpsched(1M)). The default for a class queue is |
| the highest default priority among printers in the class. |
Suppress standard output messages from lp such as "request id is ...". Error mes- | |
| sages are still displayed on standard error. |
Print title on the banner page of the output. | |
Write a message to the user's terminal after the request has been printed. If the user is | |
| not logged in or (for remote printing) if rlpdaemon (see rlpdaemon(1M)) is not running |
| on the user's local system, mail will be sent instead. |
lpalt Command
The lpalt command alters a request made by a previous lp command, if it is not currently printing. (To requeue a currently printing request, use the disable command (see enable(1)) to stop the printer.)
lpalt Options
lpalt recognizes the following options and arguments, which can be speci®ed in any order. Blanks are not permitted between a keyletter and its argument.
id | Speci®es the request to be altered. id is a request ID returned by lp or lpalt. |
Requeue the request to the named printer or class dest. A new unique request ID is written | |
| to standard output. |
Alter only local requests. | |
Send mail upon normal completion of the print request. | |
Change the number of copies to number. | |
Specify a | |
| the |
| are deleted. |
Change the request's priority to priority. | |
Suppress standard output messages from lpalt such as "request id is ...". Error | |
| messages are still displayed on standard error. |
Change the title on the banner page of the output. | |
Write a message to the user's terminal after the request has been printed. If the user is | |
| not logged in or (for remote printing) if rlpdaemon (see rlpdaemon(1M)). is not running |
| on the user's local system, mail will be sent instead. |
cancel Command
The cancel command cancels requests that were made with the lp command, even if they are currently printing. At least one id or printer must be speci®ed.
The cancellation of a request that is currently printing frees the printer to print its next available request.
cancel Options and Arguments
cancel recognizes the following options and arguments, which can be speci®ed in any order. Blanks are not permitted between a keyletter and its argument.
id ... | Speci®es one or more requests. id is a request ID returned by lp or lpalt. |
printer ... | Speci®es one or more printers. printer is the name of a printer, not a class. Either cancel |
| the request that is currently printing on each printer, or, if an |
| speci®ed, specify the printer on which to perform the corresponding operation. |
Section 1−470 | − 2 − |