source: archive/lprng.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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