[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 |
|
---|
[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>
|
---|
| 61 | <para><xref linkend="openssl"/>,
|
---|
| 62 | <xref linkend="tcpwrappers"/>,
|
---|
| 63 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 64 | and <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
|
---|
| 65 |
|
---|
| 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <sect2 role="installation">
|
---|
| 69 | <title>Installation of LPRng</title>
|
---|
| 70 |
|
---|
| 71 | <para>Install <application>LPRng</application> by running
|
---|
| 72 | the following commands:</para>
|
---|
| 73 |
|
---|
| 74 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/lprng \
|
---|
[0f85be2] | 75 | --sysconfdir=/etc --enable-shared &&
|
---|
[4bf6a727] | 76 | make</userinput></screen>
|
---|
[0f85be2] | 77 |
|
---|
[4bf6a727] | 78 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[0f85be2] | 79 |
|
---|
[4bf6a727] | 80 | <screen role="root"><userinput>make install
|
---|
[0f85be2] | 81 | install -v -d -m755 /usr/share/doc/lprng-&LPRng-version; &&
|
---|
| 82 | cp -v -R DOCS/* PrintingCookbook \
|
---|
[4bf6a727] | 83 | /usr/share/doc/lprng-&LPRng-version;</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="configuration">
|
---|
| 88 | <title>Configuring LPRng</title>
|
---|
| 89 |
|
---|
| 90 | <sect3 id="lprng-config">
|
---|
| 91 | <title>Config Files</title>
|
---|
| 92 |
|
---|
| 93 | <para><filename>/etc/printcap</filename> and
|
---|
| 94 | <filename>/etc/lpd/*</filename></para>
|
---|
| 95 |
|
---|
| 96 | <indexterm zone="LPRng lprng-config">
|
---|
| 97 | <primary sortas="e-etc-printcap">/etc/printcap</primary>
|
---|
| 98 | </indexterm>
|
---|
| 99 |
|
---|
| 100 | <indexterm zone="LPRng lprng-config">
|
---|
| 101 | <primary sortas="e-etc-lpd-star">/etc/lpd/*</primary>
|
---|
| 102 | </indexterm>
|
---|
| 103 |
|
---|
| 104 | </sect3>
|
---|
| 105 |
|
---|
| 106 | <sect3>
|
---|
| 107 | <title>Configuration Information</title>
|
---|
| 108 |
|
---|
| 109 | <para>There is no generic <filename>printcap</filename> for all printers.
|
---|
| 110 | A sample printcap is loaded into the <filename
|
---|
| 111 | class="directory">/etc</filename> directory which can be of some help.
|
---|
| 112 | Information is also available at <ulink url="http://www.lprng.org"/>,
|
---|
| 113 | <ulink url="http://www.linuxprinting.org"/> and the documentation
|
---|
| 114 | installed in <filename
|
---|
| 115 | class='directory'>/usr/share/doc/lprng-&LPRng-version;</filename>.</para>
|
---|
| 116 |
|
---|
| 117 | </sect3>
|
---|
| 118 |
|
---|
| 119 | <sect3 id="lprng-init">
|
---|
| 120 | <title>Boot Script</title>
|
---|
| 121 |
|
---|
| 122 | <para>The init script installed by <application>LPRng</application>
|
---|
| 123 | is not consistent with other BLFS scripts; therefore, install the
|
---|
| 124 | <filename>/etc/rc.d/init.d/lprng</filename> init script included in
|
---|
| 125 | the <xref linkend="intro-important-bootscripts"/> package (as the
|
---|
| 126 | <systemitem class="username">root</systemitem> user):</para>
|
---|
| 127 |
|
---|
| 128 | <indexterm zone="LPRng lprng-init">
|
---|
| 129 | <primary sortas="f-lprng">lprng</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 |
|
---|
| 132 | <screen role="root"><userinput>make install-lprng</userinput></screen>
|
---|
| 133 |
|
---|
| 134 | <note>
|
---|
| 135 | <para>You may also want to remove the <command>lpd</command>
|
---|
| 136 | script that was installed in
|
---|
| 137 | <filename class='directory'>/etc/rc.d/init.d</filename>.</para>
|
---|
| 138 | </note>
|
---|
| 139 |
|
---|
| 140 | </sect3>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Library</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>cancel, checkpc, lp, lpc, lpd, lpq, lpr, lprm, lprng_certs,
|
---|
| 154 | lprng_index_certs, and lpstat</seg>
|
---|
| 155 | <seg>liblpr.[so,a]</seg>
|
---|
| 156 | <seg>/etc/lpd, /usr/lib/lprng, /usr/share/doc/&LPRng-version;,
|
---|
| 157 | /var/run/lpd, and /var/spool/lpd</seg>
|
---|
| 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="cancel">
|
---|
| 167 | <term><command>cancel</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>is a symlink to <command>lprm</command> used to send cancel
|
---|
| 170 | requests to an <application>LPRng</application> print ervice.</para>
|
---|
| 171 | <indexterm zone="LPRng cancel">
|
---|
| 172 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="checkpc">
|
---|
| 178 | <term><command>checkpc</command></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>checks out the printcap database.</para>
|
---|
| 181 | <indexterm zone="LPRng checkpc">
|
---|
| 182 | <primary sortas="b-checkpc">checkpc</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="lp">
|
---|
| 188 | <term><command>lp</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>is a symlink to <command>lpr</command> used to send requests
|
---|
| 191 | to an <application>LPRng</application> print service.</para>
|
---|
| 192 | <indexterm zone="LPRng lp">
|
---|
| 193 | <primary sortas="b-lp">lp</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="lpc">
|
---|
| 199 | <term><command>lpc</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>is a control program for the <command>lpd</command>
|
---|
| 202 | daemon.</para>
|
---|
| 203 | <indexterm zone="LPRng lpc">
|
---|
| 204 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="lpd">
|
---|
| 210 | <term><command>lpd</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>is the print queueing daemon.</para>
|
---|
| 213 | <indexterm zone="LPRng lpd">
|
---|
| 214 | <primary sortas="b-lpd">lpd</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="lpq">
|
---|
| 220 | <term><command>lpq</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>is a status monitoring program.</para>
|
---|
| 223 | <indexterm zone="LPRng lpq">
|
---|
| 224 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="lpr">
|
---|
| 230 | <term><command>lpr</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>is a print job spooler program.</para>
|
---|
| 233 | <indexterm zone="LPRng lpr">
|
---|
| 234 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="lprm">
|
---|
| 240 | <term><command>lprm</command></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>is a print job removal program.</para>
|
---|
| 243 | <indexterm zone="LPRng lprm">
|
---|
| 244 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 |
|
---|
| 249 | <varlistentry id="lprng_certs">
|
---|
| 250 | <term><command>lprng_certs</command></term>
|
---|
| 251 | <listitem>
|
---|
| 252 | <para>is a program used to manage SSL certificates for the
|
---|
| 253 | <application>LPRng</application> software.</para>
|
---|
| 254 | <indexterm zone="LPRng lprng_certs">
|
---|
| 255 | <primary sortas="b-lprng_certs">lprng_certs</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="lprng_index_certs">
|
---|
| 261 | <term><command>lprng_index_certs</command></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para>creates a set of index files in the
|
---|
| 264 | <application>LPRng</application> signing certificate directory.</para>
|
---|
| 265 | <indexterm zone="LPRng lprng_index_certs">
|
---|
| 266 | <primary sortas="b-lprng_index_certs">lprng_index_certs</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | <varlistentry id="lpstat">
|
---|
| 272 | <term><command>lpstat</command></term>
|
---|
| 273 | <listitem>
|
---|
| 274 | <para>is a print job status reporting program.</para>
|
---|
| 275 | <indexterm zone="LPRng lpstat">
|
---|
| 276 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 |
|
---|
| 281 | <varlistentry id="liblpr">
|
---|
| 282 | <term><filename class='libraryfile'>liblpr.[so,a]</filename></term>
|
---|
| 283 | <listitem>
|
---|
| 284 | <para>contains the API functions used by the
|
---|
| 285 | <application>LPRng</application> programs.</para>
|
---|
| 286 | <indexterm zone="LPRng liblpr">
|
---|
| 287 | <primary sortas="c-liblpr">liblpr.[so,a]</primary>
|
---|
| 288 | </indexterm>
|
---|
| 289 | </listitem>
|
---|
| 290 | </varlistentry>
|
---|
| 291 |
|
---|
| 292 | </variablelist>
|
---|
| 293 |
|
---|
| 294 | </sect2>
|
---|
[af01225] | 295 |
|
---|
| 296 | </sect1>
|
---|