LPRng-3.8.B

Introduction to LPRng

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.

There may be a more recent release available from the LPRng home page. You can check http://sourceforge.net/projects/lprng and probably use the existing BLFS instructions. Note that versions other than the one shown in the download URLs have not been tested in a BLFS environment.

This package is known to build and work properly using an LFS-7.0 platform.

Package Information

LPRng Dependencies

Optional

OpenSSL-1.0.0e, TCP Wrappers-7.6, MIT Kerberos V5-1.6, and krb4

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lprng

Installation of LPRng

Install LPRng by running the following commands:

./configure --prefix=/usr               \
            --libexecdir=/usr/lib/lprng \
            --sysconfdir=/etc           \
            --enable-shared &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Configuring LPRng

Config Files

/etc/printcap and /etc/lpd/*

Configuration Information

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 and http://www.linuxprinting.org.

Boot Script

Install the /etc/rc.d/init.d/lprng init script included in the blfs-bootscripts-20111226 package (as the root user):

make install-lprng

Contents

Installed Programs: cancel, checkpc, lp, lpc, lpd, lpq, lpr, lprm, lprng_certs, lprng_index_certs, and lpstat
Installed Library: liblpr.{so,a}
Installed Directories: /etc/lpd, /usr/lib/lprng, /usr/share/doc/3.8.B, /var/run/lpd, and /var/spool/lpd

Short Descriptions

cancel

is a symlink to lprm used to send cancel requests to an LPRng print service.

checkpc

checks out the printcap database.

lp

is a symlink to lpr used to send requests to an LPRng print service.

lpc

is a control program for the lpd daemon.

lpd

is the print queuing daemon.

lpq

is a status monitoring program.

lpr

is a print job spooler program.

lprm

is a print job removal program.

lprng_certs

is a program used to manage SSL certificates for the LPRng software.

lprng_index_certs

creates a set of index files in the LPRng signing certificate directory.

lpstat

is a print job status reporting program.

liblpr.{so,a}

contains the API functions used by the LPRng programs.

Last updated on 2011-11-18 20:09:42 +0000