MathGroup Archive 2010

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

Search the Archive

Re: Can I set Page Setup scale for a notebook programmatically?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111767] Re: Can I set Page Setup scale for a notebook programmatically?
  • From: Nate Dudenhoeffer <ndudenhoeffer at gmail.com>
  • Date: Fri, 13 Aug 2010 06:52:21 -0400 (EDT)

I am trying to do exactly what is described in this older post.

Garapata, did you figure this out?  Or did you come up with an alternative
method?

Nate

On Sat, Feb 13, 2010 at 5:21 AM, Garapata <warsaw95826 at mypacks.net> wrote:

> I generate a notebook from a first notebook using:
>
> CreateDocument[
>  {
>  ExpressionCell[
>     ...a bunch of stuff...],
>   PageBreakBelow -> True, PageBreakWithin -> False],
>
>  Panel[
>    ...a bunch of stuff...
>   ]
>  }]
>
> For this particular notebook, when I want to print it or save it to a
> pdf file the PageBreakBelow -> True & PageBreakWithin -> False keeps
> the page breaks in the right place
>
> IF before printing, I go to File >> Print settings >> Page setup and
> adjust the Page Setup scale to something like 75%.
>
> I've tried
>
> Options[CreateDocument] //ColumnForm
>
> to see if I could find something set the Page Setup scale
> programmatically, but nothing obvious appears as an option.  I've
> looked at:
>
>  Magnification (this only changes the display size of the notebook),
>  PrintAction,
>  PrintingCopies,
>  PrintingPageRange,
>  PrintingStartingPageNumber,
>  PrintingStyleEnvironment,
>  PrintPrecision
>
> but I don't see a way to do it.
>
> I'd like to use something like CreateDocument to generate a multi page
> notebook, set its Page Setup scale, and then use Export[] to
> programmatically save it to a pdf file.
>
> Keen for your replies.
>
> Thx
>
>
> G
>
>



  • Prev by Date: Re: Problem with renaming Mathematica path on Mac OS X
  • Next by Date: Re: Re: A new graphic user interface
  • Previous by thread: Re: Problem with using Symbol[] in a loop
  • Next by thread: Re: Straightforward factoring and simplification