Subject: Re: using netatalk's psf filter
To: Sean Sweda <sweda@netcommandos.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 02/09/1998 10:10:26
On Sun, 8 Feb 1998, Sean Sweda wrote:

> 
> Has anyone had success using the psf filter that comes with the
> netatalk package with normal lpd printing?  I've tried to list
> it as a filter in order to allow printing of non-postscript files
> to a postscript printer, but it never seems to work.  Here's
> an example of my printcap file:
> 
> laser|Advantage Laser Printer:\
>         :sd=/var/spool/lpd/laser:\
>         :lp=/var/spool/lpd/laser/null:\
>         :lf=/var/log/lpd/laser:\
>         :of=/usr/local/atalk/etc/filters/ofpsf:\
>         :if=/usr/local/atalk/etc/filters/ifpsf:\
>         :tf=/usr/local/atalk/etc/filters/tfpsf:\
>         :rm=lp:rp=lp_cr:mx#0:
> 
> Piping a file through psf and then through lpr works fine, but
> normal printing does not seem to invoke psf.

I'd suggest doing something more like the psf manpage suggests:

of=/stuff/ofpap
if=/stuff/ifpaprev
tf=/stuff/tfpaprev

It seems ok for me. You can drop the "rev" bits, if you like.

Take care,

Bill