Hey there!
    This is my port of lpr/lpd for the 3B2.  This implementation is not
directly tied into the stock lp utilities.  The main use for this package
is to print to remote printers that have queues on an internet host.  For
instance, I use the package to print to printers that have queues on a
VAX that run ULTRIX and a VAX that runs VMS with MultiNet.

To install:

    unpack the files and place lpd in /usr/lib.  Place the rest of the
binaries in /usr/bin.  Use the following permissions:

-rwx------   1 root     daemon    186198 Jul  9 18:39 /usr/lib/lpd

-r-xr-xr-x   1 lp       bin          687 Aug 13 12:42 /usr/bin/lp

This script does not need to be installed.  It just allows users to 
utilize lpr with the commands they are used to.  If you do install it,
please rename your original lp file.

-rws--s--x   1 root     daemon    152616 Jul 14 09:40 /usr/bin/lpq
-rws--s--x   1 root     daemon    129819 Jul 14 23:05 /usr/bin/lpr
-rws--s--x   1 root     daemon    140140 Jul 14 23:49 /usr/bin/lprm

Next, you need to setup your printcap file.  Edit the file to reflect your
system.

#
# Sample entry
#
prnname:\				This is the name you refer to the
					printer by.  ie. lpr -Pprnname
	:lp=:\				This is standard, leave it.
	:rm=foo.bar.bar:\		This is the name of the internet
					host which has the queue.
	:rp=prnname:\			This is the name the remote host
					knows the printer by.
	:sd=/usr/spool/prnname:\	This is a directory you set up to
					spool the files to.  I suggest
					that it be owned by daemon and 
					have a group by daemon.
	:lf=/usr/adm/lpd-errs:\		This is the location of the error
					file.

If this is the last entry do not follow the last field with a '\'.

Finally, create a directory called /usr/local/logs and a file called
/usr/local/logs/PLOG.  Set the ownership and permissions as follows:

drwxr-xr-x   2 bin      bin           48 Aug 27 15:58 /usr/local/logs
-rw-------   1 root     other         54 Jul 22 12:52 /usr/local/logs/PLOG


The last step is to execute lpd as root and go.....


Steven Kilby
--
ucqais.cba.uc.edu
