[7f76b96] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
[73ddd1a0] | 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[0f85be2] | 5 |
|
---|
[73ddd1a0] | 6 | <!ENTITY LPRng-download-http "http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz">
|
---|
| 7 | <!ENTITY LPRng-download-ftp "ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-&LPRng-version;.tgz">
|
---|
[0f85be2] | 8 | <!ENTITY LPRng-md5sum "1b3a0abd291b260eab6087ac0e61ed84">
|
---|
| 9 | <!ENTITY LPRng-size "10.2 MB">
|
---|
| 10 | <!ENTITY LPRng-buildsize "71.8 MB">
|
---|
| 11 | <!ENTITY LPRng-time "0.42 SBU">
|
---|
[73ddd1a0] | 12 | ]>
|
---|
| 13 |
|
---|
[af01225] | 14 | <sect1 id="LPRng" xreflabel="LPRng-&LPRng-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[dd3f20f0] | 19 | <?dbhtml filename="LPRng.html"?>
|
---|
[0f85be2] | 20 | <title><application><acronym>LPR</acronym>ng</application>-&LPRng-version;
|
---|
| 21 | </title>
|
---|
| 22 | <indexterm zone="LPRng">
|
---|
| 23 | <primary sortas="a-LPRng">LPRng</primary></indexterm>
|
---|
[af01225] | 24 |
|
---|
[73ddd1a0] | 25 | <sect2>
|
---|
[0f85be2] | 26 | <title>Introduction to
|
---|
| 27 | <application><acronym>LPR</acronym>ng</application></title>
|
---|
[73ddd1a0] | 28 |
|
---|
[0f85be2] | 29 | <para>The <application><acronym>LPR</acronym>ng</application> package contains
|
---|
| 30 | an enhanced, extended and portable implementation of the Berkeley Line PRinter
|
---|
| 31 | (<acronym>LPR</acronym>) print spooler. This is useful for queuing print
|
---|
| 32 | jobs.</para>
|
---|
[73ddd1a0] | 33 |
|
---|
| 34 | <sect3><title>Package information</title>
|
---|
| 35 | <itemizedlist spacing='compact'>
|
---|
| 36 | <listitem><para>Download (HTTP): <ulink
|
---|
| 37 | url="&LPRng-download-http;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download (FTP): <ulink
|
---|
| 39 | url="&LPRng-download-ftp;"/></para></listitem>
|
---|
[0f85be2] | 40 | <listitem><para>Download MD5 sum: &LPRng-md5sum;</para></listitem>
|
---|
[73ddd1a0] | 41 | <listitem><para>Download size: &LPRng-size;</para></listitem>
|
---|
[518538f] | 42 | <listitem><para>Estimated disk space required:
|
---|
[73ddd1a0] | 43 | &LPRng-buildsize;</para></listitem>
|
---|
| 44 | <listitem><para>Estimated build time:
|
---|
| 45 | &LPRng-time;</para></listitem></itemizedlist>
|
---|
| 46 | </sect3>
|
---|
| 47 |
|
---|
[0f85be2] | 48 | <sect3><title><application><acronym>LPR</acronym>ng</application>
|
---|
| 49 | dependencies</title>
|
---|
[73ddd1a0] | 50 | <sect4><title>Optional</title>
|
---|
[0f85be2] | 51 | <para><xref linkend="openssl"/>,
|
---|
| 52 | <xref linkend="tcpwrappers"/>,
|
---|
| 53 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 54 | and <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>
|
---|
| 55 | </para>
|
---|
| 56 | </sect4>
|
---|
[73ddd1a0] | 57 | </sect3>
|
---|
| 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2>
|
---|
[0f85be2] | 62 | <title>Installation of
|
---|
| 63 | <application><acronym>LPR</acronym>ng</application></title>
|
---|
[73ddd1a0] | 64 |
|
---|
[0f85be2] | 65 | <para>Install <application><acronym>LPR</acronym>ng</application> by running
|
---|
| 66 | the following commands:</para>
|
---|
[73ddd1a0] | 67 |
|
---|
[0f85be2] | 68 | <screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib/lprng \
|
---|
| 69 | --sysconfdir=/etc --enable-shared &&
|
---|
| 70 | make</command></userinput></screen>
|
---|
| 71 |
|
---|
| 72 | <para>Now, as the root user:</para>
|
---|
| 73 |
|
---|
| 74 | <screen><userinput role='root'><command>make install
|
---|
| 75 | install -v -d -m755 /usr/share/doc/lprng-&LPRng-version; &&
|
---|
| 76 | cp -v -R DOCS/* PrintingCookbook \
|
---|
| 77 | /usr/share/doc/lprng-&LPRng-version;</command></userinput></screen>
|
---|
[73ddd1a0] | 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2>
|
---|
[0f85be2] | 82 | <title>Configuring <application><acronym>LPR</acronym>ng</application></title>
|
---|
| 83 |
|
---|
| 84 | <sect3 id="lprng-config"><title>Config files</title>
|
---|
| 85 | <para><filename>/etc/printcap</filename> and
|
---|
| 86 | <filename>/etc/lpd/*</filename></para>
|
---|
| 87 | <indexterm zone="LPRng lprng-config">
|
---|
| 88 | <primary sortas="e-etc-printcap">/etc/printcap</primary></indexterm>
|
---|
| 89 | <indexterm zone="LPRng lprng-config">
|
---|
| 90 | <primary sortas="e-etc-lpd-star">/etc/lpd/*</primary></indexterm>
|
---|
[73ddd1a0] | 91 | </sect3>
|
---|
| 92 |
|
---|
| 93 | <sect3><title>Configuration Information</title>
|
---|
| 94 |
|
---|
| 95 | <para>There is no generic <filename>printcap</filename> for all
|
---|
[0f85be2] | 96 | printers. A sample printcap is loaded into the
|
---|
| 97 | <filename class="directory">/etc</filename> directory which can be of some
|
---|
| 98 | help. Information is also available at <ulink url="http://www.lprng.org"/>,
|
---|
| 99 | <ulink url="http://www.linuxprinting.org"/> and the documentation installed in
|
---|
| 100 | <filename class='directory'>/usr/share/doc/lprng-&LPRng-version;</filename>.
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para id="lprng-init">The init script installed by
|
---|
| 104 | <application><acronym>LPR</acronym>ng</application> is not consistent with
|
---|
| 105 | other <acronym>BLFS</acronym> scripts; therefore, install the
|
---|
| 106 | <filename>/etc/rc.d/init.d/lprng</filename> init script included in the
|
---|
| 107 | <xref linkend="intro-important-bootscripts"/> package (as the root user):</para>
|
---|
| 108 | <indexterm zone="LPRng lprng-init">
|
---|
| 109 | <primary sortas="f-lprng">lprng</primary></indexterm>
|
---|
| 110 |
|
---|
| 111 | <screen><userinput role='root'><command>make install-lprng</command></userinput></screen>
|
---|
| 112 |
|
---|
| 113 | <note><para>You may also want to remove the <command>lpd</command> script that
|
---|
| 114 | was installed in
|
---|
| 115 | <filename class='directory'>/etc/rc.d/init.d</filename>.</para></note>
|
---|
[73ddd1a0] | 116 | </sect3>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2>
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
[0f85be2] | 123 | <segmentedlist>
|
---|
| 124 | <segtitle>Installed Programs</segtitle>
|
---|
| 125 | <segtitle>Installed Library</segtitle>
|
---|
| 126 | <segtitle>Installed Directories</segtitle>
|
---|
| 127 |
|
---|
| 128 | <seglistitem>
|
---|
| 129 | <seg>cancel, checkpc, lp, lpc, lpd, lpq, lpr, lprm, lprng_certs,
|
---|
| 130 | lprng_index_certs and lpstat</seg>
|
---|
| 131 | <seg>liblpr.[so,a]</seg>
|
---|
| 132 | <seg>/etc/lpd, /usr/lib/lprng, /usr/share/doc/&LPRng-version;,
|
---|
| 133 | /var/run/lpd and /var/spool/lpd</seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="cancel">
|
---|
| 142 | <term><command>cancel</command></term>
|
---|
| 143 | <listitem><para>is a symlink to <command>lprm</command> used to send cancel
|
---|
| 144 | requests to an <application><acronym>LPR</acronym>ng</application> print
|
---|
| 145 | service.</para>
|
---|
| 146 | <indexterm zone="LPRng cancel">
|
---|
| 147 | <primary sortas="b-cancel">cancel</primary>
|
---|
| 148 | </indexterm></listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="checkpc">
|
---|
| 152 | <term><command>checkpc</command></term>
|
---|
| 153 | <listitem><para>checks out the printcap database.</para>
|
---|
| 154 | <indexterm zone="LPRng checkpc">
|
---|
| 155 | <primary sortas="b-checkpc">checkpc</primary>
|
---|
| 156 | </indexterm></listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="lp">
|
---|
| 160 | <term><command>lp</command></term>
|
---|
| 161 | <listitem><para>is a symlink to <command>lpr</command> used to send requests
|
---|
| 162 | to an <application><acronym>LPR</acronym>ng</application> print service.</para>
|
---|
| 163 | <indexterm zone="LPRng lp">
|
---|
| 164 | <primary sortas="b-lp">lp</primary>
|
---|
| 165 | </indexterm></listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="lpc">
|
---|
| 169 | <term><command>lpc</command></term>
|
---|
| 170 | <listitem><para>is a control program for the <command>lpd</command>
|
---|
| 171 | daemon.</para>
|
---|
| 172 | <indexterm zone="LPRng lpc">
|
---|
| 173 | <primary sortas="b-lpc">lpc</primary>
|
---|
| 174 | </indexterm></listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="lpd">
|
---|
| 178 | <term><command>lpd</command></term>
|
---|
| 179 | <listitem><para>is the print queueing daemon.</para>
|
---|
| 180 | <indexterm zone="LPRng lpd">
|
---|
| 181 | <primary sortas="b-lpd">lpd</primary>
|
---|
| 182 | </indexterm></listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="lpq">
|
---|
| 186 | <term><command>lpq</command></term>
|
---|
| 187 | <listitem><para>is a status monitoring program.</para>
|
---|
| 188 | <indexterm zone="LPRng lpq">
|
---|
| 189 | <primary sortas="b-lpq">lpq</primary>
|
---|
| 190 | </indexterm></listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="lpr">
|
---|
| 194 | <term><command>lpr</command></term>
|
---|
| 195 | <listitem><para>is a print job spooler program.</para>
|
---|
| 196 | <indexterm zone="LPRng lpr">
|
---|
| 197 | <primary sortas="b-lpr">lpr</primary>
|
---|
| 198 | </indexterm></listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="lprm">
|
---|
| 202 | <term><command>lprm</command></term>
|
---|
| 203 | <listitem><para>is a print job removal program.</para>
|
---|
| 204 | <indexterm zone="LPRng lprm">
|
---|
| 205 | <primary sortas="b-lprm">lprm</primary>
|
---|
| 206 | </indexterm></listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="lprng_certs">
|
---|
| 210 | <term><command>lprng_certs</command></term>
|
---|
| 211 | <listitem><para>is a program used to manage <acronym>SSL</acronym>
|
---|
| 212 | certificates for the <application><acronym>LPR</acronym>ng</application>
|
---|
| 213 | software.</para>
|
---|
| 214 | <indexterm zone="LPRng lprng_certs">
|
---|
| 215 | <primary sortas="b-lprng_certs">lprng_certs</primary>
|
---|
| 216 | </indexterm></listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="lprng_index_certs">
|
---|
| 220 | <term><command>lprng_index_certs</command></term>
|
---|
| 221 | <listitem><para>creates a set of index files in the
|
---|
| 222 | <application><acronym>LPR</acronym>ng</application> signing certificate
|
---|
| 223 | directory.</para>
|
---|
| 224 | <indexterm zone="LPRng lprng_index_certs">
|
---|
| 225 | <primary sortas="b-lprng_index_certs">lprng_index_certs</primary>
|
---|
| 226 | </indexterm></listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="lpstat">
|
---|
| 230 | <term><command>lpstat</command></term>
|
---|
| 231 | <listitem><para>is a print job status reporting program.</para>
|
---|
| 232 | <indexterm zone="LPRng lpstat">
|
---|
| 233 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
| 234 | </indexterm></listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="liblpr">
|
---|
| 238 | <term><filename class='libraryfile'>liblpr.[so,a]</filename></term>
|
---|
| 239 | <listitem><para>contains the <acronym>API</acronym> functions used by the
|
---|
| 240 | <application><acronym>LPR</acronym>ng</application> programs.</para>
|
---|
| 241 | <indexterm zone="LPRng liblpr">
|
---|
| 242 | <primary sortas="c-liblpr">liblpr.[so,a]</primary>
|
---|
| 243 | </indexterm></listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 | </variablelist>
|
---|
[73ddd1a0] | 246 |
|
---|
| 247 | </sect2>
|
---|
[af01225] | 248 |
|
---|
| 249 | </sect1>
|
---|