开发者

Coverting DOC to PDF programmatically [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_如何学C

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for a library to help me convert DOC files to PDF using PHP.

I'm also open to using an external website if this functionality already exists elsewhere, as long as this website has a programmatic API and is free.

Any suggestions how to approach this?


I haven't looked at PHP in a very long time, but if you can make web service calls from it then try this product. It provides excellent conversion fidelity. It also supports additional formats including Infopath, Excel, PowerPoint etc and has Watermarking support as well.

Please note that I have worked on this product so the usual disclaimers apply.


Late but possibly useful as a general reference particularly in light of the "external website" option you mentioned - Docmosis provides a web-service api for creating doc + pdf + odt + other formats from any application that can invoke a REST web service (or HTTP post).


You can change the file extension of the word file to pdf,by using below code $filename = preg_replace('".docx$"', '.pdf', $filename);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜