[comp.windows.x] X Window to POSTSCRIPT dumper

bchen@esvax.berkeley.edu (Benjamin Chen) (02/25/89)

     I have written a simple program to dump an X window to a Postscript.
It is written for X10 but will soon be converted to X11.  The conversion is
pretty trivial, since all it does is map the RGB values of a pixel
to the standard gray scale, however I probably won't get to it until
about May.  If anyone is interested in the program (obtaining it or
porting to X11) send me mail.  If I receive enough interest, I'll post
it in comp.sources.x.

	BC

Benjamin Chen
Office:   550-A4 Cory Hall, 2-4332
UUCP:     !ucbvax!esvax!bchen               
HEPNET:   LBL::"bchen@esvax.Berkeley.EDU"

janssen@titan.sw.mcc.com (Bill Janssen) (02/27/89)

Note that you can also use

	xwd | xpr -device ps -out file.PS

to get a PostScript image of a window into file.PS.

Bill