From owner-freebsd-newbies Wed Jul 4 2:15: 5 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 2EE0337B405 for ; Wed, 4 Jul 2001 02:15:02 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id CAA59012; Wed, 4 Jul 2001 02:03:34 -0700 (PDT) Date: Wed, 4 Jul 2001 02:03:34 -0700 (PDT) From: Annelise Anderson To: Kevin Lui Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: Printing problem- can't start lpd In-Reply-To: <01062715493000.08450@Freebie.polyu.edu.hk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Check to see if the directory /vsr/spool/output/ef404 really exists. If you comment sections of the file out as a test, comment out all the lines for a definition and restart lpd. Annelise (This sort of stuff really ought to be on -questions, shouldn't it?) On Wed, 27 Jun 2001, Kevin Lui wrote: > 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. > > 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-newbies" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message