source: pst/printing/lprng.xml@ 276015d2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 276015d2 was fed761a, checked in by David Jensen <djensen@…>, 18 years ago

2 seds in LPRng-3.8.28

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

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