mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-09 19:57:18 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3656 af4574ff-66df-0310-9fd7-8a98e5e911e0
250 lines
8.3 KiB
XML
250 lines
8.3 KiB
XML
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY LPRng-download-http "http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz">
|
|
<!ENTITY LPRng-download-ftp "ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-&LPRng-version;.tgz">
|
|
<!ENTITY LPRng-md5sum "1b3a0abd291b260eab6087ac0e61ed84">
|
|
<!ENTITY LPRng-size "10.2 MB">
|
|
<!ENTITY LPRng-buildsize "71.8 MB">
|
|
<!ENTITY LPRng-time "0.42 SBU">
|
|
]>
|
|
|
|
<sect1 id="LPRng" xreflabel="LPRng-&LPRng-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="LPRng.html"?>
|
|
<title><application><acronym>LPR</acronym>ng</application>-&LPRng-version;
|
|
</title>
|
|
<indexterm zone="LPRng">
|
|
<primary sortas="a-LPRng">LPRng</primary></indexterm>
|
|
|
|
<sect2>
|
|
<title>Introduction to
|
|
<application><acronym>LPR</acronym>ng</application></title>
|
|
|
|
<para>The <application><acronym>LPR</acronym>ng</application> package contains
|
|
an enhanced, extended and portable implementation of the Berkeley Line PRinter
|
|
(<acronym>LPR</acronym>) print spooler. This is useful for queuing print
|
|
jobs.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink
|
|
url="&LPRng-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink
|
|
url="&LPRng-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download MD5 sum: &LPRng-md5sum;</para></listitem>
|
|
<listitem><para>Download size: &LPRng-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required:
|
|
&LPRng-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&LPRng-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application><acronym>LPR</acronym>ng</application>
|
|
dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="openssl"/>,
|
|
<xref linkend="tcpwrappers"/>,
|
|
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
|
and <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>
|
|
</para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of
|
|
<application><acronym>LPR</acronym>ng</application></title>
|
|
|
|
<para>Install <application><acronym>LPR</acronym>ng</application> by running
|
|
the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib/lprng \
|
|
--sysconfdir=/etc --enable-shared &&
|
|
make</command></userinput></screen>
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>make install
|
|
install -v -d -m755 /usr/share/doc/lprng-&LPRng-version; &&
|
|
cp -v -R DOCS/* PrintingCookbook \
|
|
/usr/share/doc/lprng-&LPRng-version;</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application><acronym>LPR</acronym>ng</application></title>
|
|
|
|
<sect3 id="lprng-config"><title>Config files</title>
|
|
<para><filename>/etc/printcap</filename> and
|
|
<filename>/etc/lpd/*</filename></para>
|
|
<indexterm zone="LPRng lprng-config">
|
|
<primary sortas="e-etc-printcap">/etc/printcap</primary></indexterm>
|
|
<indexterm zone="LPRng lprng-config">
|
|
<primary sortas="e-etc-lpd-star">/etc/lpd/*</primary></indexterm>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>There is no generic <filename>printcap</filename> for all
|
|
printers. A sample printcap is loaded into the
|
|
<filename class="directory">/etc</filename> directory which can be of some
|
|
help. Information is also available at <ulink url="http://www.lprng.org"/>,
|
|
<ulink url="http://www.linuxprinting.org"/> and the documentation installed in
|
|
<filename class='directory'>/usr/share/doc/lprng-&LPRng-version;</filename>.
|
|
</para>
|
|
|
|
<para id="lprng-init">The init script installed by
|
|
<application><acronym>LPR</acronym>ng</application> is not consistent with
|
|
other <acronym>BLFS</acronym> scripts; therefore, install the
|
|
<filename>/etc/rc.d/init.d/lprng</filename> init script included in the
|
|
<xref linkend="intro-important-bootscripts"/> package (as the root user):</para>
|
|
<indexterm zone="LPRng lprng-init">
|
|
<primary sortas="f-lprng">lprng</primary></indexterm>
|
|
|
|
<screen><userinput role='root'><command>make install-lprng</command></userinput></screen>
|
|
|
|
<note><para>You may also want to remove the <command>lpd</command> script that
|
|
was installed in
|
|
<filename class='directory'>/etc/rc.d/init.d</filename>.</para></note>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>cancel, checkpc, lp, lpc, lpd, lpq, lpr, lprm, lprng_certs,
|
|
lprng_index_certs and lpstat</seg>
|
|
<seg>liblpr.[so,a]</seg>
|
|
<seg>/etc/lpd, /usr/lib/lprng, /usr/share/doc/&LPRng-version;,
|
|
/var/run/lpd and /var/spool/lpd</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<varlistentry id="cancel">
|
|
<term><command>cancel</command></term>
|
|
<listitem><para>is a symlink to <command>lprm</command> used to send cancel
|
|
requests to an <application><acronym>LPR</acronym>ng</application> print
|
|
service.</para>
|
|
<indexterm zone="LPRng cancel">
|
|
<primary sortas="b-cancel">cancel</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="checkpc">
|
|
<term><command>checkpc</command></term>
|
|
<listitem><para>checks out the printcap database.</para>
|
|
<indexterm zone="LPRng checkpc">
|
|
<primary sortas="b-checkpc">checkpc</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lp">
|
|
<term><command>lp</command></term>
|
|
<listitem><para>is a symlink to <command>lpr</command> used to send requests
|
|
to an <application><acronym>LPR</acronym>ng</application> print service.</para>
|
|
<indexterm zone="LPRng lp">
|
|
<primary sortas="b-lp">lp</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lpc">
|
|
<term><command>lpc</command></term>
|
|
<listitem><para>is a control program for the <command>lpd</command>
|
|
daemon.</para>
|
|
<indexterm zone="LPRng lpc">
|
|
<primary sortas="b-lpc">lpc</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lpd">
|
|
<term><command>lpd</command></term>
|
|
<listitem><para>is the print queueing daemon.</para>
|
|
<indexterm zone="LPRng lpd">
|
|
<primary sortas="b-lpd">lpd</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lpq">
|
|
<term><command>lpq</command></term>
|
|
<listitem><para>is a status monitoring program.</para>
|
|
<indexterm zone="LPRng lpq">
|
|
<primary sortas="b-lpq">lpq</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lpr">
|
|
<term><command>lpr</command></term>
|
|
<listitem><para>is a print job spooler program.</para>
|
|
<indexterm zone="LPRng lpr">
|
|
<primary sortas="b-lpr">lpr</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lprm">
|
|
<term><command>lprm</command></term>
|
|
<listitem><para>is a print job removal program.</para>
|
|
<indexterm zone="LPRng lprm">
|
|
<primary sortas="b-lprm">lprm</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lprng_certs">
|
|
<term><command>lprng_certs</command></term>
|
|
<listitem><para>is a program used to manage <acronym>SSL</acronym>
|
|
certificates for the <application><acronym>LPR</acronym>ng</application>
|
|
software.</para>
|
|
<indexterm zone="LPRng lprng_certs">
|
|
<primary sortas="b-lprng_certs">lprng_certs</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lprng_index_certs">
|
|
<term><command>lprng_index_certs</command></term>
|
|
<listitem><para>creates a set of index files in the
|
|
<application><acronym>LPR</acronym>ng</application> signing certificate
|
|
directory.</para>
|
|
<indexterm zone="LPRng lprng_index_certs">
|
|
<primary sortas="b-lprng_index_certs">lprng_index_certs</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lpstat">
|
|
<term><command>lpstat</command></term>
|
|
<listitem><para>is a print job status reporting program.</para>
|
|
<indexterm zone="LPRng lpstat">
|
|
<primary sortas="b-lpstat">lpstat</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="liblpr">
|
|
<term><filename class='libraryfile'>liblpr.[so,a]</filename></term>
|
|
<listitem><para>contains the <acronym>API</acronym> functions used by the
|
|
<application><acronym>LPR</acronym>ng</application> programs.</para>
|
|
<indexterm zone="LPRng liblpr">
|
|
<primary sortas="c-liblpr">liblpr.[so,a]</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|