1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY LPRng-download-http "http://sourceforge.net/projects/lprng/files/lprng/LPRng-&LPRng-version;/LPRng-&LPRng-version;.tar.gz" >
|
---|
8 | <!ENTITY LPRng-download-ftp " ">
|
---|
9 | <!ENTITY LPRng-md5sum "74c384b262c490dee31d7e2fa28ecf1d">
|
---|
10 | <!ENTITY LPRng-size "848 KB">
|
---|
11 | <!ENTITY LPRng-buildsize "12 MB">
|
---|
12 | <!ENTITY LPRng-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="LPRng" xreflabel="LPRng-&LPRng-version;">
|
---|
16 | <?dbhtml filename="LPRng.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>LPRng-&LPRng-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="LPRng">
|
---|
22 | <primary sortas="a-LPRng">LPRng</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to LPRng</title>
|
---|
27 |
|
---|
28 | <para>The <application>LPRng</application> package contains an enhanced,
|
---|
29 | extended and portable implementation of the Berkeley Line PRinter (LPR)
|
---|
30 | print spooler. This is useful for queuing print jobs.</para>
|
---|
31 |
|
---|
32 | <para>There may be a more recent release available from the
|
---|
33 | <application>LPRng</application> home page. You can check
|
---|
34 | <ulink url="http://sourceforge.net/projects/lprng"/> and probably use the
|
---|
35 | existing BLFS instructions. Note that versions other than the one shown
|
---|
36 | in the download URLs have not been tested in a BLFS environment.</para>
|
---|
37 |
|
---|
38 | &lfs70_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&LPRng-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&LPRng-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &LPRng-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &LPRng-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &LPRng-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &LPRng-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">LPRng Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
65 | <para role="optional"><xref linkend="openssl"/>,
|
---|
66 | <xref linkend="mitkrb"/> and
|
---|
67 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
|
---|
68 |
|
---|
69 | <para condition="html" role="usernotes">User Notes:
|
---|
70 | <ulink url="&blfs-wiki;/lprng"/></para>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2 role="installation">
|
---|
75 | <title>Installation of LPRng</title>
|
---|
76 |
|
---|
77 | <para>Install <application>LPRng</application> by running
|
---|
78 | the following commands:</para>
|
---|
79 |
|
---|
80 | <screen><userinput>./configure --prefix=/usr \
|
---|
81 | --libexecdir=/usr/lib/lprng \
|
---|
82 | --sysconfdir=/etc \
|
---|
83 | --enable-shared &&
|
---|
84 | make</userinput></screen>
|
---|
85 |
|
---|
86 | <para>This package does not come with a test suite.</para>
|
---|
87 |
|
---|
88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
89 |
|
---|
90 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 | <!--
|
---|
94 | <sect2 role="commands">
|
---|
95 | <title>Command Explanations</title>
|
---|
96 |
|
---|
97 | <para><command>sed -i 's@CLEAR ...'</command>: This fixes a
|
---|
98 | <application>GCC</application>-4 warning, treated as an error.</para>
|
---|
99 |
|
---|
100 | </sect2>
|
---|
101 | -->
|
---|
102 | <sect2 role="configuration">
|
---|
103 | <title>Configuring LPRng</title>
|
---|
104 |
|
---|
105 | <sect3 id="lprng-config">
|
---|
106 | <title>Config Files</title>
|
---|
107 |
|
---|
108 | <para><filename>/etc/printcap</filename> and
|
---|
109 | <filename>/etc/lpd/*</filename></para>
|
---|
110 |
|
---|
111 | <indexterm zone="LPRng lprng-config">
|
---|
112 | <primary sortas="e-etc-printcap">/etc/printcap</primary>
|
---|
113 | </indexterm>
|
---|
114 |
|
---|
115 | <indexterm zone="LPRng lprng-config">
|
---|
116 | <primary sortas="e-etc-lpd-star">/etc/lpd/*</primary>
|
---|
117 | </indexterm>
|
---|
118 |
|
---|
119 | </sect3>
|
---|
120 |
|
---|
121 | <sect3>
|
---|
122 | <title>Configuration Information</title>
|
---|
123 |
|
---|
124 | <para>There is no generic <filename>printcap</filename> for all printers.
|
---|
125 | A sample printcap is loaded into the <filename
|
---|
126 | class="directory">/etc</filename> directory which can be of some help.
|
---|
127 | Information is also available at <ulink url="http://www.lprng.org"/>
|
---|
128 | and <ulink url="http://www.linuxprinting.org"/>.</para>
|
---|
129 |
|
---|
130 | </sect3>
|
---|
131 |
|
---|
132 | <sect3 id="lprng-init">
|
---|
133 | <title>Boot Script</title>
|
---|
134 |
|
---|
135 | <para>Install the
|
---|
136 | <filename>/etc/rc.d/init.d/lprng</filename> init script included in
|
---|
137 | the <xref linkend="bootscripts"/> package (as the
|
---|
138 | <systemitem class="username">root</systemitem> user):</para>
|
---|
139 |
|
---|
140 | <indexterm zone="LPRng lprng-init">
|
---|
141 | <primary sortas="f-lprng">lprng</primary>
|
---|
142 | </indexterm>
|
---|
143 |
|
---|
144 | <screen role="root"><userinput>make install-lprng</userinput></screen>
|
---|
145 |
|
---|
146 | </sect3>
|
---|
147 |
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="content">
|
---|
151 | <title>Contents</title>
|
---|
152 |
|
---|
153 | <segmentedlist>
|
---|
154 | <segtitle>Installed Programs</segtitle>
|
---|
155 | <segtitle>Installed Library</segtitle>
|
---|
156 | <segtitle>Installed Directories</segtitle>
|
---|
157 |
|
---|
158 | <seglistitem>
|
---|
159 | <seg>cancel, checkpc, lp, lpc, lpd, lpq, lpr, lprm, lprng_certs,
|
---|
160 | lprng_index_certs, and lpstat</seg>
|
---|
161 | <seg>liblpr.{so,a}</seg>
|
---|
162 | <seg>/etc/lpd, /usr/lib/lprng, /usr/share/doc/&LPRng-version;,
|
---|
163 | /var/run/lpd, and /var/spool/lpd</seg>
|
---|
164 | </seglistitem>
|
---|
165 | </segmentedlist>
|
---|
166 |
|
---|
167 | <variablelist>
|
---|
168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
169 | <?dbfo list-presentation="list"?>
|
---|
170 | <?dbhtml list-presentation="table"?>
|
---|
171 |
|
---|
172 | <varlistentry id="cancel">
|
---|
173 | <term><command>cancel</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>is a symlink to <command>lprm</command> used to send cancel
|
---|
176 | requests to an <application>LPRng</application> print service.</para>
|
---|
177 | <indexterm zone="LPRng cancel">
|
---|
178 | <primary sortas="b-cancel">cancel</primary>
|
---|
179 | </indexterm>
|
---|
180 | </listitem>
|
---|
181 | </varlistentry>
|
---|
182 |
|
---|
183 | <varlistentry id="checkpc">
|
---|
184 | <term><command>checkpc</command></term>
|
---|
185 | <listitem>
|
---|
186 | <para>checks out the printcap database.</para>
|
---|
187 | <indexterm zone="LPRng checkpc">
|
---|
188 | <primary sortas="b-checkpc">checkpc</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="lp">
|
---|
194 | <term><command>lp</command></term>
|
---|
195 | <listitem>
|
---|
196 | <para>is a symlink to <command>lpr</command> used to send requests
|
---|
197 | to an <application>LPRng</application> print service.</para>
|
---|
198 | <indexterm zone="LPRng lp">
|
---|
199 | <primary sortas="b-lp">lp</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 |
|
---|
204 | <varlistentry id="lpc">
|
---|
205 | <term><command>lpc</command></term>
|
---|
206 | <listitem>
|
---|
207 | <para>is a control program for the <command>lpd</command>
|
---|
208 | daemon.</para>
|
---|
209 | <indexterm zone="LPRng lpc">
|
---|
210 | <primary sortas="b-lpc">lpc</primary>
|
---|
211 | </indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | <varlistentry id="lpd">
|
---|
216 | <term><command>lpd</command></term>
|
---|
217 | <listitem>
|
---|
218 | <para>is the print queuing daemon.</para>
|
---|
219 | <indexterm zone="LPRng lpd">
|
---|
220 | <primary sortas="b-lpd">lpd</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | <varlistentry id="lpq">
|
---|
226 | <term><command>lpq</command></term>
|
---|
227 | <listitem>
|
---|
228 | <para>is a status monitoring program.</para>
|
---|
229 | <indexterm zone="LPRng lpq">
|
---|
230 | <primary sortas="b-lpq">lpq</primary>
|
---|
231 | </indexterm>
|
---|
232 | </listitem>
|
---|
233 | </varlistentry>
|
---|
234 |
|
---|
235 | <varlistentry id="lpr">
|
---|
236 | <term><command>lpr</command></term>
|
---|
237 | <listitem>
|
---|
238 | <para>is a print job spooler program.</para>
|
---|
239 | <indexterm zone="LPRng lpr">
|
---|
240 | <primary sortas="b-lpr">lpr</primary>
|
---|
241 | </indexterm>
|
---|
242 | </listitem>
|
---|
243 | </varlistentry>
|
---|
244 |
|
---|
245 | <varlistentry id="lprm">
|
---|
246 | <term><command>lprm</command></term>
|
---|
247 | <listitem>
|
---|
248 | <para>is a print job removal program.</para>
|
---|
249 | <indexterm zone="LPRng lprm">
|
---|
250 | <primary sortas="b-lprm">lprm</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 |
|
---|
255 | <varlistentry id="lprng_certs">
|
---|
256 | <term><command>lprng_certs</command></term>
|
---|
257 | <listitem>
|
---|
258 | <para>is a program used to manage SSL certificates for the
|
---|
259 | <application>LPRng</application> software.</para>
|
---|
260 | <indexterm zone="LPRng lprng_certs">
|
---|
261 | <primary sortas="b-lprng_certs">lprng_certs</primary>
|
---|
262 | </indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | <varlistentry id="lprng_index_certs">
|
---|
267 | <term><command>lprng_index_certs</command></term>
|
---|
268 | <listitem>
|
---|
269 | <para>creates a set of index files in the
|
---|
270 | <application>LPRng</application> signing certificate directory.</para>
|
---|
271 | <indexterm zone="LPRng lprng_index_certs">
|
---|
272 | <primary sortas="b-lprng_index_certs">lprng_index_certs</primary>
|
---|
273 | </indexterm>
|
---|
274 | </listitem>
|
---|
275 | </varlistentry>
|
---|
276 |
|
---|
277 | <varlistentry id="lpstat">
|
---|
278 | <term><command>lpstat</command></term>
|
---|
279 | <listitem>
|
---|
280 | <para>is a print job status reporting program.</para>
|
---|
281 | <indexterm zone="LPRng lpstat">
|
---|
282 | <primary sortas="b-lpstat">lpstat</primary>
|
---|
283 | </indexterm>
|
---|
284 | </listitem>
|
---|
285 | </varlistentry>
|
---|
286 |
|
---|
287 | <varlistentry id="liblpr">
|
---|
288 | <term><filename class='libraryfile'>liblpr.{so,a}</filename></term>
|
---|
289 | <listitem>
|
---|
290 | <para>contains the API functions used by the
|
---|
291 | <application>LPRng</application> programs.</para>
|
---|
292 | <indexterm zone="LPRng liblpr">
|
---|
293 | <primary sortas="c-liblpr">liblpr.{so,a}</primary>
|
---|
294 | </indexterm>
|
---|
295 | </listitem>
|
---|
296 | </varlistentry>
|
---|
297 |
|
---|
298 | </variablelist>
|
---|
299 |
|
---|
300 | </sect2>
|
---|
301 |
|
---|
302 | </sect1>
|
---|