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


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

Re: programmatically save as PDF (SaveRename problem)

From Daniel <dosadchy@its.jnj.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: programmatically save as PDF (SaveRename problem)
Date 2013-04-18 09:33 +0000
Message-ID <kkoelk$gl1$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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)
>

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web