source: pst/printing/lprng.xml@ 8794866

6.3 6.3-rc1 6.3-rc2 6.3-rc3
Last change on this file since 8794866 was d0151ee, checked in by Randy McMurchy <randy@…>, 16 years ago

Fixed broken download URLs in various package instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7445 af4574ff-66df-0310-9fd7-8a98e5e911e0

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