From: bribbeck@exucom.com (Bob Ribbeck) Subject: Re: Problem with lpr/lpd solved? Date: 28 Jan 1993 00:45:25 GMT
Reinhold Schaaf (p412rei@fs1) wrote:
: Hi world,
: there was a discussion in this newsgroup some weeks ago about problems
: with lpr/lpd in SLS 0.99p2. Lpr can queue printjobs but is unable
: to start lpd again. It seemed to be the general opinion that this
: problem has to do with ownership and/or permissions of files. However,
: there was the claim of one poster that she found a bug in the lpr (or
: lpd) code.
: Unfortunately the discussion stopped at that point and I am left alone
: with my nonworking version of lpr. So, *please*, can anyone tell me the
: truth about lpr? Is it a question of file ownership/permissions or a
: bug? If it is a bug, is there a fix?
: Thank you all in advance
: Reinhold Schaaf
Using lpr spooling with lpd requires the tcpip network package.
hosts.equiv must be added to /ust/etc/inet
all that is in this file is the word localhost
in the /usr/etc/net services file make sure " lp 35/tcp " exists
lpr, lprm, lpq, and lptest in usr/bin must be group deamon
/usr/spool needs a lp0 directory with owner daemon group daemon
in lp0 make a blank file .seq with 666 permision group daemon
in /etc do: ln -sf /usr/etc/printcap printcap
ln -sf /usr/etc/lpd lpd
(the reason for this is lpr/lpq look's in one)
(directory and lpd looks in the other)
the printcap should be similar to this:
lp|epson:lp=/dev/lp0:sd=/usr/spool/lp0:lf=/usr/adm/lp0
This should get the print spolling working.