Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 01:49:09 -0700
From:      perryh@pluto.rain.com
To:        dc@dcoder.net
Cc:        questions@freebsd.org
Subject:   Re: need network printer printcap example
Message-ID:  <4a30c505.FiMIBux9WA4OPHOh%perryh@pluto.rain.com>
In-Reply-To: <20090611040100.GC22083@mail2.dcoder.net>
References:  <20090611040100.GC22083@mail2.dcoder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
dacoder <dc@dcoder.net> wrote:
> has anybody got an example of a printcap file w/ an entry
> for a standalone network printer?

This is for a printer that understands lpd protocol natively,
and it presumes that you will send it only languages that it
understands natively.  (This one happens to be smart enough
to handle -- at least -- both plain text and PostScript; if
you want to "lpr textfile" to a PostScript-only printer you'll
need some filters.)

lp|Samsung ML-2571N PostScript network printer:\
	:sh:\
	:rm=ml2571n:sd=/var/spool/output/ml2571n:lf=/var/log/lpd-errs:

You also need to map the name to an IP address in /etc/hosts,
something like this

192.168.200.201		ml2571n

or in DNS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4a30c505.FiMIBux9WA4OPHOh%perryh>