[73ddd1a0] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 |
|
---|
| 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">
|
---|
| 8 | <!ENTITY LPRng-size "11 MB">
|
---|
| 9 | <!ENTITY LPRng-buildsize "54 MB">
|
---|
| 10 | <!ENTITY LPRng-time "0.35 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[af01225] | 13 | <sect1 id="LPRng" xreflabel="LPRng-&LPRng-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[dd3f20f0] | 18 | <?dbhtml filename="LPRng.html"?>
|
---|
[af01225] | 19 | <title>LPRng-&LPRng-version;</title>
|
---|
| 20 |
|
---|
[73ddd1a0] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application>LPRng</application></title>
|
---|
| 23 |
|
---|
| 24 | <para>The <application>LPRng</application> package contains an enhanced,
|
---|
| 25 | extended and portable implementation of the Berkeley Line PRinter
|
---|
| 26 | (<acronym>LPR</acronym>) print spooler. This is useful for queuing print jobs.
|
---|
| 27 | </para>
|
---|
| 28 |
|
---|
| 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink
|
---|
| 32 | url="&LPRng-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP): <ulink
|
---|
| 34 | url="&LPRng-download-ftp;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download size: &LPRng-size;</para></listitem>
|
---|
[518538f] | 36 | <listitem><para>Estimated disk space required:
|
---|
[73ddd1a0] | 37 | &LPRng-buildsize;</para></listitem>
|
---|
| 38 | <listitem><para>Estimated build time:
|
---|
| 39 | &LPRng-time;</para></listitem></itemizedlist>
|
---|
| 40 | </sect3>
|
---|
| 41 |
|
---|
| 42 | <sect3><title><application>LPRng</application> dependencies</title>
|
---|
| 43 | <sect4><title>Optional</title>
|
---|
| 44 | <para>
|
---|
[939cf0da] | 45 | <xref linkend="openssl-package"/>,
|
---|
[73ddd1a0] | 46 | <xref linkend="tcpwrappers"/> and
|
---|
| 47 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>
|
---|
| 48 | </para></sect4>
|
---|
| 49 | </sect3>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2>
|
---|
| 54 | <title>Installation of <application>LPRng</application></title>
|
---|
| 55 |
|
---|
| 56 | <para>Install <application>LPRng</application> by running the following
|
---|
| 57 | commands:</para>
|
---|
| 58 |
|
---|
| 59 | <screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
| 60 | --sysconfdir=/etc &&
|
---|
| 61 | make &&
|
---|
| 62 | make install</command></userinput></screen>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
| 67 | <title>Configuring <application>LPRng</application></title>
|
---|
| 68 |
|
---|
| 69 | <sect3><title>Config files</title>
|
---|
| 70 | <para><filename>/etc/printcap</filename></para>
|
---|
| 71 | </sect3>
|
---|
| 72 |
|
---|
| 73 | <sect3><title>Configuration Information</title>
|
---|
| 74 |
|
---|
| 75 | <para>There is no generic <filename>printcap</filename> for all
|
---|
| 76 | printers. A sample printcap is loaded into the <filename
|
---|
| 77 | class="directory">/etc</filename>
|
---|
| 78 | directory which can be of some help. Information is also available at
|
---|
| 79 | <ulink url="http://www.lprng.org"/> and <ulink
|
---|
| 80 | url="http://www.linuxprinting.org"/>.</para>
|
---|
| 81 |
|
---|
| 82 | <para>The init script installed by <application>LPRng</application> is not
|
---|
| 83 | consistent with other <acronym>BLFS</acronym> scripts; therefore, install
|
---|
| 84 | the <filename>/etc/rc.d/init.d/lprng</filename>
|
---|
| 85 | init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 86 |
|
---|
| 87 | <screen><userinput><command>make install-lprng</command></userinput></screen>
|
---|
| 88 |
|
---|
| 89 | </sect3>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2>
|
---|
| 94 | <title>Contents</title>
|
---|
| 95 |
|
---|
| 96 | <para>The LPRng package contains
|
---|
| 97 | <command>cancel</command>,
|
---|
| 98 | <command>checkpc</command>,
|
---|
| 99 | <command>lp</command>,
|
---|
| 100 | <command>lpc</command>,
|
---|
| 101 | <command>lpd</command>,
|
---|
| 102 | <command>lpq</command>,
|
---|
| 103 | <command>lpr</command>,
|
---|
| 104 | <command>lprm</command>,
|
---|
| 105 | <command>lprng_certs</command>,
|
---|
| 106 | <command>lprng_index_certs</command>,
|
---|
| 107 | <command>lpstat</command> and
|
---|
| 108 | <filename class="libraryfile">liblpr</filename>.</para>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2><title>Description</title>
|
---|
| 113 |
|
---|
| 114 | <sect3><title>cancel</title>
|
---|
| 115 | <para><command>cancel</command> sends cancel requests to an LPRng print
|
---|
| 116 | service.</para></sect3>
|
---|
| 117 |
|
---|
| 118 | <sect3><title>checkpc</title>
|
---|
| 119 | <para><command>checkpc</command> checks out the printcap
|
---|
| 120 | database.</para></sect3>
|
---|
| 121 |
|
---|
| 122 | <sect3><title>lp</title>
|
---|
| 123 | <para><command>lp</command> sends requests to an LPRng print service.</para></sect3>
|
---|
| 124 |
|
---|
| 125 | <sect3><title>lpc</title>
|
---|
| 126 | <para><command>lpc</command> is the control program for the daemon.</para></sect3>
|
---|
| 127 |
|
---|
| 128 | <sect3><title>lpd</title>
|
---|
| 129 | <para><command>lpd</command> is the daemon.</para></sect3>
|
---|
| 130 |
|
---|
| 131 | <sect3><title>lpq</title>
|
---|
| 132 | <para><command>lpq</command> is the status monitoring program.</para></sect3>
|
---|
| 133 |
|
---|
| 134 | <sect3><title>lpr</title>
|
---|
| 135 | <para><command>lpr</command> is the job spooler program.</para></sect3>
|
---|
| 136 |
|
---|
| 137 | <sect3><title>lprm</title>
|
---|
| 138 | <para><command>lprm</command> is the job removal program.</para></sect3>
|
---|
| 139 |
|
---|
| 140 | <sect3><title>lprng_certs</title>
|
---|
| 141 | <para><command>lprng_certs</command> is a program used to manage
|
---|
| 142 | <acronym>SSL</acronym> certificates for the LPRng
|
---|
| 143 | software.</para></sect3>
|
---|
| 144 |
|
---|
| 145 | <sect3><title>lprng_index_certs</title>
|
---|
| 146 | <para><command>lprng_index_certs</command> creates a set of index files
|
---|
| 147 | in the LPRng signing certificate directory.</para></sect3>
|
---|
| 148 |
|
---|
| 149 | <sect3><title>lpstat</title>
|
---|
| 150 | <para><command>lpstat</command> is the job status program.</para></sect3>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|
[af01225] | 153 |
|
---|
| 154 | </sect1>
|
---|