need network printer printcap example

perryh at pluto.rain.com perryh at pluto.rain.com
Thu Jun 11 09:01:07 UTC 2009


dacoder <dc at 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.


More information about the freebsd-questions mailing list