Subject: Re: Stupid printer question
To: Jukka Marin <email@example.com>
From: Ron Roskens <firstname.lastname@example.org>
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.