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