[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LPRng Printing Problem



On Fri, Dec 03, 1999 at 03:18:13PM +0000, David B. Wilson wrote:
> Mirek Kwasniak wrote:
> > > #! /bin/sh
> > > gs -sDEVICE=pbmraw -q -dNOPAUSE -r600 -sOutputFile=- - | \
> > > pbm2ppa - -  |
> >                ^
> >                Why this pipe?
> pbm2ppa converts the ghostscript output into something my
> HP 720 can understand (ppa?).  The above script is verbatum
> from the pbm2ppa documentation.  I have tested the above 
> script and pbm2ppa program and can directly send a postscript
> file to the printer, I just can spool it with lprng.


I think the last pipe char is a bug.

> 
> 
> > When I have problems with filters I use tracing, try change your filter to:
> > 
> > #! /bin/sh
> > (
> > set -x
> > gs -sDEVICE=pbmraw -q -dNOPAUSE -r600 -sOutputFile=- - | \
> > pbm2ppa - -
> > ) 2> /tmp/printer.log
> > 
> 
> I tried this and the file /tmp/printer.log wasn't created, suggesting to
> me that lprng didn't even to as far as trying to filter the file?

Yes , it isn't on path or isn't executable.

Mirek


Reply to: