[lug] Remote printing?
Scott Herod
scott.herod at colorado.edu
Mon Mar 19 17:42:38 MST 2001
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