This file is indexed.

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

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
<!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 HTML5 for Linux version 5.2.0">
  <title>Configuring Format and Displayed Information</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="lpq - Status Monitoring Program " href=
  "lpq.htm">
  <link rel="PREVIOUS" title="Job Taking Too Long - Stalled " href=
  "stalledtime.htm">
  <link rel="NEXT" title="lprm - Job Removal Program " href=
  "lprm.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=
        "stalledtime.htm" accesskey="P">Prev</a></td>
        <td width="80%" align="center" valign="bottom">Chapter 7.
        <b class="APPLICATION">lpq</b> - Status Monitoring
        Program</td>
        <td width="10%" align="right" valign="bottom"><a href=
        "lprm.htm" accesskey="N">Next</a></td>
      </tr>
    </table>
    <hr align="left" width="100%">
  </div>
  <div class="SECT1">
    <h1 class="SECT1"><a name="AEN4631" id="AEN4631">7.7.
    Configuring Format and Displayed Information</a></h1>
    <p>The following sections describe options that are used by the
    <b class="APPLICATION">lpd</b> server to control how it will
    return status information to a <b class="APPLICATION">lpq</b>
    request.</p>
    <div class="SECT2">
      <h2 class="SECT2"><a name="CLASSINSTATUS" id=
      "CLASSINSTATUS">7.7.1. Display Class Information</a></h2>
      <p>Options used:</p>
      <ul>
        <li>
          <p><tt class="LITERAL">class_in_status</tt> FLAG
          <span class="emphasis"><i class="EMPHASIS">show class
          name in status</i></span></p>
        </li>
      </ul>
      <p>Setting the <tt class="LITERAL">class_in_status</tt>
      option causes the class name rather than priority to be
      displayed in the status information.</p>
    </div>
    <div class="SECT2">
      <h2 class="SECT2"><a name="REVERSELPQFORMAT" id=
      "REVERSELPQFORMAT">7.7.2. Reverse Short and Long <b class=
      "APPLICATION">lpq</b> Formats</a></h2>
      <p>Options used:</p>
      <ul>
        <li>
          <p><tt class="LITERAL">reverse_lpq_format=</tt> FLAG
          <span class="emphasis"><i class="EMPHASIS">reverse
          <b class="APPLICATION">lpq</b> status format for
          specified remote systems</i></span></p>
        </li>
      </ul>
      <p>Various Solaris and other System V implementations support
      an RFC1179 interface to remote printers. Unfortunately, there
      is a problem in that when they send a status request, the
      status format is reversed. That is, when LONG status format
      is wanted, they send SHORT, and vice versa.</p>
      <p>The <tt class="LITERAL">reverse_lpq_format=</tt> specifies
      a list of printers or IP addresses for which the <b class=
      "APPLICATION">lpd</b> server will return LONG status when
      SHORT is requested, and vice versa. For example:</p>
      <div class="INFORMALEXAMPLE">
        <a name="AEN4660" id="AEN4660"></a>
        <pre class="SCREEN">
        reverse_lpq_format=*.eng.com,130.192.0.0/16</pre>
      </div>
      <p>will cause hosts whose Fully Qualified Domain Name (FQDN)
      ends in <tt class="FILENAME">eng.com</tt> or from subnet
      <tt class="LITERAL">130.192.0.0</tt> to have reversed status
      returned.</p>
    </div>
    <div class="SECT2">
      <h2 class="SECT2"><a name="SHORTSTATUS" id=
      "SHORTSTATUS">7.7.3. Status Line Length and Line
      Count</a></h2>
      <p>Options used:</p>
      <ul>
        <li>
          <p><tt class=
          "LITERAL">return_short_status=</tt><span class=
          "emphasis"><i class="EMPHASIS">return short <b class=
          "APPLICATION">lpq</b> status for specified remote
          systems</i></span></p>
        </li>
        <li>
          <p><tt class=
          "LITERAL">short_status_length=</tt><span class=
          "emphasis"><i class="EMPHASIS">short <b class=
          "APPLICATION">lpq</b> status length in
          lines</i></span></p>
        </li>
      </ul>
      <p>In order to be compatible with non-<b class=
      "APPLICATION">LPRng</b> client programs, some administrators
      would like <b class="APPLICATION">lpd</b> to return a short
      or brief status to normal status queries.</p>
      <p>The <tt class="LITERAL">return_short_status=</tt>
      specifies a list of printers or IP addresses for which the
      <b class="APPLICATION">lpd</b> server will return an
      abbreviated status when LONG status is requested. For
      example:</p>
      <div class="INFORMALEXAMPLE">
        <a name="AEN4685" id="AEN4685"></a>
        <pre class="SCREEN">
        return_short_status=*.eng.com,130.192.0.0/16
short_status_length#3</pre>
      </div>
      <p>will cause hosts whose Fully Qualified Domain Name (FQDN)
      ends in <tt class="FILENAME">eng.com</tt> or from subnet
      <tt class="LITERAL">130.192.0.0</tt> to get only 3 lines of
      detailed status returned.</p>
    </div>
    <div class="SECT2">
      <h2 class="SECT2"><a name="FORCELPQSTATUS" id=
      "FORCELPQSTATUS">7.7.4. <b class="APPLICATION">lpq</b> Status
      Format Determined by Requesting Host Address</a></h2>
      <p>Options used:</p>
      <ul>
        <li>
          <p><tt class="LITERAL">force_lpq_status=</tt><span class=
          "emphasis"><i class="EMPHASIS">force <b class=
          "APPLICATION">lpq</b> status format for specified remote
          systems</i></span></p>
        </li>
      </ul>
      <p>In order to be compatible with non-<b class=
      "APPLICATION">LPRng</b> client programs which are totally
      unpredictable, this allows the administrator to specify the
      format for <b class="APPLICATION">lpq</b> status when
      requests arrive.</p>
      <p>The <tt class="LITERAL">force_lpq_status=</tt> specifies a
      list of formats and printers or IP addresses for which the
      <b class="APPLICATION">lpd</b> server will return status in
      the specified format. The entry has the format <tt class=
      "LITERAL">KEY=list;KEY=list...</tt> where <acronym class=
      "ACRONYM">KEY</acronym> is <tt class="LITERAL">s</tt> for
      short and <tt class="LITERAL">l</tt> for long format, and
      list is a list of hosts or IP addresses. For example:</p>
      <div class="INFORMALEXAMPLE">
        <a name="AEN4710" id="AEN4710"></a>
        <pre class="SCREEN">
        force_lpq_status=s=pc*.eng.com,130.192.12.0/24,l=sun*.eng.com</pre>
      </div>
      <p>will cause hosts whose Fully Qualified Domain Name (FQDN)
      matches <tt class="FILENAME">pc*eng.com</tt> or from subnet
      <tt class="LITERAL">130.192.12.0</tt> to get short status
      returned and hosts which match <tt class=
      "FILENAME">sun*.eng.com</tt> get long status.</p>
    </div>
  </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=
        "stalledtime.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=
        "lprm.htm" accesskey="N">Next</a></td>
      </tr>
      <tr>
        <td width="33%" align="left" valign="top">Job Taking Too
        Long - Stalled</td>
        <td width="34%" align="center" valign="top"><a href=
        "lpq.htm" accesskey="U">Up</a></td>
        <td width="33%" align="right" valign="top"><b class=
        "APPLICATION">lprm</b> - Job Removal Program</td>
      </tr>
    </table>
  </div>
  <p align="center"></p>
</body>
</html>