Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!gatech!ncsuvx!mcnc!duke!romeo!aw From: aw@romeo.cs.duke.edu (Angus Wang) Newsgroups: comp.windows.x Subject: troubles using xwd/xpr/lpr Keywords: xpr, xwd, lpr Message-ID: <13320@duke.cs.duke.edu> Date: 30 Jan 89 21:39:14 GMT Sender: news@duke.cs.duke.edu Lines: 25 I'm trying to get a window dump a graphing program I wrote using 'xwd' & 'xpr' in the following manner : 1) get application running and then type 'xwd -xy -out graf.scr' in another local window. 2) After getting 'cross-hair' cursor, I click on the window and wait for the 2 rapid beep, telling me xwd ius done. 3) type xpr -output graf.scr.ps -device ps < graf.scr 4) type lpr -Pps graf.scr.ps I'm running this on a Sun 4/110 with a color monitor (/dev/cgfour0) and trying to get it to print out on a postscript laser printer(apple laser writer). I can run 'xwud -in graf.scr' and the the correct image, but when I send it to the laser write via lpr -Pps, I just get a black rectangle where the image should be. Does anyone have any suggestions of what I am doing wrong? Does this process only work on B&W monitors? Any help would be greatly appreciated, Angus Department of Computer Science, Duke University, Durham, NC 27706 UUCP : decvax!duke!aw CSNET: aw@duke ARPA : aw@cs.duke.edu