[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Swftools-common] Word Document to PDF conversion

From: Matthew Richer
Subject: RE: [Swftools-common] Word Document to PDF conversion
Date: Fri, 22 Jan 2010 09:09:03 -0500



I know there the ability to print from the command line, so if you have a ghostscript printer driver or some other PDF printer driver you could print to PDF directly from the command line.  As such I do not know of any command line switch that will export right to PDF.  However, there is the /m command line switch where you can execute a macro, so perhaps you can have the macro do the export.  I was using the .NET API dlls to perform the automation (which essentially works the same as OpenOffice in that you can control the application and make it do what you want).


As a side note the "Save As PDF" plugin for Office 2007 works for all their applications (well at least Word, Excel, Powerpoint, Publisher - I've tried those).


Email me directly if you have more questions since this is pretty much no longer SWFTools related.




From: address@hidden [mailto:address@hidden On Behalf Of Eric Wood
Sent: Friday, January 22, 2010 8:38 AM
To: address@hidden
Subject: Re: [Swftools-common] Word Document to PDF conversion



This interests me.   Is there some kind of .cmd wrapper script on the server which is executes winword.exe with an argument to that Word2PDF function?  Can you give some details about how you connected the dots?


Much appreciated.

-Eric Wood
International Plastics, Inc.



----- Original Message -----

We use Office 2007 to do the automation server side.  Technically Microsoft frowns upon it, but it works.  Office 2007 has a "Save As PDF" plugin (or it included in Service Pack 2).  Here go (if the list smashes my code indenting you can email me directly and I'll send it over (FYI Office's API is not all that great but it gets the job done):


reply via email to

[Prev in Thread] Current Thread [Next in Thread]