Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!fitz From: fitz@mml0.meche.rpi.edu (Brian Fitzgerald) Newsgroups: comp.sources.wanted Subject: dump a region of SunView screen to a laser printer Summary: get dumpregion.c and patch from titan.rice.edu Keywords: SunView Message-ID: <*T_$Z`+@rpi.edu> Date: 27 May 90 16:19:17 GMT Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 23 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!