Print-Screen program
Raanan Herrmann
raanan at bc-cis.UUCP
Thu Sep 1 07:49:43 AEST 1988
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 at jkfmny.UUCP raanan at bklyncis.BITNET)
More information about the Comp.unix.xenix
mailing list