Converting to PDF from command-line

G

Guest

I would like to convert Word document to PDF in my build process, i.e from Ant build script or from a batch file.

Is there a way to do this conversion ? For example, by printing the document to a PDF file driver from command-line, or by using a dedicated tool that can be used in batch mode ?

thanks.
Adriano
 
R

Rob Schneider

Making PDF is relatively straight forward: use Adobe Acrobat, or maybe
something like Ghostscript. The trick to running all this from a script
outside to of Word is to use a scirpting language that can do COM to
drive Word to produce either the PDF (from Acrobat), or a PostSCript
file which you then convert to PDF via Ghostscript's bat files and programs.

Hope this is useful to you. Let us know.

rms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top