Re: How to set up a network-attached printer
- From: Chris Hill <chris@xxxxxxxxxxxxxx>
- Date: Sun, 14 Oct 2007 15:29:41 -0400 (EDT)
On Sun, 14 Oct 2007, Warren Block wrote:
[snip]
For extra points, add another printcap entry for lp: that will print plain text.
I did something essentially identical to what Warren outlined, and it's worked fine for many years now, since long before I'd ever heard of CUPS. Here's the printcap entry:
# HP color laser
lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\
:sh:\
:sd=/var/spool/output/lpd:\
:mx#0:\
:lp=:rm=snowball:rp="auto":
By using various names separated by pipe symbols, they are all equivalent. Since one of them is lp, you can just send text to the printer and it works, e.g.
$ lpr textfile
I think that "lp" being the first entry makes it lpr's default; not positive about that.
/usr/ports/print/enscript* is nice for that, or lots of people use /usr/ports/print/apsfilter so they can send about anything to the printer and let it do the conversion.
The printer should already know how to print text. Just send it via lpr; no additional software needed.
--
Chris Hill chris@xxxxxxxxxxxxxx
** [ Busy Expunging <|> ]
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: How to set up a network-attached printer
- From: Martin Alejandro Paredes Sanchez
- Re: How to set up a network-attached printer
- From: Warren Block
- Re: How to set up a network-attached printer
- References:
- Re: How to set up a network-attached printer
- From: Warren Block
- Re: How to set up a network-attached printer
- Prev by Date: Re: Logitech G15
- Next by Date: Re: Logitech G15
- Previous by thread: Re: How to set up a network-attached printer
- Next by thread: Re: How to set up a network-attached printer
- Index(es):
Relevant Pages
|