This file is indexed.

/usr/share/doc/lprng-doc/LPRng-Reference-Multipart/lpcreread.htm is in lprng-doc 3.8.A~rc2-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
  <meta name="generator" content=
  "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org">

  <title>LPC Requests</title>
  <meta name="GENERATOR" content=
  "Modular DocBook HTML Stylesheet Version 1.79">
  <link rel="HOME" title=" LPRng Reference Manual" href=
  "index.htm">
  <link rel="UP" title="RFC 1179 - Line Printer Daemon Protocol "
  href="rfc1179ref.htm">
  <link rel="PREVIOUS" title="lprm Requests" href="x10550.htm">
  <link rel="NEXT" title="Block Job Transfer" href=
  "sendblockformat.htm">
</head>

<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#840084" alink="#0000FF">
  <div class="NAVHEADER">
    <table summary="Header navigation table" width="100%" border=
    "0" cellpadding="0" cellspacing="0">
      <tr>
        <th colspan="3" align="center">LPRng Reference Manual: 24
        Sep 2004 (For LPRng-3.8.28)</th>
      </tr>

      <tr>
        <td width="10%" align="left" valign="bottom"><a href=
        "x10550.htm" accesskey="P">Prev</a></td>

        <td width="80%" align="center" valign="bottom">Chapter 19.
        RFC 1179 - Line Printer Daemon Protocol</td>

        <td width="10%" align="right" valign="bottom"><a href=
        "sendblockformat.htm" accesskey="N">Next</a></td>
      </tr>
    </table>
    <hr align="left" width="100%">
  </div>

  <div class="SECT1">
    <h1 class="SECT1"><a name="LPCREREAD" id="LPCREREAD">19.8. LPC
    Requests</a></h1>

    <p><b class="APPLICATION">LPRng</b> has extended the RFC1179
    protocol to allow queue and printer control commands to be sent
    to the <b class="APPLICATION">lpd</b> server. The format of
    these commands are:</p>

    <div class="INFORMALEXAMPLE">
      <a name="AEN10571" id="AEN10571"></a>
      <pre class="SCREEN">
\006printer user key [options]
</pre>
    </div>

    <p>The following commands are supported.</p>

    <div class="TABLE">
      <a name="LPCCOMMANDS" id="LPCCOMMANDS"></a>

      <p><b>Table 19-3. LPC Commands</b></p>

      <table border="1" frame="border" rules="all" class=
      "CALSTABLE">
        <col>
        <col>

        <thead>
          <tr>
            <th>Command</th>

            <th>Operation</th>
          </tr>
        </thead>

        <tbody>
          <tr>
            <td>Command</td>

            <td>Operation</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">active
            [printer[@host]]</tt></td>

            <td>check to see if server accepting connections</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">abort (printer[@host] |
            all)</tt></td>

            <td>terminate server process printing job</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">disable (printer[@host] |
            all)</tt></td>

            <td>disable queueing</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">debug (printer[@host] | all)
            debugparms</tt></td>

            <td>set debug level for printer</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">enable (printer[@host] |
            all)</tt></td>

            <td>enable queueing</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">hold (printer[@host] | all)
            (name[@host] | job | all)*</tt></td>

            <td>hold job</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">holdall (printer[@host] |
            all)</tt></td>

            <td>hold all jobs on</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">kill (printer[@host] |
            all)</tt></td>

            <td>stop and restart server</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">lpd [printer[@host]]</tt></td>

            <td>get <b class="APPLICATION">lpd</b> PID for
            server</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">lpq (printer[@host] | all)
            (name[@host] | job | all)*</tt></td>

            <td>invoke <b class="APPLICATION">lpq</b></td>
          </tr>

          <tr>
            <td><tt class="LITERAL">lprm (printer[@host] | all)
            (name[@host]|host|job| all)*</tt></td>

            <td>invoke <b class="APPLICATION">lprm</b></td>
          </tr>

          <tr>
            <td><tt class="LITERAL">move printer (user|jobid)*
            target</tt></td>

            <td>move jobs to new queue</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">noholdall (printer[@host] |
            all)</tt></td>

            <td>hold all jobs off</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">printcap (printer[@host] |
            all)</tt></td>

            <td>report printcap values</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">quit</tt></td>

            <td>exit LPC</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">redirect (printer[@host] | all)
            (printer@host | off )*</tt></td>

            <td>redirect jobs</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">release (printer[@host] | all)
            (name[@host] | job | all)*</tt></td>

            <td>release job</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">reread
            [printer[@host]]</tt></td>

            <td><b class="APPLICATION">lpd</b> reread database
            information</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">start (printer[@host] |
            all)</tt></td>

            <td>start printing</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">status (printer[@host] |
            all)</tt></td>

            <td>status of printers</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">stop (printer[@host] |
            all)</tt></td>

            <td>stop printing</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">topq (printer[@host] | all)
            (name[@host] | job | all)*</tt></td>

            <td>reorder job</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">defaultq</tt></td>

            <td>default queue for <b class="APPLICATION">lpd</b>
            server</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">local (printer | all)</tt></td>

            <td>client printcap and configuration information</td>
          </tr>

          <tr>
            <td><tt class="LITERAL">server (printer |
            all)</tt></td>

            <td>server printcap and configuration information</td>
          </tr>
        </tbody>
      </table>
    </div>

    <p>Many of these commands support extremely specialized
    operations for print queue management, However, the following
    are the most commonly used and are supported by the BSD
    <b class="APPLICATION">lpd</b> print spooling system as
    well:</p>

    <ul>
      <li>
        <p><tt class="LITERAL">start, stop, enable, disable</tt>
        Start and stop will start and stop printing for a specified
        queue. Enable and disable enable and disable sending and/or
        accepting jobs for the queue.</p>
      </li>

      <li>
        <p><tt class="LITERAL">abort, kill</tt> Abort will cause
        the process doing the actual job printing to be terminated.
        Kill does an abort, and then restarts the printing process.
        These commands are used to restart a queue printing after
        some disaster.</p>
      </li>

      <li>
        <p><tt class="LITERAL">topq</tt> Places selected jobs at
        the top of the print queue.</p>
      </li>

      <li>
        <p><tt class="LITERAL">status</tt> Shows a status display
        of the print spools on the server.</p>
      </li>
    </ul>

    <p>The following commands are extensions to the basic set
    provided by the BSD <b class="APPLICATION">lpd</b> system.</p>

    <ul>
      <li>
        <p><tt class="LITERAL">lpq, lprm</tt> Invokes the lpq or
        lprm program from lpc. Useful when in the interactive
        mode.</p>
      </li>

      <li>
        <p><tt class="LITERAL">hold, holdall, release</tt> The hold
        command will cause the selected jobs to be held until
        released. The holdall jobs sets all jobs submitted to the
        queue to be held until released. The release command
        releases jobs for printing. If a job has had an error and
        is in the error state, the release command will cause it to
        be reprinted.</p>
      </li>

      <li>
        <p><tt class="LITERAL">move, redirect</tt> The move command
        will move selected jobs to the specified spool queue. The
        redirect command sends all jobs submitted to the queue to
        be sent to the specified queue.</p>
      </li>

      <li>
        <p><tt class="LITERAL">active, lpd, reread</tt> The active
        command will connect to the server for the printer. This is
        used to check to see if non-<b class=
        "APPLICATION">LPRng</b> print servers are active. The lpd
        command will connect to the server and get the process id
        (PID) of the <b class="APPLICATION">lpd</b> server. The
        reread command causes a SIGHUP signal to be sent to the lpd
        process, causing it to reread the <tt class=
        "FILENAME">lpd.conf</tt>, <tt class=
        "FILENAME">printcap</tt>, and <tt class=
        "FILENAME">lpd.perms</tt> files. This is done when
        configuration information has been modified and the
        administrator wants to have the server use the new
        information.</p>
      </li>

      <li>
        <p><tt class="LITERAL">debug</tt> This is a desperation
        facility for developers that allows dynamic enabling of
        debug information generation. Not normally used in general
        operation.</p>
      </li>

      <li>
        <p><tt class="LITERAL">local, server</tt> These commands
        will print out the configuration information in the local
        <tt class="FILENAME">lpd.conf</tt> file, as well as the
        printcap information for the specified printers; <tt class=
        "LITERAL">client</tt> prints what the <b class=
        "APPLICATION">LPRng</b> clients (<tt class="LITERAL">lpr,
        lpq, ...</tt>) would use while <tt class=
        "LITERAL">server</tt> prints what the <b class=
        "APPLICATION">LPRng</b> server (<b class=
        "APPLICATION">lpd</b>) would use if running on this host.
        This is an extremely useful diagnostic tool for
        administrators. Not normally used in general operation.</p>
      </li>
    </ul>
  </div>

  <div class="NAVFOOTER">
    <hr align="left" width="100%">

    <table summary="Footer navigation table" width="100%" border=
    "0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="33%" align="left" valign="top"><a href=
        "x10550.htm" accesskey="P">Prev</a></td>

        <td width="34%" align="center" valign="top"><a href=
        "index.htm" accesskey="H">Home</a></td>

        <td width="33%" align="right" valign="top"><a href=
        "sendblockformat.htm" accesskey="N">Next</a></td>
      </tr>

      <tr>
        <td width="33%" align="left" valign="top"><b class=
        "APPLICATION">lprm</b> Requests</td>

        <td width="34%" align="center" valign="top"><a href=
        "rfc1179ref.htm" accesskey="U">Up</a></td>

        <td width="33%" align="right" valign="top">Block Job
        Transfer</td>
      </tr>
    </table>
  </div>

  <p align="center"></p>
</body>
</html>