Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!esvax.berkeley.edu!bchen From: bchen@esvax.berkeley.edu (Benjamin Chen) Newsgroups: comp.windows.x Subject: Re: Dumping a X-Window to a Postscript Printer Message-ID: <30841@ucbvax.BERKELEY.EDU> Date: 23 Aug 89 18:14:08 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: bchen@esvax.berkeley.edu (Benjamin Chen) Organization: University of California, Berkeley Lines: 23 My direct mail bounced so here goes: >> but how can you get a dump of a *color* sun raster image being >> displayed in a X window and then print it on a Postscript printer? >This doesn't help you now, but there will be reasonable support for this in R4. If you are running X10, I wrote a utility that does just that (it dumps any color X window). If you are running X11, I believe the command is: xwd | xpr -device ps -out file.PS I was told by other people that this would work, but I haven't tried it myself. If it doesn't work, my friend has ported it to X11 which works and I can mail you if you want. BC Benjamin Chen Office: 550-A4 Cory Hall, 2-4332 UUCP: !ucbvax!esvax!bchen HEPNET: LBL::"bchen@esvax.Berkeley.EDU"