1<!DOCTYPE HTML> 2<html> 3<!-- SECTION: Man Pages --> 4<head> 5 <link rel="stylesheet" type="text/css" href="../cups-printable.css"> 6 <title>cancel(1)</title> 7</head> 8<body> 9<h1 class="title">cancel(1)</h1> 10<h2 class="title"><a name="NAME">Name</a></h2> 11cancel - cancel jobs 12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2> 13<b>cancel</b> 14[ 15<b>-h</b> 16<i>hostname[:port]</i> 17] [ 18<b>-E</b> 19] [ 20<b>-U</b> 21<i>username</i> 22] [ 23<b>-a</b> 24] [ 25<b>-u</b> 26<i>username</i> 27] [ 28<b>-x</b> 29] [ 30<i>id</i> 31] [ 32<i>destination</i> 33] [ 34<i>destination-id</i> 35] 36<h2 class="title"><a name="DESCRIPTION">Description</a></h2> 37The <b>cancel</b> command cancels print jobs. 38If no <i>destination</i> or <i>id</i> is specified, the currently printing job on the default destination is canceled. 39<h2 class="title"><a name="OPTIONS">Options</a></h2> 40The following options are recognized by <b>cancel</b>: 41<dl class="man"> 42<dt><b>-a</b> 43<dd style="margin-left: 5.0em">Cancel all jobs on the named destination, or all jobs on all 44destinations if none is provided. 45<dt><b>-E</b> 46<dd style="margin-left: 5.0em">Forces encryption when connecting to the server. 47<dt><b>-h </b><i>hostname</i>[<i>:port</i>] 48<dd style="margin-left: 5.0em">Specifies an alternate server. 49Note: This option must occur before all others. 50<dt><b>-U </b><i>username</i> 51<dd style="margin-left: 5.0em">Specifies the username to use when connecting to the server. 52<dt><b>-u </b><i>username</i> 53<dd style="margin-left: 5.0em">Cancels jobs owned by <i>username</i>. 54<dt><b>-x</b> 55<dd style="margin-left: 5.0em">Deletes job data files in addition to canceling. 56</dl> 57<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2> 58Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are <i>not</i> case-sensitive. 59<h2 class="title"><a name="EXAMPLES">Examples</a></h2> 60Cancel the current print job: 61<pre class="man"> 62 cancel 63 64</pre> 65Cancel job "myprinter-42": 66<pre class="man"> 67 cancel myprinter-42 68 69</pre> 70Cancel all jobs: 71<pre class="man"> 72 cancel -a 73</pre> 74<h2 class="title"><a name="NOTES">Notes</a></h2> 75Administrators wishing to prevent unauthorized cancellation of jobs via the <i>-u</i> option should require authentication for Cancel-Jobs operations in 76<a href="man-cupsd.conf.html?TOPIC=Man+Pages"><b>cupsd.conf</b>(5).</a> 77<h2 class="title"><a name="SEE_ALSO">See Also</a></h2> 78<a href="man-cupsd.conf.html?TOPIC=Man+Pages"><b>cupsd.conf</b>(5),</a> 79<a href="man-lp.html?TOPIC=Man+Pages"><b>lp</b>(1),</a> 80<a href="man-lpmove.html?TOPIC=Man+Pages"><b>lpmove</b>(8),</a> 81<a href="man-lpstat.html?TOPIC=Man+Pages"><b>lpstat</b>(1),</a> 82CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>) 83<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> 84Copyright © 2020-2024 by OpenPrinting. 85 86</body> 87</html> 88