Re: printing to postscript with PV_WAVE [message #858 is a reply to message #853] |
Thu, 08 April 1993 09:44   |
laa
Messages: 3 Registered: August 1992
|
Junior Member |
|
|
In article <1993Mar31.172224.21830@acuson.com>, worth@acuson.com (Douglas
Worth) wrote:
>
> Does anyone know of an easy way to print the plot that you have
> on your X-display? I know how to plot to Postscript, but my real
> problem is those times when you work on adding little things to
> plots and then want a hard copy and there is no way to just
> zap what is already on the screen. Any help would be appreciated.
>
A couple of responses followed this posting. Here's my two bits:
Bill Thompson suggested using TVRD to read the image off the Wave-generated
X-Window, and then plotting the image to a Postscript file. Unfortunately,
this closes the X server connection, and any other Wave windows with it.
Rolf Diehl suggested using xwd, xpr and lp. This is a more general
approach, and has the advantage of being able to dump non-Wave windows as
well. Unfortunately, xpr is limited to at best a 4x4 dither representation
of color to a monochrome printer. It won't deal with color PS printers.
Also, I have been unable to render large windows, either by spreading them
across printed pages (-split n), or by scaling them (-scale n).
I've been looking at other alternatives, too. I've considered a variant of
Bill's method which would use DC_WRITE_TIFF instead of switching to
postscript. Then the tiff-printer (perhaps from Sam Loeffer's stuff?) could
be spawned. Again, this would require some contortions to print a non-Wave
window.
I guess the ideal solution would be to find a xwd-format to
PostScript-format converter. This would be similar to Rolf's solution, but
would avoid the weaknesses of xpr.
Does anyone know of such a utility?
------------------------------------------------------------ ------
Lee Ankeny
Los Alamos National Laboratory
laa@lanl.gov
|
|
|