From: Robert Bauer (rbauer@ecst.csuchico.edu)
Date: 08/27/93


From: rbauer@ecst.csuchico.edu (Robert Bauer)
Subject: Re: lpr cannot connect to lpd - Slackware 1.01
Date: 28 Aug 1993 03:02:52 GMT

In article <1993Aug26.152232.27906@train.ufh.ac.za> bhv@cs.ufh.ac.za writes:
>bhv@cycad.ufh.ac.za wrote:
>: I've recently installed Slackware 1.01 and wish to print remotely
>: via TCP/IP. I've read the FAQ and done everything, but I still
>: do not get lpr to connect with lpd. Furthermore, when I re-start

I had a very similar problem, except that lpr worked fine when I was
the root user. I first suspected a problem with permissions, however
after setting those up according to the LPR FAQ, lpr still would not
work for anyone but root.

A little poking around in the /etc and /usr/bin files revealed that there
were two different copies of lpr. The copy which worked resided in /etc,
the other in /usr/bin. I don't know if there was a reason for having
the two copies, but I after I moved the "good" lpr from /etc into
/usr/bin (in the path of normal users) the print spooling system worked
as it should.

>and recompiled it, after which lpr/lpd works. So what's up with Slackware :-?
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is having two (different) copies of lpr an oversight, or is there some
(subtle) reason for this?

-Robert
rbauer@ecst.csuchico.edu