fitz@mml0.meche.rpi.edu (Brian Fitzgerald) (05/27/90)
A while ago, I asked how to dump a region of the SunView screen to a laser
printer.
One way:
Use dumpregion.c and psraster.c. They are available by anonymous ftp
from titan.rice.edu in /sun-sources, or from the archive server at
email-server@rice.edu. (There are also patches to install.) To call up
these utilities using the mouse, put something like the following line in
/usr/lib/.rootmenu if you are superuser. Otherwise copy the menu to your login
directory.
"Print Screen Region"
sh -c "dumpregion | psraster -i | lpr -Plw ;
echo 'Screen region printed'.^G"
(This should all be on one line.)
Some users of the alv image processing package (available by email
from everson@cs.bris.ac.uk) use scr2ras.c in place of dumpregion
and ras2lw.c in place of psraster.c. Also, sun2ps can be substituted
for psraster; it available from sites that still archive volume 2
of uunet:comp.sources.misc.
Thanks to all who replied!