Jump to content

Edit Word


hmsilveira

Recommended Posts

Hi all,

 

I don't know if it is possible but i need to edit one word document, write the name of the customer in it, but at the right place and print it from a php form.

 

The user write in that php form the customer id and if he exists, the system should modify the word template and print it. Do you think this is possible and if so how can i do that?

 

Thanks in advance.

 

Hugo

Link to comment
https://forums.phpfreaks.com/topic/223473-edit-word/
Share on other sites

I would say that PDF is a more suited format. If you decide to go for that, you can use the TCPDF class to generate them.

 

If it has to be Word, I know there is some way to interface with an installed version of it on a Windows computer through COM objects. A simple Google search yields multiple classes that do this. I never used any of them myself, though.

Link to comment
https://forums.phpfreaks.com/topic/223473-edit-word/#findComment-1155179
Share on other sites

the problem is that i have to edit the document (word or pdf or anything else - is just a document with a picture and some text), write the customer name in a specific location and the print it. My problem is i don't know how to edit and write in the document. It seems like a mail merge but just for one customer at a time.

 

 

Link to comment
https://forums.phpfreaks.com/topic/223473-edit-word/#findComment-1155217
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.