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