Path: utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!nrl-cmf!cmcl2!phri!bc-cis!raanan From: raanan@bc-cis.UUCP (Raanan Herrmann) Newsgroups: comp.unix.xenix Subject: Print-Screen program Message-ID: <1281@bc-cis.UUCP> Date: 31 Aug 88 21:49:43 GMT Reply-To: raanan@bc-cis.UUCP (Raanan Herrmann) Organization: Brooklyn College of CUNY, Brooklyn, NY Lines: 21 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)