NAME | SYNOPSIS | DESCRIPTION | OPTIONS | CONFORMING TO | EXAMPLES | NOTES | SEE ALSO | COPYRIGHT | COLOPHON |
|
|
cancel(1) OpenPrinting cancel(1)
cancel - cancel jobs
cancel [ -h hostname[:port] ] [ -E ] [ -U username ] [ -a ] [ -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: -a Cancel all jobs on the named destination, or all jobs on all destinations if none is provided. -E Forces encryption when connecting to the server. -h hostname[:port] Specifies an alternate server. Note: This option must occur before all others. -U username Specifies the username to use when connecting to the server. -u username Cancels jobs owned by username. -x Deletes job data files in addition to canceling.
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 Cancel job "myprinter-42": cancel myprinter-42 Cancel all jobs: cancel -a
The -a and -u username options require administrative access. These restrictions are part of the operation policies defined in the cupsd.conf(5) file for the "Cancel-Jobs" and "Cancel-My-Jobs" operations, respectively.
cupsd.conf(5), lp(1), lpmove(8), lpstat(1), CUPS Online Help (http://localhost:631/help)
Copyright © 2020-2024 by OpenPrinting.
This page is part of the CUPS (a standards-based, open source
printing system) project. Information about the project can be
found at ⟨https://github.com/openprinting/cups⟩. If you have a
bug report for this manual page, see
⟨https://github.com/OpenPrinting/cups/issues⟩. This page was
obtained from the project's upstream Git repository
⟨https://github.com/openprinting/cups⟩ on 2025-02-02. (At that
time, the date of the most recent commit that was found in the
repository was 2025-01-27.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
2024-09-16 CUPS cancel(1)
Pages that refer to this page: cups(1), lp(1), lpoptions(1), lpq(1), lpr(1), lprm(1), lpstat(1), cupsaccept(8), cupsenable(8), lpc(8), lpmove(8)