Linux Commands Examples

A great documentation place for Linux commands


cancel jobs

see also : lp - lpmove - lpstat


cancel [ -E ] [ -U username ] [ -a ] [ -h hostname[:port] ] [ -u username ] [ id ] [ destination ] [ destination-id ]

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 !


cancel cancels existing print jobs. The -a option will remove all jobs from the specified destination.


The following options are recognized by cancel:


Forces encryption when connecting to the server.

-U username

Specifies the username to use when connecting to the server.


Cancel all jobs on the named destination, or all jobs on all destinations if none is provided.

-h hostname[:port]

Chooses an alternate server.

-u username

Cancels jobs owned by username.


Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are not case-sensitive.


Copyright 2007-2013 by Apple Inc.


Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs operations in cupsd.conf(5).

see also

lp , lpmove , lpstat ,

How can this site be more helpful to YOU ?

give  feedback