Greatly simplify the man page handling.
[thirdparty/cups.git] / doc / help / man-cancel.html
CommitLineData
c277f98c 1<!DOCTYPE HTML>
94436c5a
MS
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>
c277f98c 13<b>cancel</b>
7131e285 14[
e94cac03 15<b>-E</b>
7131e285 16] [
e94cac03 17<b>-U</b>
c277f98c 18<i>username</i>
7131e285 19] [
e94cac03 20<b>-a</b>
7131e285 21] [
e94cac03 22<b>-h</b>
c277f98c 23<i>hostname[:port]</i>
7131e285 24] [
e94cac03 25<b>-u</b>
c277f98c 26<i>username</i>
7131e285 27] [
e94cac03 28<b>-x</b>
7131e285 29] [
c277f98c
MS
30<i>id</i>
31] [
32<i>destination</i>
33] [
34<i>destination-id</i>
35]
94436c5a 36<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
e94cac03
MS
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.
94436c5a 39<h2 class="title"><a name="OPTIONS">Options</a></h2>
7131e285 40The following options are recognized by <b>cancel</b>:
2909c66c 41<dl class="man">
7131e285
MS
42<dt><b>-a</b>
43<dd style="margin-left: 5.0em">Cancel all jobs on the named destination, or all jobs on all
94436c5a 44destinations if none is provided.
7131e285
MS
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.
49<dt><b>-U </b><i>username</i>
50<dd style="margin-left: 5.0em">Specifies the username to use when connecting to the server.
51<dt><b>-u </b><i>username</i>
52<dd style="margin-left: 5.0em">Cancels jobs owned by <i>username</i>.
53<dt><b>-x</b>
54<dd style="margin-left: 5.0em">Deletes job data files in addition to canceling.
2909c66c 55</dl>
7131e285
MS
56<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
57Unlike 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.
58<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
59Cancel the current print job:
60<pre class="man">
61
62 cancel
63
64</pre>
65Cancel job "myprinter-42":
66<pre class="man">
67
68 cancel myprinter-42
69
70</pre>
71Cancel all jobs:
72<pre class="man">
73
74 cancel -a
75</pre>
94436c5a 76<h2 class="title"><a name="NOTES">Notes</a></h2>
7131e285 77Administrators wishing to prevent unauthorized cancellation of jobs via the <i>-u</i> option should require authentication for Cancel-Jobs operations in
87030afb 78<b>cupsd.conf</b>(5).
94436c5a 79<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
87030afb
MS
80<b>cupsd.conf</b>(5),
81<b>lp</b>(1),
82<b>lpmove</b>(8),
83<b>lpstat</b>(1),
7131e285 84CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
94436c5a 85<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
87030afb 86Copyright &copy; 2007-2019 by Apple Inc.
94436c5a
MS
87
88</body>
89</html>