From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cfd3c0f3ef35ca8e X-Google-Attributes: gidfee84,public From: Timo Felbinger Subject: Re: if for remote printer local defined Date: 1998/08/27 Message-ID: #1/1 X-Deja-AN: 385205365 References: <904118947.620371@news.vbs.at> <6s10ln$oj7$1@lead.zk3.dec.com> <6s17g8$1lo$1@surz18.HRZ.Uni-Marburg.DE> <904204872.931088@news.vbs.at> To: Erhard Glueck Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Potsdam Mime-Version: 1.0 Reply-To: Timo.Felbinger@quantum.physik.uni-potsdam.de Newsgroups: comp.unix.osf.osf1 On Thu, 27 Aug 1998, Erhard Glueck wrote: > This I tried, but it with /dev/null I get the status speed -1 and nothing > happens > ------ > >: Digital UNIX does not use print filters in a remote lpd print > environment. > >: You will need to preformat the file prior to printing. > > > >Its like Ernest say, like most lpr systems. The old trick is to get a > >input filter to work is to use a _local_ dummy printer /dev/null in the > >/etc/printcap. Then the lpd runs the input filter ... > > > >Use a filter programm (/usr/local/daemon/filter/if_a2ps below) which > >catchs stdin and reformat it and send it to the remote printer (raw). > > Or, if you prefer a clean and flexible solution, go and get LPRng from http://www.astart.com/lprng/LPRng.html. It works fine for me on a small mixed network (Linux, Digital Unix), allowing an unlimited number of queues to be connected, each one with a certain filter (like, ASCII --(a2ps)--> PS --(ghostscript)--> PCL). Look for the term ``bounce queue'' in the documentation, that's what they call a queue with a filter which is connected to another queue. Timo Felbinger (Timo.Felbinger@quantum.physik.uni-potsdam.de) Quantum Physics Group Institute of Physics University of Potsdam, Germany