• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/DOCS/LPRng-Reference-Multipart/
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4  <head>
5    <meta name="generator" content="HTML Tidy, see www.w3.org">
6    <title>lprm - Job Removal Program</title>
7    <meta name="GENERATOR" content=
8    "Modular DocBook HTML Stylesheet Version 1.7">
9    <link rel="HOME" title=" LPRng Reference Manual" href=
10    "index.htm">
11    <link rel="PREVIOUS" title=
12    "Configuring Format and Displayed Information" href=
13    "x4619.htm">
14    <link rel="NEXT" title="lprm Job Selection" href="x4719.htm">
15  </head>
16
17  <body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link=
18  "#0000FF" vlink="#840084" alink="#0000FF">
19    <div class="NAVHEADER">
20      <table summary="Header navigation table" width="100%" border=
21      "0" cellpadding="0" cellspacing="0">
22        <tr>
23          <th colspan="3" align="center">LPRng Reference Manual: 5
24          Sep 2003 (For LPRng-3.8.22)</th>
25        </tr>
26
27        <tr>
28          <td width="10%" align="left" valign="bottom"><a href=
29          "x4619.htm" accesskey="P">Prev</a></td>
30
31          <td width="80%" align="center" valign="bottom">
32          </td>
33
34          <td width="10%" align="right" valign="bottom"><a href=
35          "x4719.htm" accesskey="N">Next</a></td>
36        </tr>
37      </table>
38      <hr align="LEFT" width="100%">
39    </div>
40
41    <div class="CHAPTER">
42      <h1><a name="LPRM"></a>Chapter 8. <b class=
43      "APPLICATION">lprm</b> - Job Removal Program</h1>
44
45      <div class="TOC">
46        <dl>
47          <dt><b>Table of Contents</b></dt>
48
49          <dt>8.1. <a href="lprm.htm#AEN4713"><b class=
50          "APPLICATION">lprm</b> Queue Selection (lprm -Pprinter,
51          lprm -a)</a></dt>
52
53          <dt>8.2. <a href="x4719.htm"><b class=
54          "APPLICATION">lprm</b> Job Selection</a></dt>
55        </dl>
56      </div>
57
58      <p>The <b class="APPLICATION">lprm</b> program is used to
59      remove jobs from a print queue. You can obtain the available
60      options by using:</p>
61
62      <div class="INFORMALEXAMPLE">
63        <a name="AEN4709"></a>
64<pre class="SCREEN">
65    <samp class="PROMPT">h4: {307} %</samp> <kbd class=
66"USERINPUT">lprm -=</kbd>
67    lprm: Illegal option '='
68     usage: lprm [-A] [-a | -Pprinter] [-Ddebuglevel] (jobid|user|'all')*
69      -a           - all printers
70      -A           - use authentication
71      -Pprinter    - printer (default PRINTER environment variable)
72      -Uuser       - impersonate this user (root or privileged user only)
73      -Ddebuglevel - debug level
74      -V           - show version information
75      user           removes user jobs
76      all            removes all jobs
77      jobid          removes job number jobid
78     Example:
79        'lprm -Plp 30' removes job 30 on printer lp
80        'lprm -a'      removes all your jobs on all printers
81        'lprm -a all'  removes all jobs on all printers
82      Note: lprm removes only jobs for which you have removal permission
83</pre>
84      </div>
85      <br>
86      <br>
87
88      <div class="SECT1">
89        <h1 class="SECT1"><a name="AEN4713">8.1. <b class=
90        "APPLICATION">lprm</b> Queue Selection (lprm -Pprinter,
91        lprm -a)</a></h1>
92
93        <p>If no queue is specified, then the default queue is
94        used, with <var class="LITERAL">-Pprinter@host</var>
95        causing a direct connection to the named host. The <var
96        class="LITERAL">-a</var> literal selects all queues.</p>
97      </div>
98    </div>
99
100    <div class="NAVFOOTER">
101      <hr align="LEFT" width="100%">
102
103      <table summary="Footer navigation table" width="100%" border=
104      "0" cellpadding="0" cellspacing="0">
105        <tr>
106          <td width="33%" align="left" valign="top"><a href=
107          "x4619.htm" accesskey="P">Prev</a></td>
108
109          <td width="34%" align="center" valign="top"><a href=
110          "index.htm" accesskey="H">Home</a></td>
111
112          <td width="33%" align="right" valign="top"><a href=
113          "x4719.htm" accesskey="N">Next</a></td>
114        </tr>
115
116        <tr>
117          <td width="33%" align="left" valign="top">Configuring
118          Format and Displayed Information</td>
119
120          <td width="34%" align="center" valign="top">&nbsp;</td>
121
122          <td width="33%" align="right" valign="top"><b class=
123          "APPLICATION">lprm</b> Job Selection</td>
124        </tr>
125      </table>
126    </div>
127  </body>
128</html>
129
130