[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to print to a remote host using lprng



hi all,

i'm trying to do get my two computers to share a printer:

satan   (192.168.0.2):  has an hp laserjet6mp; runs standard lpd
navalle (192.168.0.3):  would like to use the above printer; runs lprng

printcap on navalle reads:
	lp
	:sd=/var/spool/lpd/lp
	:sh
	:mx=0
	:af=/var/spool/lpd/lp/acct
	:ml=0
	:lf=/var/spool/lpd/lp/log
	:cd=/var/spool/lpd/lp/
	:lp=lp@satan
	:if=/usr/share/lprngtool/master-filter
	:

when i try to print from navalle, i get the message:

	navalle:~# lpr testmsg
	navalle:~# lpq
	Printer: lp@navalle (dest lp@satan)
	 Queue: 1 printable job
	 Server: pid 19285 active
	 Unspooler: pid 19308 active
	 Status: attempt 2, sleeping 10 before retry at 12:10:41.100
	 Filter_status: lp is ready and printing
	 Rank   Owner/ID                  Class Job Files                 Size Time
	1      root                         A   284 testmsg                441
	12:10:40
	satan: lpd: Your host does not have line printer access

on satan, i created an /etc/hosts.lpd with the contents "192.168.0.3".
ipchains on satan is empty.

i'm completely stumped.  can someone please help?

thanks!
pete

-- 
"Coffee... I've conquered the Borg on coffee!"               p@dirac.org
       -- Kathryn Janeway on the virtues of coffee           www.dirac.org/p



Reply to: