MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

PostScipt from Mathlink

  • To: mathgroup at
  • Subject: [mg57465] PostScipt from Mathlink
  • From: "Zhu Chongkai" <mathematica at>
  • Date: Sat, 28 May 2005 05:40:31 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In, it says (in
Section 2.6):

> You will get back a ReturnPacket containing the Graphics object, and also a series of DisplayPackets containing PostScript (the last one of which is a DisplayEndPacket). If you want to display the graphic you have two choices: either render the PostScript somehow, or convert the Graphics object into a form that you can render. This may seem obvious, but many programmers forget that handling the PostScript is not their only option.

> It is likely that in the future the PostScipt interpreter that is built into the notebook front end will be spun off as a separate MathLink program that is callable by programmers. When this happens, it will be easy for MathLink programmers to render Mathematica PostScript in their own programs. Until then, though, dealing with PostScript is problematic unless your machine or environment supports PostScript rendering.

It seems to me that "psrender" is the "separate MathLink program that
is callable by programmers". But I still don't know how to call it. And
I want a solution that can work under Windows, Unix, and Macintosh.

Could anyone help? Thanks.

Chongkai Zhu

  • Prev by Date: Re: How to get decent quality plots.
  • Next by Date: Re: a dangerous feature of Module[]?
  • Previous by thread: using Scripts with GUIKit (bug?)
  • Next by thread: Re: PostScipt from Mathlink