pdf generation - How do I convert Word files to PDF using Word 2007 programmatically? -


I used to convert the word document to PDF through word automation: Tell the commandbars until someone with "PDMmaker" Not found, control and execute its calculations.

With Word 2007 it does not work anymore - although PDF Macer Com Edin can be installed and accessed through Acrobat menus.

PDFmaker is essential for quality reasons, so I can not use Microsoft "save as PDF" edit; Therefore the SaveAs method described in any other post is not applicable here.

Any thoughts?

A common way to get the PDF out of Word is to print a virtual PDF printer. I could bet you have established one. You may find suitable quality.

The code will be:

  application.ActivePrinter = "This PDF printer has got you" This document. Print Out OutputFileName: = "c: \ Whatever.pdf", printtofile: = true  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -