Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!EU.net!main.Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet From: j@ida.interface-business.de (J Wunsch) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: text to postscript filter in printcap broken Date: 3 Jul 1996 07:51:39 GMT Organization: interface business GmbH, Dresden Lines: 33 Message-ID: <4rd8qb$bug@innocence.interface-business.de> References: <4rc284$8ev@stout.entertain.com> Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) NNTP-Posting-Host: ida.interface-business.de X-Newsreader: knews 0.9.6 X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E dwatson@stout.entertain.com (Darryl Watson) wrote: > Here is the text2post filter: > > #! /bin/sh > /bin/cat - | /usr/contrib/bin/textps Just out of curiosity, what's the `cat' for? > > Here is my /etc/printcap on stout: > > oki|Okidata Postscript remote printer:\ > :lp=:rm=barley:rp=oki:sd=/var/spool/lpd:lf=/var/log/lpd-errs: > # > okitext|Okidata Postscript remote printer (text to postscript):\ > :lp=:rm=barley:rp=oki:sd=/var/spool/lpd:lf=/var/log/lpd-errs:\ > :of=/usr/contrib/bin/text2post:sh:mx=0: Printer filtering in the `classic' lpd is only done at the target machine, so any of= entry together with an rm= is useless. The usual workaround for this is to use lp=/dev/null, and have your printer filter itself calling lpd back to forward the filtered job to the remote printer queue. I think `plp' (the `public line printer') is supposed to handle local filtering even for remote printers. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j