Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 1995 18:46:15 -0600
From:      kelly@fsl.noaa.gov (Sean Kelly)
To:        steinber@slinky.cs.nyu.edu
Cc:        questions@freebsd.org
Subject:   Re: 4 quickies (hopefully)
Message-ID:  <9507170046.AA23959@emu.fsl.noaa.gov>
In-Reply-To: <Pine.SUN.3.91.950716185344.27767A-100000@slinky.cs.nyu.edu> (message from Joseph Steinberg on Sun, 16 Jul 1995 18:56:27 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Joseph" == Joseph Steinberg <steinber@slinky.cs.nyu.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9507170046.AA23959>