XML to PDF using the COM

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ADTRAN
Forum Newbie
Posts: 10
Joined: Fri Jun 09, 2006 4:39 pm

XML to PDF using the COM

Post 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
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

First make sure the server is running Windows IIS. If it's running Apache then you're SOL.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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..
Post Reply