From owner-freebsd-questions Mon Feb 18 15:46:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 7CE3D37B400 for ; Mon, 18 Feb 2002 15:46:44 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020218234644.MEHM2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Mon, 18 Feb 2002 23:46:44 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1INkhp37516; Mon, 18 Feb 2002 15:46:43 -0800 (PST) (envelope-from cjc) Date: Mon, 18 Feb 2002 15:46:43 -0800 From: "Crist J. Clark" To: Graham Wheeler Cc: Stuart Tanner , freebsd-questions@FreeBSD.ORG Subject: Re: lpd not reading printcap? Message-ID: <20020218154643.R48401@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gram@bradygirl.com on Mon, Feb 18, 2002 at 04:21:57PM -0600 X-URL: http://people.freebsd.org/~cjc/ 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 On Mon, Feb 18, 2002 at 04:21:57PM -0600, Graham Wheeler wrote: > Crist J. Clark wrote : > > > On Sun, Feb 17, 2002 at 05:08:44PM -0600, Graham Wheeler wrote: > > > Stuart Tanner &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? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message