[comp.windows.x] Summary: X11 and GIF to color PostScript

arvind@rcsuna.uucp (Arvind Sabharwal) (09/24/90)

Thanks to all the people who graciously responded to my questions about
printing GIF and XWD (X11 window dump) pictures to our color Laser
Tektronix Phaser PX printer.

Here is the summary:
I) mark@motown.altair.FR (Mark James)  and "David B. Lewis"
 <david@ics.COM> suggested:

The PBM-Plus suite of programs (by Jef Poskanzer, available by ftp
from expo.lcs.mit.edu (18.30.0.212) in contrib/pbmplus.tar.Z) contains
the following programs:

giftoppm - convert a GIF file into a portable pixmap
xwdtoppm - convert a XWD file into a portable pixmap
ppmtops  - convert a portable pixmap into color Encapsulated PostScript
ppmtopgm - convert a portable pixmap into a portable graymap
pgmtops  - convert a portable graymap into Encapsulated PostScript

Examples: 
(1) GIF to colorPS: 
	giftoppm <file> | ppmtops | lpr -P<printer>
(2) X11 Window Dump to monochromePS:
	xwdtoppm | ppmtopgm | gmtops | lpr 

People who use XGRABSC instead of XWD will experience problems. I have
reported the bugs to Bruce Schuchardt <servio!bruce@uunet.uu.NET>, author
of XGRABSC, and he is looking into it. Temporary solution:
	xgrabsc -W | xwud & ....A window appears on the screen
	xwdtoppm | ppmtops | lpr -P<printer>   ....Select the new window

II) Other Solutions:

(1) garnett@cs.utexas.EDU (John Garnett) suggested:
>try the FBM
>package mentioned in the frequently asked questions (FAQ) posting.

(2) Cristy <cristy%ESSUN3%ESVAX@dupont.COM> suggested:
>XtoPS can be found in contrib/ImageMagick.tar.Z on expo.lcs.mit.edu.  It will
>do what you want.

(3) davidh8@pogo.wv.tek.COM (David Haigh) and the local Tektronix rep
(Steve Holland) were very eager to help me with some home-brewed code.
David mailed me their own XtoPS converter (over CSNET!).

(4) klong@bcm.tmc.edu called me up about some code he has written that
does what I wanted.

Thanks to one and all for their contributions. 
 
Arvind Sabharwal             ___     Phone: (313)986-1959   Fax:(313)986-2661
Computing Systems Dept. .___/___\_   CSNet: arvind@gmr.com
GM Research Labs        /_________\  UUCP: sharkey!cfctech!rphroy!rcsuna!arvind
Warren, MI 48090 USA      o      o   Internet: arvind@ss0.eng.wayne.edu