|
Quick links About
lprm Syntax Examples
Related commands Linux / Unix main page
About lprm
Removes print requests from the print queue.
Syntax
lprm [ -P destination ] [ - ] [ request-ID] [user]
| -P destination |
The name of the printer or class of printers (see
lpadmin) from which to remove print requests. Specify destination using atomic, POSIX-style
(server:destination), or Federated Naming Service (FNS) (.../service/printer/...) names. |
| - |
If a user specifies this option, removes all print requests owned by that user. If a super-user specifies this option, removes all requests in the print queue. Job ownership is determined by the user's login name and host name on the machine from which lpr was executed. See NOTES. |
| request-ID |
Removes a specific print request. Specify request-ID as the job number (Job) associated with a print request and reported by lpq. See
lpq. |
| user |
Removes print requests associated with a specific user. Specify user as a valid user name. This option can only be used by a super-user. |
Examples
lprm -P killtree 385 - removes request-ID 385
from destination killtree.
Related commands
lp lpc
lpq lpr
lpstat lpadmin
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|