Page 1 of 1

XML to PDF using the COM

Posted: Thu Jun 15, 2006 9:49 am
by ADTRAN
Hi,

I need to convert an xml word document to a pdf, and I've gathered that using the COM is the best, simplest option here.

The script will be accessed through a browser, and will (among other things) need to convert an xml stored on the server to a pdf stored on the server.

Now, I'm new to COM use (and php in general), so:

The server I'll be using is not my own. Will I have to work with the server admin to get Word set up properly for this task?

Any tips about exactly what I need to do with word, etc to prepare for this?

Any other general tips about things like this?

Any suggestions are appreciated.

Thanks

Posted: Thu Jun 15, 2006 1:36 pm
by Ambush Commander
First make sure the server is running Windows IIS. If it's running Apache then you're SOL.

Posted: Thu Jun 15, 2006 1:38 pm
by feyd
Why not do the conversion through PHP so it's server independant? fpdf comes to mind. Just have to understand how to process the XML, which is pretty easy with PHP..