Subject: Re: Stupid printer question
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Ron Roskens <roskens@cs.umn.edu>
List: current-users
Date: 09/22/1996 11:23:26
Thus spake Jukka Marin:
> 
> (If this is not the proper place for asking this, then what is?)
> 
> I have written a print filter which understands PS, HPGL, Gerber, ASCII,
> and PDF file formats.  This filter reads from stdin and writes to stdout.
> How do I set up a printer entry in /etc/printcap?  I need the output to
> go to a remote printer over network.  The data coming out from the filter
> should not be changed in any way (it's all binary).
> 
> I had things working just fine when I had the filter piping it's output
> to lpr again, but then I changed it to use stdout and can't make it work.

You should setup your "filter" as the input filter.

lp:\
	:sd=/var/spool/lpd:lf=/var/spool/lpd/logfile:\
	:if=/path/to/input/filter:

Ron