Date: Mon, 18 Feb 2002 19:10:18 CST From: Graham Wheeler <gram@bradygirl.com> To: "Crist J. Clark" <crist.clark@attbi.com>, Graham Wheeler <gram@bradygirl.com>, Stuart Tanner <stuart@sigterm.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: lpd not reading printcap? Message-ID: <E16cynT-000NXd-00@mail.netizen.co.za>
next in thread | raw e-mail | index | archive | help
Crist J. Clark <crist.clark@attbi.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16cynT-000NXd-00>