Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2001 14:49:56 +0800
From:      Kevin Lui <kevinlui_hk@yahoo.com>
To:        freebsd-questions@freebsd.org
Cc:        lflui@yahoo.com
Subject:   Fwd: Re: Printing problem- can't start lpd
Message-ID:  <01070514552202.07682@Freebie.polyu.edu.hk>

next in thread | raw e-mail | index | archive | help
Hello, 
 
 I got a printing problem about the lpd, I just cannot start the lpd with the
 following lines in the printcap file.
 
 lp|local line printer:\
 	:sh:\
 	:lp=/dev/lpt0:sd=/var/spool/output/lpd:mx#0:lf=/var/log/lpd-errs:

 ef404 | HP LJ:\
 	:sh:\
 	:lp=:rm=158.132.148.254:sd=/var/spool/output/ef404:mx#0:lf=/var/log/lpd-errs:
 
 when I start lpd, I got the following error message.
 chkprintcap: ef404 and lp share the same spool, /var/spool/output/lpd
 lpd: 1 errors in printcap file, exiting

 However when I comment out one of them say the "lp| local line printer " part.

 I start lpd, no error message this time. But when I use lpq -q to check the
 printing status,
 
 if says,
 
 ef404:
 warning: no daemon present.

However,   I have check the directory /var/spool/output/ef404 do exist.
 
 Actucally, I tried to use different spool directory before, say,
 I create a directory /var/spool/ef404 and set sd=/var/spool/ef404:
 and change the owner of the directory to daemon.daemon and  770(chmod).
 
 and test it. But still cannot fix it!

 Can anyone tell me how to fix it? 
Thanks a lot!
 
 Regards,
 Kevin

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01070514552202.07682>