From owner-freebsd-questions Fri Nov 17 10:48:46 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA21925 for questions-outgoing; Fri, 17 Nov 1995 10:48:46 -0800 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA21918 for ; Fri, 17 Nov 1995 10:48:42 -0800 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA23408; Fri, 17 Nov 95 12:47:36 -0600 Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA16926; Fri, 17 Nov 1995 11:47:29 -0700 Date: Fri, 17 Nov 1995 11:47:29 -0700 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9511171847.AA16926@emu.fsl.noaa.gov> To: wwong@wiley.csusb.edu Cc: questions@freebsd.org In-Reply-To: <199511101642.IAA16779@wiley.csusb.edu> (message from William Wong on Fri, 10 Nov 1995 08:42:54 -0800 (PST)) Subject: Re: Printer filters... Sender: owner-questions@freebsd.org Precedence: bulk >>>>> "William" == William Wong writes: William> an Epson 1170 print driver. Since the output from the William> Windows machines are not text, the special characters are William> killing the default filter, if there is one, that lpd William> uses. Try using this filter instead: ------------------------------------------------------------------------ #!/bin/sh # # Pass-through filter. Ignores filter arguments. Passes data. # Installed in /usr/local/libexec/passthru /bin/cat && exit 0 || exit 2 ------------------------------------------------------------------------ And then specify it in your /etc/printcap: :if=/usr/local/libexec/passthru And don't forget to make it executable: chmod 555 /usr/local/libexec/passthru -- Sean Kelly NOAA Forecast Systems Laboratory, Boulder Colorado USA Sometimes when I feel like killing someone, I do a little trick to calm myself down. I'll go over to the person's house and ring the doorbell. When the person comes to the door, I'm gone, but you know what I've left on the porch? A jack-o-lantern with a knife stuck in the side of its head with a note that says "You." After that, I usually feel a lot better, and no harm done. -- Jack Handey