Subject: Re: Netatalk installing CUPS -- why?
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Malcolm Herbert <mjch@mjch.net>
List: tech-pkg
Date: 01/29/2005 11:20:34
On Fri, Jan 28, 2005 at 06:26:45PM -0500, Greg A. Woods wrote:
|[ On Friday, January 28, 2005 at 20:01:28 (+0100), Hauke Fath wrote: ]
|> And I've gotten rid of CUPS.
|
|Good move! I've kept well away from it right from the start (though
|I have always had the apparent "luxury" of having a real PostScript
|printer).

... and even if you don't your /etc/printcap would look like the
following (I have an HP LaserJet 4 with a JetDirect card, but sadly
without the PostScript ROM):

|lp|local printer:\
|        :sh:lp=9100@lp.internal:sd=/var/spool/output/lpd:\
|        :lf=/var/log/lpd-errs:of=/usr/local/bin/ps2ljet4

where lp.internal is the network address for my LaserJet.

/usr/local/bin/ps2ljet4 would look like:

|#!/bin/sh
|
|GS=/usr/pkg/bin/gs
|GSFLAGS="-q -sPAPER_SIZE=a4 -sDEVICE=ljet4 -dNOPAUSE"
|
|exec $GS $GSFLAGS -sOutputFile=- -

these work for me, but as usual YMMV ... 

-- 
Malcolm Herbert                                    System Administrator
ph [990] 54881 rm 28-241                          School of GeoSciences