MathGroup Archive 2013

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

Search the Archive

Re: programmatically save as PDF (SaveRename problem)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130519] Re: programmatically save as PDF (SaveRename problem)
  • From: Daniel <dosadchy at its.jnj.com>
  • Date: Thu, 18 Apr 2013 05:34:15 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

I use Export[], for example:

Plot[Sin[x], {x, 0, 20}]

Export["e:\\test.pdf", EvaluationNotebook[], "PDF"];

> This works: 
> 
> FrontEndExecute[
>  FrontEndToken[EvaluationNotebook[], 
>   "SaveRename", {"C:\\temp\\temp.nb"}]]
> 
> 
> But how to save as PDF?
> 
> I expected to add a second parameter, but I could not
> make that work.
> 
> Thanks,
> Alan Isaac
> (Mathematica 9 on Windows)
>



  • Prev by Date: Easy to get the audio out of sync with the graphics (Repost)
  • Next by Date: How to remove a singularity
  • Previous by thread: programmatically save as PDF (SaveRename problem)
  • Next by thread: Re: programmatically save as PDF (SaveRename problem)