[4bf6a727] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[73ddd1a0] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[0f85be2] | 6 |
|
---|
[0aeb696] | 7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
| 8 | is usually right before the root user installation commands. Please
|
---|
| 9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
| 10 |
|
---|
| 11 | <!-- Use one of the two mentions below about a test suite,
|
---|
| 12 | delete the line that is not applicable. Of course, if the
|
---|
| 13 | test suite uses syntax other than "make check", revise the
|
---|
| 14 | line to reflect the actual syntax to run the test suite -->
|
---|
| 15 |
|
---|
| 16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
| 17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
| 18 |
|
---|
[73ddd1a0] | 19 | <!ENTITY LPRng-download-http "http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz">
|
---|
| 20 | <!ENTITY LPRng-download-ftp "ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-&LPRng-version;.tgz">
|
---|
[0f85be2] | 21 | <!ENTITY LPRng-md5sum "1b3a0abd291b260eab6087ac0e61ed84">
|
---|
| 22 | <!ENTITY LPRng-size "10.2 MB">
|
---|
| 23 | <!ENTITY LPRng-buildsize "71.8 MB">
|
---|
| 24 | <!ENTITY LPRng-time "0.42 SBU">
|
---|
[73ddd1a0] | 25 | ]>
|
---|
| 26 |
|
---|
[af01225] | 27 | <sect1 id="LPRng" xreflabel="LPRng-&LPRng-version;">
|
---|
[4bf6a727] | 28 | <?dbhtml filename="LPRng.html"?>
|
---|
| 29 |
|
---|
| 30 | <sect1info>
|
---|
| 31 | <othername>$LastChangedBy$</othername>
|
---|
| 32 | <date>$Date$</date>
|
---|
| 33 | </sect1info>
|
---|
| 34 |
|
---|
| 35 | <title>LPRng-&LPRng-version;</title>
|
---|
| 36 |
|
---|
| 37 | <indexterm zone="LPRng">
|
---|
| 38 | <primary sortas="a-LPRng">LPRng</primary>
|
---|
| 39 | </indexterm>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="package">
|
---|
| 42 | <title>Introduction to LPRng</title>
|
---|
| 43 |
|
---|
| 44 | <para>The <application>LPRng</application> package contains an enhanced,
|
---|
| 45 | extended and portable implementation of the Berkeley Line PRinter (LPR)
|
---|
| 46 | print spooler. This is useful for queuing print jobs.</para>
|
---|
| 47 |
|
---|
| 48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 49 | <itemizedlist spacing="compact">
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download (HTTP): <ulink url="&LPRng-download-http;"/></para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download (FTP): <ulink url="&LPRng-download-ftp;"/></para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Download MD5 sum: &LPRng-md5sum;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Download size: &LPRng-size;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Estimated disk space required: &LPRng-buildsize;</para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>Estimated build time: &LPRng-time;</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">LPRng Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d352a28] | 73 | <para role="optional"><xref linkend="openssl"/>,
|
---|
[4bf6a727] | 74 | <xref linkend="tcpwrappers"/>,
|
---|
| 75 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 76 | and <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
|
---|
| 77 |
|
---|
[977061b0] | 78 | <para condition="html" role="usernotes">User Notes:
|
---|
| 79 | <ulink url="&blfs-wiki;/lprng"/></para>
|
---|
| 80 |
|
---|
[4bf6a727] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of LPRng</title>
|
---|
| 85 |
|
---|
| 86 | <para>Install <application>LPRng</application> by running
|
---|
| 87 | the following commands:</para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/lprng \
|
---|
[0f85be2] | 90 | --sysconfdir=/etc --enable-shared &&
|
---|
[4bf6a727] | 91 | make</userinput></screen>
|
---|
[0f85be2] | 92 |
|
---|
[4bf6a727] | 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[0f85be2] | 94 |
|
---|
[4bf6a727] | 95 | <screen role="root"><userinput>make install
|
---|
[0f85be2] | 96 | install -v -d -m755 /usr/share/doc/lprng-&LPRng-version; &&
|
---|
| 97 | cp -v -R DOCS/* PrintingCookbook \
|
---|
[4bf6a727] | 98 | /usr/share/doc/lprng-&LPRng-version;</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="configuration">
|
---|
| 103 | <title>Configuring LPRng</title>
|
---|
| 104 |
|
---|
| 105 | <sect3 id="lprng-config">
|
---|
| 106 | <title>Config Files</title>
|
---|
| 107 |
|
---|
| 108 | <para><filename>/etc/printcap</filename> and
|
---|
| 109 | <filename>/etc/lpd/*</filename></para>
|
---|
| 110 |
|
---|
| 111 | <indexterm zone="LPRng lprng-config">
|
---|
| 112 | <primary sortas="e-etc-printcap">/etc/printcap</primary>
|
---|
| 113 | </indexterm>
|
---|
| 114 |
|
---|
| 115 | <indexterm zone="LPRng lprng-config">
|
---|
| 116 | <primary sortas="e-etc-lpd-star">/etc/lpd/*</primary>
|
---|
| 117 | </indexterm>
|
---|
| 118 |
|
---|
| 119 | </sect3>
|
---|
| 120 |
|
---|
| 121 | <sect3>
|
---|
| 122 | <title>Configuration Information</title>
|
---|
| 123 |
|
---|
| 124 | <para>There is no generic <filename>printcap</filename> for all printers.
|
---|
| 125 | A sample printcap is loaded into the <filename
|
---|
| 126 | class="directory">/etc</filename> directory which can be of some help.
|
---|
| 127 | Information is also available at <ulink url="http://www.lprng.org"/>,
|
---|
| 128 | <ulink url="http://www.linuxprinting.org"/> and the documentation
|
---|
| 129 | installed in <filename
|
---|
| 130 | class='directory'>/usr/share/doc/lprng-&LPRng-version;</filename>.</para>
|
---|
| 131 |
|
---|
| 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | <sect3 id="lprng-init">
|
---|
| 135 | <title>Boot Script</title>
|
---|
| 136 |
|
---|
| 137 | <para>The init script installed by <application>LPRng</application>
|
---|
| 138 | is not consistent with other BLFS scripts; therefore, install the
|
---|
| 139 | <filename>/etc/rc.d/init.d/lprng</filename> init script included in
|
---|
[5254d12] | 140 | the <xref linkend="bootscripts"/> package (as the
|
---|
[4bf6a727] | 141 | <systemitem class="username">root</systemitem> user):</para>
|
---|
| 142 |
|
---|
| 143 | <indexterm zone="LPRng lprng-init">
|
---|
| 144 | <primary sortas="f-lprng">lprng</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 |
|
---|
| 147 | <screen role="root"><userinput>make install-lprng</userinput></screen>
|
---|
| 148 |
|
---|
| 149 | <note>
|
---|
| 150 | <para>You may also want to remove the <command>lpd</command>
|
---|
| 151 | script that was installed in
|
---|
| 152 | <filename class='directory'>/etc/rc.d/init.d</filename>.</para>
|
---|
| 153 | </note>
|
---|
| 154 |
|
---|
| 155 | </sect3>
|
---|
| 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="content">
|
---|
| 160 | <title>Contents</title>
|
---|
| 161 |
|
---|
| 162 | <segmentedlist>
|
---|
| 163 | <segtitle>Installed Programs</segtitle>
|
---|
| 164 | <segtitle>Installed Library</segtitle>
|
---|
| 165 | <segtitle>Installed Directories</segtitle>
|
---|
| 166 |
|
---|
| 167 | <seglistitem>
|
---|
| 168 | <seg>cancel, checkpc, lp, lpc, lpd, lpq, lpr, lprm, lprng_certs,
|
---|
| 169 | lprng_index_certs, and lpstat</seg>
|
---|
[977061b0] | 170 | <seg>liblpr.{so,a}</seg>
|
---|
[4bf6a727] | 171 | <seg>/etc/lpd, /usr/lib/lprng, /usr/share/doc/&LPRng-version;,
|
---|
| 172 | /var/run/lpd, and /var/spool/lpd</seg>
|
---|
| 173 | </seglistitem>
|
---|
| 174 | </segmentedlist>
|
---|
| 175 |
|
---|
| 176 | <variablelist>
|
---|
| 177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 178 | <?dbfo list-presentation="list"?>
|
---|
| 179 | <?dbhtml list-presentation="table"?>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="cancel">
|
---|
| 182 | <term><command>cancel</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>is a symlink to <command>lprm</command> used to send cancel
|
---|
[bfb7882] | 185 | requests to an <application>LPRng</application> print service.</para>
|
---|
[4bf6a727] | 186 | <indexterm zone="LPRng cancel">
|
---|
| 187 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="checkpc">
|
---|
| 193 | <term><command>checkpc</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>checks out the printcap database.</para>
|
---|
| 196 | <indexterm zone="LPRng checkpc">
|
---|
| 197 | <primary sortas="b-checkpc">checkpc</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="lp">
|
---|
| 203 | <term><command>lp</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>is a symlink to <command>lpr</command> used to send requests
|
---|
| 206 | to an <application>LPRng</application> print service.</para>
|
---|
| 207 | <indexterm zone="LPRng lp">
|
---|
| 208 | <primary sortas="b-lp">lp</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="lpc">
|
---|
| 214 | <term><command>lpc</command></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>is a control program for the <command>lpd</command>
|
---|
| 217 | daemon.</para>
|
---|
| 218 | <indexterm zone="LPRng lpc">
|
---|
| 219 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="lpd">
|
---|
| 225 | <term><command>lpd</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>is the print queueing daemon.</para>
|
---|
| 228 | <indexterm zone="LPRng lpd">
|
---|
| 229 | <primary sortas="b-lpd">lpd</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="lpq">
|
---|
| 235 | <term><command>lpq</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>is a status monitoring program.</para>
|
---|
| 238 | <indexterm zone="LPRng lpq">
|
---|
| 239 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="lpr">
|
---|
| 245 | <term><command>lpr</command></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>is a print job spooler program.</para>
|
---|
| 248 | <indexterm zone="LPRng lpr">
|
---|
| 249 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="lprm">
|
---|
| 255 | <term><command>lprm</command></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>is a print job removal program.</para>
|
---|
| 258 | <indexterm zone="LPRng lprm">
|
---|
| 259 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="lprng_certs">
|
---|
| 265 | <term><command>lprng_certs</command></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>is a program used to manage SSL certificates for the
|
---|
| 268 | <application>LPRng</application> software.</para>
|
---|
| 269 | <indexterm zone="LPRng lprng_certs">
|
---|
| 270 | <primary sortas="b-lprng_certs">lprng_certs</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="lprng_index_certs">
|
---|
| 276 | <term><command>lprng_index_certs</command></term>
|
---|
| 277 | <listitem>
|
---|
| 278 | <para>creates a set of index files in the
|
---|
| 279 | <application>LPRng</application> signing certificate directory.</para>
|
---|
| 280 | <indexterm zone="LPRng lprng_index_certs">
|
---|
| 281 | <primary sortas="b-lprng_index_certs">lprng_index_certs</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="lpstat">
|
---|
| 287 | <term><command>lpstat</command></term>
|
---|
| 288 | <listitem>
|
---|
| 289 | <para>is a print job status reporting program.</para>
|
---|
| 290 | <indexterm zone="LPRng lpstat">
|
---|
| 291 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
| 296 | <varlistentry id="liblpr">
|
---|
[977061b0] | 297 | <term><filename class='libraryfile'>liblpr.{so,a}</filename></term>
|
---|
[4bf6a727] | 298 | <listitem>
|
---|
| 299 | <para>contains the API functions used by the
|
---|
| 300 | <application>LPRng</application> programs.</para>
|
---|
| 301 | <indexterm zone="LPRng liblpr">
|
---|
[977061b0] | 302 | <primary sortas="c-liblpr">liblpr.{so,a}</primary>
|
---|
[4bf6a727] | 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
| 307 | </variablelist>
|
---|
| 308 |
|
---|
| 309 | </sect2>
|
---|
[af01225] | 310 |
|
---|
| 311 | </sect1>
|
---|