Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix lprm command

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 destinationThe 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-IDRemoves a specific print request. Specify request-ID as the job number (Job) associated with a print request and reported by lpq. See lpq.
userRemoves 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

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope