From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076332421464.tru64-unix-managers.marc@archive.invalid> From: "Ernie Bisson, MIT Bates Linear Accelerator" Date: Wed, 22 May 1996 15:55:26 +0000 To: tru64-unix-managers Subject: Creating color postscript file of an X-window X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076332421464 I need a solution to the following for Ultrix, but in the very near future will need it for Digital-Unix as well. So here goes, We have applications, written in-house, which create X-windows on color displays. The applications give the user the ability to print the window with the click of the mouse. Clicking on "print screen" simply executes the following script. #/bin/sh /usr/bin/X11/xwd -frame -id $3 -out $5 /usr/bin/X11/xpr -device ps -portrait $5 | lpr -x This all worked in color to an HP PaintJet XL printer. It also worked to a DEClaser 3250 (of course only in black and white). We have just purchased a Tektronix Phaser 550 color printer and have come to find out that creating a postscript file via "xpr" does not contain color of the image. I've read the man pages for "xpr" and have not discovered an obvious solution. Am my missing something? Do others out there do a similar operation using something other than "xwd" and "xpr"? Thanks for any help, -------------------------------------------------------------------------------- Ernie Bisson M.I.T. Bates Linear Accelerator P.O. Box 846 Middleton, Massachusetts 01949-2846 (508) 774-2370 or (617) 253-9218 E-Mail : bisson@bates.mit.edu --------------------------------------------------------------------------------