From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a4b82f30ca62cf60 X-Google-Attributes: gidfee84,public From: marek.pola@mailbox.swipnet.net (Marek Pola) Subject: Re: [Q] Printing to a network printer Date: 1995/12/21 Message-ID: <4bckk6$gl0@mn5.swip.net>#1/1 X-Deja-AN: 122486078 references: <30D6E752.5E5E@comverse.com> <4b9ush$3ap@govonca3.gov.on.ca> organization: - mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In article <4b9ush$3ap@govonca3.gov.on.ca>, tittaff@gov.on.ca says... > >Shlomo Hakim wrote: >>I've tried to add my own filter in the /etc/printcap file so it >>will add to correct printer commands but... and this is my question, for some very >>mysteriouse reasons the filter is totally ignored! Yes, I've also experienced that filters are ignored. However, it seems they are ignored only for remote printers, not it you are printing to a file. So, one solution that works for me, is that I let the first printcap entry print to a local dummy file, using a script as a filter, and in that script, there is a lpr command to a secondary printcap entry that actually performs the remote printing. This method has the disadvantage of cluttering down the printcap with two entries, but it works... Marek Pola Hacker Tetra Pak Data Systems, Lund, Sweden. marek.pola@tetrapak.400net.tip.net "Fascinating" - Mr Spock