MathGroup Archive 2007

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

Search the Archive

Re: Version 6 NotebookPrint to file not woking for me

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78588] Re: Version 6 NotebookPrint to file not woking for me
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Thu, 5 Jul 2007 03:55:42 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <f6fq5m$8fk$1@smc.vnet.net>

Mark Fisher wrote:
> I see that NotebookPrint can take a file name as a second argument such 
> as "test.pdf". On my system this does not seem to actually write a file 
> or produce any output. If this is working for others, I'll try again; if 
> not, I'll report it as a bug (if someone hasn't reported it already).
> 
> $Version --> "6.0 for Microsoft Windows (32-bit) (April 20, 2007)"
> 
> --Mark Fisher

Mark,

The following works fine on my system: I can open the newly created file 
in Acrobat Reader. The PDF document is created int the directory pointed 
by the system symbol $UseDocumentDirectory. Have you check there? (Note 
that Mathematica does not return any messages that would indicate that 
it successfully created the file.)

In[1]:= nb = CreateDocument[{x^2}];
NotebookPrint[nb, "temp.pdf"]

In[3]:= $UserDocumentsDirectory

Out[3]= "C:\\Documents and Settings\\Jean-Marc\\Mes documents"

In[4]:= $Version

Out[4]= "6.0 for Microsoft Windows (32-bit) (April 20, 2007)"

Regards,
Jean-Marc


  • Prev by Date: Re: Is there a way to make ListConvolve to use a adaptive kernel?
  • Next by Date: Re: Is there a way to make ListConvolve to use a adaptive kernel?
  • Previous by thread: Version 6 NotebookPrint to file not woking for me
  • Next by thread: Re: Version 6 NotebookPrint to file not woking for me