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>RFC1179 Protocol Extensions</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="Permissions and Authentication " href=
12    "permsref.htm">
13    <link rel="PREVIOUS" title="User Identification" href=
14    "x8974.htm">
15    <link rel="NEXT" title="Authentication Operations" href=
16    "auth.htm">
17  </head>
18
19  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
20  "#0000FF" vlink="#840084" alink="#0000FF">
21    <div class="NAVHEADER">
22      <table summary="Header navigation table" width="100%" border=
23      "0" cellpadding="0" cellspacing="0">
24        <tr>
25          <th colspan="3" align="center">LPRng Reference Manual: 5
26          Sep 2003 (For LPRng-3.8.22)</th>
27        </tr>
28
29        <tr>
30          <td width="10%" align="left" valign="bottom"><a href=
31          "x8974.htm" accesskey="P">Prev</a></td>
32
33          <td width="80%" align="center" valign="bottom">Chapter
34          17. Permissions and Authentication</td>
35
36          <td width="10%" align="right" valign="bottom"><a href=
37          "auth.htm" accesskey="N">Next</a></td>
38        </tr>
39      </table>
40      <hr align="LEFT" width="100%">
41    </div>
42
43    <div class="SECT1">
44      <h1 class="SECT1"><a name="AEN8980">17.9. RFC1179 Protocol
45      Extensions</a></h1>
46
47      <p>The RFC1179 protocol specifies that a <b class=
48      "APPLICATION">lpd</b> server command sent on a connection has
49      the form:</p>
50
51      <div class="INFORMALEXAMPLE">
52        <a name="AEN8984"></a>
53<pre class="SCREEN">
54    \nnn[additional fields]\n
55</pre>
56      </div>
57      <br>
58      <br>
59
60      <p><var class="LITERAL">\nnn</var> is a one octet (byte)
61      value with the following meaning:</p>
62
63      <div class="INFORMALEXAMPLE">
64        <a name="AEN8989"></a>
65<pre class="SCREEN">
66    REQ_START   1    start printer
67    REQ_RECV    2    transfer a printer job
68    REQ_DSHORT  3    print short form of queue status
69    REQ_DLONG   4    print long form of queue status
70    REQ_REMOVE  5    remove jobs
71</pre>
72      </div>
73      <br>
74      <br>
75
76      <p>The <b class="APPLICATION">LPRng</b> system extends the
77      protocol with the following additional types:</p>
78
79      <div class="INFORMALEXAMPLE">
80        <a name="AEN8993"></a>
81<pre class="SCREEN">
82    REQ_CONTROL 6    do control operation
83    REQ_BLOCK   7    transfer a block format print job
84    REQ_SECURE  8    do operation with authentication
85</pre>
86      </div>
87      <br>
88      <br>
89
90      <p>The REQ_CONTROL allows a remote user to send LPC commands
91      to the server. The REQ_BLOCK provides an alternate method to
92      transfer a job. Rather than transferring the control and data
93      files individually, this format transfers one file. The
94      REQ_AUTH provides a mechanism for providing an authentication
95      mechanism and is described in this document.</p>
96    </div>
97
98    <div class="NAVFOOTER">
99      <hr align="LEFT" width="100%">
100
101      <table summary="Footer navigation table" width="100%" border=
102      "0" cellpadding="0" cellspacing="0">
103        <tr>
104          <td width="33%" align="left" valign="top"><a href=
105          "x8974.htm" accesskey="P">Prev</a></td>
106
107          <td width="34%" align="center" valign="top"><a href=
108          "index.htm" accesskey="H">Home</a></td>
109
110          <td width="33%" align="right" valign="top"><a href=
111          "auth.htm" accesskey="N">Next</a></td>
112        </tr>
113
114        <tr>
115          <td width="33%" align="left" valign="top">User
116          Identification</td>
117
118          <td width="34%" align="center" valign="top"><a href=
119          "permsref.htm" accesskey="U">Up</a></td>
120
121          <td width="33%" align="right" valign="top">Authentication
122          Operations</td>
123        </tr>
124      </table>
125    </div>
126  </body>
127</html>
128
129