MathGroup Archive 1999

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

Search the Archive

Re: Problem Display Format

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16906] Re: Problem Display Format
  • From: "P.J. Hinton" <paulh>
  • Date: Tue, 6 Apr 1999 01:27:33 -0400
  • Organization: "Wolfram Research, Inc."
  • References: <7bnvme$dmt@smc.vnet.net> <7cd2ll$nm9@smc.vnet.net> <7e9n76$3id@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 5 Apr 1999, Roger Jones wrote:

> In order to save graphics for inserting in Word97 I use Display as a WMF
> and also EPS.  However, both produce similar errors:
> 
> (Local) In[9]:=
> plt=Plot[Sin[x^2],{x,1,10}];
> 
> (Local) In[11]:=
> Display["test.wmf",plt,"Metafile"]
> Display::pserr:
>    PostScript language error:
>    error: undefinedfilename, command
>       --run--
> (Local) Out[11]=
> -Graphics-
> 
> What is going wrong?
> 
> Without specifing a particular format it does work (Display["test",
> plt] is ok)

This type of error message is being forwarded by the kernel from psrender,
which is responsible for doing the graphics conversion.  Such an error
message is often associated with psrender failing to open a file for read
or write access.  Here are some things you may want to to check.

1) When you invoke Display[], is the kernel's current working directory,
as returned by evaluating Directory[], a location where you have write
permissions?  How much disk space is available on that drive?

2) Do you have read permission on directories that contains psrender
ancillary files?  These directories can be determined by evaluating these
expressions.

ToFileName[{$TopDirectory, "SystemFiles", "Graphics", "SystemResources"}]
ToFileName[{$TopDirectory, "SystemFiles", "Fonts", "Type1"}]

If you can access them and list their contents, what files are present?

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com
Wolfram Research, Inc.                  http://www.wolfram.com/~paulh/
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Re: Eigenvalue Problem
  • Next by Date: Scheduling algorithms
  • Previous by thread: Problem Display Format
  • Next by thread: Re: Re: Re: Precision graphics