I set up an output filter for a plotter that sizes the page to
fit the plotter roll. The filter worked fine last week; I was
able to type lpr -Pplotter filename.ps and have the postscript
file filtered correctly before it got passed to the plotter.
My printcap entry looks like:
################################################################
#
#HP Design Jet PostScript Plotter
#
plotter|HP Design Jet 650C PS Plotter:\
:rm=pipeline:\
:of=/usr/local/bin/plotter.of:\
:sd=/var/spool/dj650c:\
:rp=dj650c:\
:lf=/var/spool/dj650c/ilog:\
:sh:ms=-opost:
################################################################
Last Friday everything worked fine. Today, it doesn't work. The file
just gets printed directly to the plotter and the output filter
never gets invoked. Same printcap entry. Same filter. Same file.
As far as I know the line printer daemon is unchanged. What could
account for this mystery? Why would an output filter get ignored?
I tried creating a new device using a new output filter, it also
got ignored. Can someone kindly explain to me how to install
output filters correctly, or refer me to a reference for doing so?
I've read all the man pages that were directly relevant to this
question: printcap, lpr, etc, and I remain unenlightened.
Guy Berliner
--