Date: Fri, 17 Sep 2010 12:39:07 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Frank Shute <frank@shute.org.uk> Cc: questions@freebsd.org, Chabane HEMDANI <hemdani2009@gmail.com> Subject: Re: The nightmarish problem of installing a printer Message-ID: <alpine.BSF.2.00.1009171231250.74216@wonkity.com> In-Reply-To: <20100917171056.GA72692@orange.esperance-linux.co.uk> References: <AANLkTim89g-u-S4D0q-a_BgiG7Oy57dB-BDznN74g29A@mail.gmail.com> <20100917171056.GA72692@orange.esperance-linux.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Sep 2010, Frank Shute wrote: > I'm not going to tell you how to print with CUPS as it's too > complicated and fragile for my liking. Agreed. > Have you thought about using lpd(8)? If your printer can understand > Postscript (and I believe HP Laserjets can) then this can be a fairly > simple process as you just send the raw PS to the printer with lpr(1) > via a spool and filter. > > My filter: > > #!/bin/sh > > cat - > echo "\f" > > # That might not even be necessary; it just adds a formfeed to the job, which PostScript doesn't need. Helps with some PCL jobs, and PS printers usually do PCL also. > and my printcap(5) isn't overly complicated either and the format is > well documented in it's manpage. My lpd doc is an attempt to put everything about lpd in one place, with simple but complete examples: http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1009171231250.74216>