[lug] Remote printing?
Scott Herod
herod at interact-tv.com
Tue Mar 20 19:24:26 MST 2001
Hello again Hugh,
Here are the answers to the questions that I couldn't provide
earlier. Still no luck.
Hugh Brown wrote:
>
> when you login to the printer host where does the last log say you are
> coming from (i.e. does it match what is written in hosts.lpd)
It only said the machine name but I added it and still no luck.
( I also restarted lpd on both after adding it. )
> what are permissions on /etc/hosts.lpd
>
> I have root:root 644 on mine.
Same.
> which printing subsystem are you using (berkeley lpd, lprng, etc.)?
Looks like Berkeley lpd.
>
> Hugh
>
> Scott Herod wrote:
> >
> > Hello,
> >
> > Sorry for another printer question...
> >
> > At home I have two machines on an isolated network. One
> > is attached to an Epson 740 printer on the parallel port
> > and prints fine. The two machines happily talk with telnet
> > and shared partitions using IP address or hostnames so
> > networking works fine. I just can't get the machine
> > connected to the printer to accept connections from the
> > other.
> >
> > The printer host has the following in its /etc/hosts.lpd
> >
> > + machine2.myhome.net
> > + 192.168.2.202
> >
> > Users on the two machines differ but the printcaps don't
> > set the user flag.
> >
> > Printcaps are
> > Machine 1:
> >
> > lp:\
> > :sd=/var/spool/lpd/lp:\
> > :mx#0:\
> > :sh:\
> > :lp=/dev/lp0:\
> > :if=/var/spool/lpd/lp/filter:
> >
> > Machine 2:
> >
> > lp:\
> > :sd=/var/spool/lpd/lp:\
> > :mx#0:\
> > :sh:\
> > :rm=machine1.myhome.net:\
> > :rp=lp:\
> > :if=/var/spool/lpd/lp/filter:
> >
> > When I try to print from machine 2, lpq says:
> >
> > machine2: waiting for queue to be enabled on machine1.myhome.net
> > Rank Owner Job Files Total Size
> > 1st root 10 ... 625 bytes
> >
> > machine1.myhome.net: /usr/sbin/lpd: lp: Your host does not have line
> > printer access
> >
> > I've restarted lpd multiple times on each machine.
> >
> > Any suggestions of how to get this to work would be greatly
> > appreciated.
> >
> > Scott
More information about the LUG
mailing list