[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 |
|
---|
[73ddd1a0] | 7 | <!ENTITY LPRng-download-http "http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz">
|
---|
| 8 | <!ENTITY LPRng-download-ftp "ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-&LPRng-version;.tgz">
|
---|
[0f85be2] | 9 | <!ENTITY LPRng-md5sum "1b3a0abd291b260eab6087ac0e61ed84">
|
---|
| 10 | <!ENTITY LPRng-size "10.2 MB">
|
---|
| 11 | <!ENTITY LPRng-buildsize "71.8 MB">
|
---|
| 12 | <!ENTITY LPRng-time "0.42 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 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&LPRng-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&LPRng-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &LPRng-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &LPRng-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &LPRng-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &LPRng-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">LPRng Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d352a28] | 61 | <para role="optional"><xref linkend="openssl"/>,
|
---|
[4bf6a727] | 62 | <xref linkend="tcpwrappers"/>,
|
---|
[e25e0b0] | 63 | <xref linkend="mitkrb"/>, and
|
---|
| 64 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
|
---|
[4bf6a727] | 65 |
|
---|
[977061b0] | 66 | <para condition="html" role="usernotes">User Notes:
|
---|
| 67 | <ulink url="&blfs-wiki;/lprng"/></para>
|
---|
| 68 |
|
---|
[4bf6a727] | 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2 role="installation">
|
---|
| 72 | <title>Installation of LPRng</title>
|
---|
| 73 |
|
---|
| 74 | <para>Install <application>LPRng</application> by running
|
---|
| 75 | the following commands:</para>
|
---|
| 76 |
|
---|
[e25e0b0] | 77 | <screen><userinput>sed -i 's@CLEAR,0@CLEAR,CLEAR,NULL@' src/common/lpq.c &&
|
---|
| 78 | sed -i 's@ fd, l@ fd, (char*) l@' src/common/krb5_auth.c &&
|
---|
| 79 | sed -i -e 's@\(fi\|done\) \\@\1; \\@' \
|
---|
| 80 | -e 's/^SHELL/#&/' Makefile.in &&
|
---|
| 81 |
|
---|
| 82 | ./configure --prefix=/usr \
|
---|
| 83 | --libexecdir=/usr/lib/lprng \
|
---|
| 84 | --sysconfdir=/etc \
|
---|
| 85 | --enable-shared &&
|
---|
[4bf6a727] | 86 | make</userinput></screen>
|
---|
[0f85be2] | 87 |
|
---|
[e25e0b0] | 88 | <para>This package does not come with a test suite.</para>
|
---|
| 89 |
|
---|
[4bf6a727] | 90 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[0f85be2] | 91 |
|
---|
[e25e0b0] | 92 | <screen role="root"><userinput>make install &&
|
---|
| 93 | install -v -m755 -d /usr/share/doc/lprng-&LPRng-version; &&
|
---|
[0f85be2] | 94 | cp -v -R DOCS/* PrintingCookbook \
|
---|
[4bf6a727] | 95 | /usr/share/doc/lprng-&LPRng-version;</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
[fed761a] | 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
[e25e0b0] | 102 | <para><command>sed -i 's@CLEAR ...'</command>: This fixes a
|
---|
| 103 | <application>GCC</application>-4 warning, treated as an error.</para>
|
---|
| 104 |
|
---|
| 105 | <para><command>sed -i 's@ fd, l ...'</command>: This fixes a compilation
|
---|
| 106 | problem with using versions of <application>GCC</application>-4.</para>
|
---|
| 107 |
|
---|
| 108 | <para><command>sed -i -e '...' -e '...'</command>: This fixes a couple of
|
---|
| 109 | syntax bugs when using newer versions of <command>make</command>.</para>
|
---|
[fed761a] | 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
[4bf6a727] | 113 | <sect2 role="configuration">
|
---|
| 114 | <title>Configuring LPRng</title>
|
---|
| 115 |
|
---|
| 116 | <sect3 id="lprng-config">
|
---|
| 117 | <title>Config Files</title>
|
---|
| 118 |
|
---|
| 119 | <para><filename>/etc/printcap</filename> and
|
---|
| 120 | <filename>/etc/lpd/*</filename></para>
|
---|
| 121 |
|
---|
| 122 | <indexterm zone="LPRng lprng-config">
|
---|
| 123 | <primary sortas="e-etc-printcap">/etc/printcap</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 |
|
---|
| 126 | <indexterm zone="LPRng lprng-config">
|
---|
| 127 | <primary sortas="e-etc-lpd-star">/etc/lpd/*</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 |
|
---|
| 130 | </sect3>
|
---|
| 131 |
|
---|
| 132 | <sect3>
|
---|
| 133 | <title>Configuration Information</title>
|
---|
| 134 |
|
---|
| 135 | <para>There is no generic <filename>printcap</filename> for all printers.
|
---|
| 136 | A sample printcap is loaded into the <filename
|
---|
| 137 | class="directory">/etc</filename> directory which can be of some help.
|
---|
| 138 | Information is also available at <ulink url="http://www.lprng.org"/>,
|
---|
| 139 | <ulink url="http://www.linuxprinting.org"/> and the documentation
|
---|
| 140 | installed in <filename
|
---|
| 141 | class='directory'>/usr/share/doc/lprng-&LPRng-version;</filename>.</para>
|
---|
| 142 |
|
---|
| 143 | </sect3>
|
---|
| 144 |
|
---|
| 145 | <sect3 id="lprng-init">
|
---|
| 146 | <title>Boot Script</title>
|
---|
| 147 |
|
---|
| 148 | <para>The init script installed by <application>LPRng</application>
|
---|
| 149 | is not consistent with other BLFS scripts; therefore, install the
|
---|
| 150 | <filename>/etc/rc.d/init.d/lprng</filename> init script included in
|
---|
[5254d12] | 151 | the <xref linkend="bootscripts"/> package (as the
|
---|
[4bf6a727] | 152 | <systemitem class="username">root</systemitem> user):</para>
|
---|
| 153 |
|
---|
| 154 | <indexterm zone="LPRng lprng-init">
|
---|
| 155 | <primary sortas="f-lprng">lprng</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 |
|
---|
| 158 | <screen role="root"><userinput>make install-lprng</userinput></screen>
|
---|
| 159 |
|
---|
| 160 | <note>
|
---|
| 161 | <para>You may also want to remove the <command>lpd</command>
|
---|
| 162 | script that was installed in
|
---|
| 163 | <filename class='directory'>/etc/rc.d/init.d</filename>.</para>
|
---|
| 164 | </note>
|
---|
| 165 |
|
---|
| 166 | </sect3>
|
---|
| 167 |
|
---|
| 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="content">
|
---|
| 171 | <title>Contents</title>
|
---|
| 172 |
|
---|
| 173 | <segmentedlist>
|
---|
| 174 | <segtitle>Installed Programs</segtitle>
|
---|
| 175 | <segtitle>Installed Library</segtitle>
|
---|
| 176 | <segtitle>Installed Directories</segtitle>
|
---|
| 177 |
|
---|
| 178 | <seglistitem>
|
---|
| 179 | <seg>cancel, checkpc, lp, lpc, lpd, lpq, lpr, lprm, lprng_certs,
|
---|
| 180 | lprng_index_certs, and lpstat</seg>
|
---|
[977061b0] | 181 | <seg>liblpr.{so,a}</seg>
|
---|
[4bf6a727] | 182 | <seg>/etc/lpd, /usr/lib/lprng, /usr/share/doc/&LPRng-version;,
|
---|
| 183 | /var/run/lpd, and /var/spool/lpd</seg>
|
---|
| 184 | </seglistitem>
|
---|
| 185 | </segmentedlist>
|
---|
| 186 |
|
---|
| 187 | <variablelist>
|
---|
| 188 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 189 | <?dbfo list-presentation="list"?>
|
---|
| 190 | <?dbhtml list-presentation="table"?>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="cancel">
|
---|
| 193 | <term><command>cancel</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>is a symlink to <command>lprm</command> used to send cancel
|
---|
[bfb7882] | 196 | requests to an <application>LPRng</application> print service.</para>
|
---|
[4bf6a727] | 197 | <indexterm zone="LPRng cancel">
|
---|
| 198 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="checkpc">
|
---|
| 204 | <term><command>checkpc</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>checks out the printcap database.</para>
|
---|
| 207 | <indexterm zone="LPRng checkpc">
|
---|
| 208 | <primary sortas="b-checkpc">checkpc</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="lp">
|
---|
| 214 | <term><command>lp</command></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>is a symlink to <command>lpr</command> used to send requests
|
---|
| 217 | to an <application>LPRng</application> print service.</para>
|
---|
| 218 | <indexterm zone="LPRng lp">
|
---|
| 219 | <primary sortas="b-lp">lp</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="lpc">
|
---|
| 225 | <term><command>lpc</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>is a control program for the <command>lpd</command>
|
---|
| 228 | daemon.</para>
|
---|
| 229 | <indexterm zone="LPRng lpc">
|
---|
| 230 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="lpd">
|
---|
| 236 | <term><command>lpd</command></term>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para>is the print queueing daemon.</para>
|
---|
| 239 | <indexterm zone="LPRng lpd">
|
---|
| 240 | <primary sortas="b-lpd">lpd</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
| 245 | <varlistentry id="lpq">
|
---|
| 246 | <term><command>lpq</command></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>is a status monitoring program.</para>
|
---|
| 249 | <indexterm zone="LPRng lpq">
|
---|
| 250 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="lpr">
|
---|
| 256 | <term><command>lpr</command></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>is a print job spooler program.</para>
|
---|
| 259 | <indexterm zone="LPRng lpr">
|
---|
| 260 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="lprm">
|
---|
| 266 | <term><command>lprm</command></term>
|
---|
| 267 | <listitem>
|
---|
| 268 | <para>is a print job removal program.</para>
|
---|
| 269 | <indexterm zone="LPRng lprm">
|
---|
| 270 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="lprng_certs">
|
---|
| 276 | <term><command>lprng_certs</command></term>
|
---|
| 277 | <listitem>
|
---|
| 278 | <para>is a program used to manage SSL certificates for the
|
---|
| 279 | <application>LPRng</application> software.</para>
|
---|
| 280 | <indexterm zone="LPRng lprng_certs">
|
---|
| 281 | <primary sortas="b-lprng_certs">lprng_certs</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="lprng_index_certs">
|
---|
| 287 | <term><command>lprng_index_certs</command></term>
|
---|
| 288 | <listitem>
|
---|
| 289 | <para>creates a set of index files in the
|
---|
| 290 | <application>LPRng</application> signing certificate directory.</para>
|
---|
| 291 | <indexterm zone="LPRng lprng_index_certs">
|
---|
| 292 | <primary sortas="b-lprng_index_certs">lprng_index_certs</primary>
|
---|
| 293 | </indexterm>
|
---|
| 294 | </listitem>
|
---|
| 295 | </varlistentry>
|
---|
| 296 |
|
---|
| 297 | <varlistentry id="lpstat">
|
---|
| 298 | <term><command>lpstat</command></term>
|
---|
| 299 | <listitem>
|
---|
| 300 | <para>is a print job status reporting program.</para>
|
---|
| 301 | <indexterm zone="LPRng lpstat">
|
---|
| 302 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
| 307 | <varlistentry id="liblpr">
|
---|
[977061b0] | 308 | <term><filename class='libraryfile'>liblpr.{so,a}</filename></term>
|
---|
[4bf6a727] | 309 | <listitem>
|
---|
| 310 | <para>contains the API functions used by the
|
---|
| 311 | <application>LPRng</application> programs.</para>
|
---|
| 312 | <indexterm zone="LPRng liblpr">
|
---|
[977061b0] | 313 | <primary sortas="c-liblpr">liblpr.{so,a}</primary>
|
---|
[4bf6a727] | 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
| 318 | </variablelist>
|
---|
| 319 |
|
---|
| 320 | </sect2>
|
---|
[af01225] | 321 |
|
---|
| 322 | </sect1>
|
---|