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_at_bates.mit.edu
--------------------------------------------------------------------------------
Received on Wed May 22 1996 - 18:26:13 NZST