MathGroup Archive 2010

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

Search the Archive

Re: Printing large PDF files generated from Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108707] Re: Printing large PDF files generated from Mathematica
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 28 Mar 2010 04:08:31 -0500 (EST)

If you have Adobe Acrobat (i.e., with Distiller), you could just print 
to the PDF printer driver.

I've always found this works even when I failed to get a suitable 
printout by first exporting from Mathematica using Mathematica's 
built-in functionality to do so.

On 3/27/2010 6:11 AM, M Kelly wrote:
> Hi fellow Mathematica afficionados
>
> I am having difficulty printing large PDF files generated from
> Mathematica.
> I first generate the material as ExpressionCell[] and TextCell[]
> objects and generate the Mathematica document containing these cells
> using the command nb = CreateDocument[{Cells}]. I then use
> NotebookPrint[nb, file.pdf] to generate the corresponding PDF file.
>
> I have a large number of Chart[] objects embedded in many of the
> Cells. I also have to embed the output in the low level Cell[]
> structure so that I can arrange the material on separate pages in the
> final PDF document. This document is typically about 1.5 Mbs in size.
> When I open the file in Adobe Acrobat and it looks fine.
>
> But when I try to print the PDF file it generates an error message
> saying that it is trying to 'flatten' the contents of the file. I look
> at the size of the print file and it is enormous: usually hundreds of
> Mbs in size - far larger than the pdf file itself. Eventually the
> effort to print the document consumes the computer and it crashes!
>
> Has anyone else experienced a similar problem?
> Has anyone tried setting the Adobe Distiller program, which controls
> the printing process, to another setting? It appears that Adobe has
> great problems trying to interpret either Mathematica chart pictures
> or Mathematica cells. Which is it? Any help on this problem would be
> strongly appreciated
>
> Best Regards
> Michael
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Printing large PDF files generated from Mathematica
  • Next by Date: Re: Substitute expressions with FullSimplify
  • Previous by thread: Re: Printing large PDF files generated from Mathematica
  • Next by thread: Running Mathematica code using DOS