• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML>
2<html>
3<!-- SECTION: Man Pages -->
4<head>
5	<link rel="stylesheet" type="text/css" href="../cups-printable.css">
6	<title>lprm(1)</title>
7</head>
8<body>
9<h1 class="title">lprm(1)</h1>
10<h2 class="title"><a name="NAME">Name</a></h2>
11lprm - cancel print jobs
12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
13<b>lprm</b>
14[
15<b>-h </b><i>hostname</i>[<b>:</b><i>port</i>]
16] [
17<b>-E</b>
18] [
19<b>-U</b>
20<i>username</i>
21] [
22<b>-P</b>
23<i>destination</i>[<i>/instance</i>]
24] [
25<b>-</b>
26] [
27<i>job-id(s)</i>
28]
29<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
30<b>lprm</b>
31cancels print jobs that have been queued for printing.
32If no arguments are supplied, the current job on the default destination is canceled.
33You can specify one or more job ID numbers to cancel those jobs or use the <i>-</i> option to cancel all jobs.
34<h2 class="title"><a name="OPTIONS">Options</a></h2>
35The
36<b>lprm</b>
37command supports the following options:
38<dl class="man">
39<dt><b>-E</b>
40<dd style="margin-left: 5.0em">Forces encryption when connecting to the server.
41<dt><b>-P </b><i>destination</i>[<i>/instance</i>]
42<dd style="margin-left: 5.0em">Specifies the destination printer or class.
43<dt><b>-U </b><i>username</i>
44<dd style="margin-left: 5.0em">Specifies an alternate username.
45<dt><b>-h </b><i>server</i>[<i>:port</i>]
46<dd style="margin-left: 5.0em">Specifies an alternate server.
47Note: This option must occur before all others.
48</dl>
49<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
50The CUPS version of
51<b>lprm</b>
52is compatible with the standard Berkeley command of the same name.
53<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
54Cancel the current job on the default printer:
55<pre class="man">
56    lprm
57
58</pre>
59Cancel job 1234:
60<pre class="man">
61    lprm 1234
62
63</pre>
64Cancel all jobs:
65<pre class="man">
66    lprm -
67</pre>
68<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
69<a href="man-cancel.html?TOPIC=Man+Pages"><b>cancel</b>(1),</a>
70<a href="man-lp.html?TOPIC=Man+Pages"><b>lp</b>(1),</a>
71<a href="man-lpq.html?TOPIC=Man+Pages"><b>lpq</b>(1),</a>
72<a href="man-lpr.html?TOPIC=Man+Pages"><b>lpr</b>(1),</a>
73<a href="man-lpstat.html?TOPIC=Man+Pages"><b>lpstat</b>(1),</a>
74CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
75<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
76Copyright &copy; 2020-2024 by OpenPrinting.
77
78</body>
79</html>
80