cancel man page

cancel — cancel jobs


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


The cancel command cancels print jobs. If no destination or id is specified, the currently printing job on the default destination is canceled.


The following options are recognized by cancel:

Cancel all jobs on the named destination, or all jobs on all destinations if none is provided.
Forces encryption when connecting to the server.
-h hostname[:port]
Specifies an alternate server.
-U username
Specifies the username to use when connecting to the server.
-u username
Cancels jobs owned by username.
Deletes job data files in addition to canceling.

Conforming to

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.


Cancel the current print job:


Cancel job "myprinter-42":

cancel myprinter-42

Cancel all jobs:

cancel -a


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

cupsd.conf(5), lp(1), lpmove(8), lpstat(1), CUPS Online Help (http://localhost:631/help)

Referenced By

cups(1), cupsaccept(8), cupsenable(8), lp(1), lpc(8), lpc-cups(8), lp-cups(1), lpmove(8), lpoptions(1), lpq(1), lpq-cups(1), lpr(1), lpr-cups(1), lprm(1), lprm-cups(1), lpstat(1), lpstat-cups(1).

Explore man page connections for cancel(1).

CUPS 15 April 2014