[comp.windows.x.motif] Hardcopy in X

shyam@atc1.UUCP (Shyam Mittur) (09/05/90)

Does anybody know of a strategy to obtain hardcopy from X clients that is
not restricted to the server's display resolution? For example, I would like
to preview an X-Y plot on a window and then get hardcopy from a 300 dpi 
PostScript printer, without being restricted to 75 or 100 dpi on the printer.

If there is enough interest, I will post a summary of the responses.

Thanks,

SHYAM MITTUR

poser@csli.Stanford.EDU (Bill Poser) (09/06/90)

In article <103@atc1.UUCP> shyam@atc1.UUCP (Shyam Mittur) writes:
>
>Does anybody know of a strategy to obtain hardcopy from X clients that is
>not restricted to the server's display resolution? For example, I would like
>to preview an X-Y plot on a window and then get hardcopy from a 300 dpi 
>PostScript printer, without being restricted to 75 or 100 dpi on the printer.

For arbitrary clients this is impossible in principle because they may
be drawing individual pixels. Only if they were restricted to drawing
higher-level objects (e.g. lines)  would there be a possibility of finding
out what objects they were drawing and redrawing them for hardcopy at
higher resolution. Of course, individual applications can often generate
hardcopy at better than monitor resolution, because they may have available
the abstract representation of the image. For example, my time-series
editor produces window dumps that look better than screen dumps because
I redraw the image from the internal representation in Postscript or PIC.

janssen@parc.xerox.com (Bill Janssen) (09/07/90)

In article <103@atc1.UUCP> shyam@atc1.UUCP (Shyam Mittur) writes:

   Does anybody know of a strategy to obtain hardcopy from X clients that is
   not restricted to the server's display resolution? For example, I would like

Sure.  Have the client generate different formats for different
output devices.  For example, the Andrew zip drawing editor draws
with pixels on the X Window System screen, but outputs PostScript
for the printer.  Frame's FrameMaker does this as well.

(Why do I think this wasn't the real question?)

Bill

--
 Bill Janssen        janssen@parc.xerox.com      (415) 494-4763
 Xerox Palo Alto Research Center
 3333 Coyote Hill Road, Palo Alto, California   94304