From owner-freebsd-questions Mon Feb 18 17:11:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.netizen.co.za (situs.netizen.co.za [209.61.189.116]) by hub.freebsd.org (Postfix) with ESMTP id 11B5637B405 for ; Mon, 18 Feb 2002 17:11:25 -0800 (PST) Received: from localhost.netizen.co.za ([127.0.0.1] helo=localhost) by mail.netizen.co.za with smtp (Exim 3.34 #1) id 16cynT-000NXd-00; Mon, 18 Feb 2002 19:10:19 -0600 To: "Crist J. Clark" , Graham Wheeler , Stuart Tanner , Subject: Re: lpd not reading printcap? From: Graham Wheeler Date: Mon, 18 Feb 2002 19:10:18 CST Reply-To: Graham Wheeler X-Priority: 3 (Normal) X-Originating-Ip: [131.107.3.86] X-Mailer: NOCC v0.9.5 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Crist J. Clark wrote : > On Mon, Feb 18, 2002 at 04:21:57PM -0600, Graham Wheeler wrote: > > Crist J. Clark &lang=en">cjc@FreeBSD.ORG> > wrote : > > > > > On Sun, Feb 17, 2002 at 05:08:44PM -0600, Graham Wheeler wrote: > > > > Stuart Tanner &lang=en">&lang=en">stuart@sigterm.com> > > > wrote : > > > > > > > > > You are not telling lpd which printer to use at the other end. You > > > > > have listed the remote machine but you don't have a rp entry. > > > > > > > > > > > > > > > > > You're right; I had forgotten that this is needed even if the remote > > > > printer is named lp. It's been a while. > > > > > > > > I used the example for a remote printer given in the default > > > > /etc/printcap; it is also missing the rp field so its a poor > > > > example. > > > > > > It's not needed when the remote is 'lp.' > > > > It is if lp is not the first name in the list. In my case I had: > > > > > > NEC-SW|lp|NEC SilentWriter PostScript: > > I cannot reproduce the problem. If I do, > > --- printcap 2002/02/18 23:43:56 1.1 > +++ printcap 2002/02/18 23:44:04 > @@ -1,6 +1,6 @@ > # $Id: printcap,v 1.1 2002/02/18 23:43:56 cjc Exp cjc $ > # > # Local printer > -lp|local line printer:\ > +dummy|lp|local line printer:\ > :sh:\ > :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: > > And restart lpd(8) on the printer server, it still works fine for me > without putting an 'rp' in the remote's printcap(5). Something a > little strange is going on. Both machines are FreeBSD? Yep, both running 4.5S, CVS synch'ed fairly close together. I can try reverting back to how I had it before and see if I can reliably reproduce the change (I'm not at that location now so it may take a while). gram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message