[comp.unix.xenix] Print-Screen program

raanan@bc-cis.UUCP (Raanan Herrmann) (09/01/88)

	At the request of some people - here is a program I wrote in shell
to print the screen of the console (from the shell prompt).


#! /bin/sh

# Once executed off the console, this program will print the screen at the 
# printer

stty -echo
echo -n [2i
head -24 <&1 > /tmp/z$$
stty echo
lp -s /tmp/z$$
rm /tmp/z$$


-- 
------------------------------------------------------------------------
Ron Herrmann  (jkfmny!ron, ron@jkfmny.UUCP raanan@bklyncis.BITNET)