Linux Commands Examples

A great documentation place for Linux commands


cancel print jobs

see also : cancel - lp - lpq - lpr - lpstat


lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ - ] [ job ID(s) ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


lprm cancels print jobs that have been queued for printing. If no arguments are supplied, the current job on the default destination is cancelled. You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs.


The lprm command supports the following options:


Forces encryption when connecting to the server.

-P destination[/instance]

Specifies the destination printer or class.

-U username

Specifies an alternate username.

-h server[:port]

Specifies an alternate server.


The CUPS version of lprm is compatible with the standard Berkeley lprm command.


Copyright 2007-2013 by Apple Inc.

see also

cancel , lp , lpq , lpr , lpstat ,

How can this site be more helpful to YOU ?

give  feedback