Date: Mon, 18 Feb 2002 15:46:43 -0800 From: "Crist J. Clark" <crist.clark@attbi.com> To: Graham Wheeler <gram@bradygirl.com> Cc: Stuart Tanner <stuart@sigterm.com>, freebsd-questions@FreeBSD.ORG Subject: Re: lpd not reading printcap? Message-ID: <20020218154643.R48401@blossom.cjclark.org> In-Reply-To: <E16cwAX-000NND-00@mail.netizen.co.za>; from gram@bradygirl.com on Mon, Feb 18, 2002 at 04:21:57PM -0600 References: <E16cwAX-000NND-00@mail.netizen.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 18, 2002 at 04:21:57PM -0600, Graham Wheeler wrote:
> Crist J. Clark <cjc@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020218154643.R48401>
