I am trying to setup Postscript support for printing with lpr on a Laserjet 4L.
I have modified printcap and written a filter using ghostscript, but not
success. Can somebody help? Here is my setup:
printcap: lpps|hpljet3:\
:lp=/dev/lp1:\
:sd=/usr/spool/lp1:\
:sh:\
:sf:\
:mx#0:\
:of=/usr/spool/lp1/hpps:
hpps: gs -q -sDEVICE=ljet3 -sOutputFile=- -
When I use "cat file.ps | hpps | lpr" (with my text-only lp setup) it works ok,
but when I try to use "lpr -Plpps file.ps" I get "Ghostscript: Unrecoverable
error, exit code 1". Any ideas?
bruno