• 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 Requests</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="UP" title="RFC 1179 - Line Printer Daemon Protocol "
12    href="rfc1179ref.htm">
13    <link rel="PREVIOUS" title="lpq Requests" href="x10430.htm">
14    <link rel="NEXT" title="LPC Requests " href="lpcreread.htm">
15  </head>
16
17  <body class="SECT1" 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          "x10430.htm" accesskey="P">Prev</a></td>
30
31          <td width="80%" align="center" valign="bottom">Chapter
32          19. RFC 1179 - Line Printer Daemon Protocol</td>
33
34          <td width="10%" align="right" valign="bottom"><a href=
35          "lpcreread.htm" accesskey="N">Next</a></td>
36        </tr>
37      </table>
38      <hr align="LEFT" width="100%">
39    </div>
40
41    <div class="SECT1">
42      <h1 class="SECT1"><a name="AEN10453">19.7. <b class=
43      "APPLICATION">lprm</b> Requests</a></h1>
44
45      <p>The RFC1179 protocol specifies that <b class=
46      "APPLICATION">lprm</b> job removal requests can be sent to
47      the <b class="APPLICATION">lpd</b> server. The lpq requests
48      have the format:</p>
49
50      <div class="INFORMALEXAMPLE">
51        <a name="AEN10459"></a>
52<pre class="SCREEN">
53    \005printer user [id]* \n
54</pre>
55      </div>
56      <br>
57      <br>
58
59      <p>The <b class="APPLICATION">lpd</b> print server will
60      search the specified print queue and remove any job whose ID,
61      hostname, or user name information from the control file <var
62      class="LITERAL">A</var>, <var class="LITERAL">H</var>, or
63      <var class="LITERAL">P</var> fields match any of the id
64      values and for which the user has permission to perform a
65      removal operation. See <a href="permsref.htm">Permissions and
66      Authentication</a> for details.</p>
67
68      <p>Most RFC1179 compatible spoolers use the user information
69      in the request as the name of the user which spooled the job.
70      However, in a network environment this is extremely easy to
71      fabricate, and is at best a weak type of authentication.</p>
72    </div>
73
74    <div class="NAVFOOTER">
75      <hr align="LEFT" width="100%">
76
77      <table summary="Footer navigation table" width="100%" border=
78      "0" cellpadding="0" cellspacing="0">
79        <tr>
80          <td width="33%" align="left" valign="top"><a href=
81          "x10430.htm" accesskey="P">Prev</a></td>
82
83          <td width="34%" align="center" valign="top"><a href=
84          "index.htm" accesskey="H">Home</a></td>
85
86          <td width="33%" align="right" valign="top"><a href=
87          "lpcreread.htm" accesskey="N">Next</a></td>
88        </tr>
89
90        <tr>
91          <td width="33%" align="left" valign="top"><b class=
92          "APPLICATION">lpq</b> Requests</td>
93
94          <td width="34%" align="center" valign="top"><a href=
95          "rfc1179ref.htm" accesskey="U">Up</a></td>
96
97          <td width="33%" align="right" valign="top">LPC
98          Requests</td>
99        </tr>
100      </table>
101    </div>
102  </body>
103</html>
104
105