From owner-freebsd-questions Thu Dec 14 09:59:11 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA21885 for questions-outgoing; Thu, 14 Dec 1995 09:59:11 -0800 (PST) Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA21878 for ; Thu, 14 Dec 1995 09:59:08 -0800 (PST) Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA16274; Thu, 14 Dec 95 11:59:07 -0600 Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA27155; Thu, 14 Dec 1995 10:59:07 -0700 Date: Thu, 14 Dec 1995 10:59:07 -0700 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9512141759.AA27155@emu.fsl.noaa.gov> To: binhdo@cs.ubc.ca Cc: questions@freebsd.org In-Reply-To: <199512141734.JAA27083@grolsch.cs.ubc.ca> (message from Binh Do on Thu, 14 Dec 1995 09:34:07 -0800) Subject: Re: print-filter for Buble Jet 20 Sender: owner-questions@freebsd.org Precedence: bulk >>>>> "Binh" == Binh Do writes: Binh> At 09:26 AM 12/14/95 -0700, you wrote: >> I don't have a BubbleJet 20 ... is it compatible with HP/PCL? >> If so, you might be able to use the following: >> >> ------------------------------------------------------------------------ >> #!/bin/sh printf "\033&k2G" && cat && printf "\f" && exit 0 >> exit 2 >> ------------------------------------------------------------------------ >> Binh> Thank you, Sean. Unfortunately it does not work. Actually Binh> this example is shown in the handbook so I tried it before Binh> sending this message. Anyway thanks, Hmm, I guess it's not HP/PCL compatible, then. But don't give up hope yet: try this as the filter: ------------------------------------------------------------------------ #!/bin/sh awk '{print $0 "\r"} END {print "\f"}' && exit 0 exit 2 ------------------------------------------------------------------------ -- Sean Kelly NOAA Forecast Systems Laboratory, Boulder Colorado USA Too bad there's not such a thing as a golden skunk, because you'd probably be proud to be sprayed by one. -- Jack Handey