Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14221 > unrolled thread

Re: programmatically save as PDF (SaveRename problem)

Started byDaniel <dosadchy@its.jnj.com>
First post2013-04-18 09:33 +0000
Last post2013-04-24 01:38 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: programmatically save as PDF (SaveRename problem) Daniel <dosadchy@its.jnj.com> - 2013-04-18 09:33 +0000
    Re: programmatically save as PDF (SaveRename problem) Alan <alan.isaac@gmail.com> - 2013-04-24 01:38 +0000

#14221 — Re: programmatically save as PDF (SaveRename problem)

FromDaniel <dosadchy@its.jnj.com>
Date2013-04-18 09:33 +0000
SubjectRe: programmatically save as PDF (SaveRename problem)
Message-ID<kkoelk$gl1$1@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)
>

[toc] | [next] | [standalone]


#14278

FromAlan <alan.isaac@gmail.com>
Date2013-04-24 01:38 +0000
Message-ID<kl7d3d$kd8$1@smc.vnet.net>
In reply to#14221
Yes, Export works.
Thanks.

But shouldn't it be possible with FrontEndExecute?

Alan Isaac

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web