The LPRng package contains an enhanced, extended and portable implementation of the Berkeley Line PRinter (LPR) print spooler. This is useful for queuing print jobs.
Download (HTTP): http://www.lprng.com/DISTRIB/LPRng/LPRng-3.8.28.tgz
Download (FTP): ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-3.8.28.tgz
Download MD5 sum: 1b3a0abd291b260eab6087ac0e61ed84
Download size: 10.2 MB
Estimated disk space required: 71.8 MB
Estimated build time: 0.42 SBU
OpenSSL-0.9.8d, TCP Wrapper-7.6, Heimdal-0.7.2 or MIT Kerberos V5-1.6, and krb4
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lprng
Install LPRng by running the following commands:
sed -i 's@CLEAR,0@CLEAR,CLEAR,NULL@' src/common/lpq.c && sed -i 's@\(fi\|done\) \\@\1; \\@' Makefile.in && ./configure --prefix=/usr --libexecdir=/usr/lib/lprng \ --sysconfdir=/etc --enable-shared && make
Now, as the root user:
make install install -v -d -m755 /usr/share/doc/lprng-3.8.28 && cp -v -R DOCS/* PrintingCookbook \ /usr/share/doc/lprng-3.8.28
sed -i 's@CLEAR ...': This fixes a gcc-4.1 warning, treated as an error.
sed -i 's@/\(fi ...': This fixes a syntax bug for newer makes.
There is no generic printcap for all printers. A sample printcap is loaded into the /etc directory which can be of some help. Information is also available at http://www.lprng.org, http://www.linuxprinting.org and the documentation installed in /usr/share/doc/lprng-3.8.28.
The init script installed by LPRng is not consistent with other BLFS scripts; therefore, install the /etc/rc.d/init.d/lprng init script included in the blfs-bootscripts-20060910 package (as the root user):
make install-lprng
You may also want to remove the lpd script that was installed in /etc/rc.d/init.d.
Last updated on 2006-09-24 21:27:17 -0500