Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!att!cbnewsj!dy From: dy@cbnewsj.att.com (david.k.yip) Newsgroups: comp.windows.x Subject: tvtwm -- printing window problem with tvtwm Keywords: tvtwm,xwd,X,print Message-ID: <1990Oct3.135738.17668@cbnewsj.att.com> Date: 3 Oct 90 13:57:38 GMT Organization: AT&T Bell Laboratories Lines: 25 I have a little shell script (print_window) that takes a snap shot of a window or the screen. This simple shell script is built using xwd and xpr, see below: xwd -frame | xpr -landscape -compact -device ps | prt -l raw The last command in the pipe is our local postscript prt command. Now that I have switched over using tvtwm, the output of print_window no longer work correctly. When I select a window to be printed, the output used to be a snap shot of the selected window. But when using tvtwm, I get a snap shot of the whole screen. If the virtaul desktop option is NOT used, than everything works fine. Has anyone noticed this problem using xwd, running tvtwm + virtaul desktop, to print a window?? The print_window shell script is very useful in our environment and so is the virtaul desktop option. I don't want to lose either thus I would love to know what is the problem and the fix for it. Any info would be greatly appreciated, thanks. David K. Yip AT&T Bell Labs Middletown NJ (201)-957-5544 (dy@mtgzx.att.com)