Print to File (Word to PDF) 
Author Message
 Print to File (Word to PDF)

NG

I have found the answer.  (For NT) before printing amend the value of the
PDFFileName key in __PDF.ini - this surpresses the save as dialog.

I do however now have another problem!!

I am now getting one step further and an being presented with a document
info dialog box which I cannot seem to surpress with any of the keys in my
__pdf.ini file.  Does anyone know how to get rid of this ?

Please help

Chris

Quote:

> NG

> I am using the "Acrobat PDFWriter" printer driver to generate pdf output
> from a Microsoft Word document.

> In the code I pass a OutputFileName argument to the Document.PrintOut
method
> but Acrobat still prompts for a filename.  The application needs to run as
a
> service so this cannot happen.

> Is there any way of surpressing the dialog and passing in the filename
with
> code.

> I seem to remember a previous post about this referring to a registry key
> (HKCU/??) but cannot find it.  Also, as the app needs to run as a service
> when the machine is not logged on to I don't think HKCU will be of any use
> to me.

> This is all thats holding up the app going live and I urgently need help.

> Thanks

> Chris



Sat, 24 Jan 2004 14:02:08 GMT  
 Print to File (Word to PDF)
If you are using Acrobat 5.0, you should be using the registry, not the
__pdf.ini (provided for backward compatibility, mapped to the registry).
Obtain the Acrobat SDK from Adobe's web site, and check out
PDFWriterAPIReference.pdf (for Acrobat vesrion 5).  It documents all the
settings available.

HTH,
Tore.


Quote:
> NG

> I have found the answer.  (For NT) before printing amend the value of the
> PDFFileName key in __PDF.ini - this surpresses the save as dialog.

> I do however now have another problem!!

> I am now getting one step further and an being presented with a document
> info dialog box which I cannot seem to surpress with any of the keys in my
> __pdf.ini file.  Does anyone know how to get rid of this ?

> Please help

> Chris


> > NG

> > I am using the "Acrobat PDFWriter" printer driver to generate pdf output
> > from a Microsoft Word document.

> > In the code I pass a OutputFileName argument to the Document.PrintOut
> method
> > but Acrobat still prompts for a filename.  The application needs to run
as
> a
> > service so this cannot happen.

> > Is there any way of surpressing the dialog and passing in the filename
> with
> > code.

> > I seem to remember a previous post about this referring to a registry
key
> > (HKCU/??) but cannot find it.  Also, as the app needs to run as a
service
> > when the machine is not logged on to I don't think HKCU will be of any
use
> > to me.

> > This is all thats holding up the app going live and I urgently need
help.

> > Thanks

> > Chris



Sat, 31 Jan 2004 22:38:33 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. not allowing viewers to print PDF and also to protect PDF files with password

2. SAving a MS Word file to a PDF file and a text file

3. Converting Word Revision Marks to PDF Annotations Using PDF Marks

4. Converting Word BookMarks to PDF Files

5. Create adobe pdf files from word

6. Converting Word RTF Files with Bookmarks to PDF Forms

7. Open PDF-file from Word-Macro?

8. Converting word file to pdf format

9. Opening files (Word, PDF) in their native form

10. Issue With converting a Word File to PDF

11. PDF Files into Word

12. Printing a PDF file

 

 
Powered by phpBB® Forum Software