From owner-freebsd-questions Sun Jul 16 17:43:06 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA14775 for questions-outgoing; Sun, 16 Jul 1995 17:43:06 -0700 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id RAA14769 for ; Sun, 16 Jul 1995 17:43:04 -0700 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA02551; Sun, 16 Jul 95 18:43:03 -0600 Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA23959; Sun, 16 Jul 1995 18:46:15 -0600 Date: Sun, 16 Jul 1995 18:46:15 -0600 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9507170046.AA23959@emu.fsl.noaa.gov> To: steinber@slinky.cs.nyu.edu Cc: questions@freebsd.org In-Reply-To: (message from Joseph Steinberg on Sun, 16 Jul 1995 18:56:27 -0400 (EDT)) Subject: Re: 4 quickies (hopefully) Sender: questions-owner@freebsd.org Precedence: bulk >>>>> "Joseph" == Joseph Steinberg writes: Joseph> The file that you gave me causes the printer to get stuck Joseph> in an endless loop -- saying that there is some error with Joseph> cat... Oh, bloody hell. Okay, try this, put :if=/tmp/blah: in /etc/printcap, then make the file /tmp/blah; put these lines into it: ---- #!/bin/sh exec 3>&1 exec cat 2>&1 1>&3 | logger -p lpr.emerg ---- Then, chmod 755 /tmp/blah. Then, try lpr. Let me know what error messages show up all over the place. For now, also put your HP into PostScript-only mode so we'll save on paper. -- Sean Kelly NOAA Forecast Systems Lab, Boulder Colorado USA If you go parachuting, and your parachute doesn't open, and your friends are all watching you fall, I think a funny gag would be to pretend you were swimming. -- Jack Handey