How to convert word to pdf using PHP in Linux, linuxpdf
How to convert word to pdf using PHP in Linux
1. Install libreoffice in ubantu
Sudo apt-get install libreoffice
2. Execute word to pdf on the command line
Convert cas.docx in the/home/wordToPdf/
How to use PHP to turn word to PDF in the Linux platform
1, Ubantu under the installation of LibreOffice
sudo apt-get install LibreOffice
2. Command line to perform word to PDF
Convert the Cas.docx in the/home/wordtopdf/wordfiles/directory into a
This article mainly introduces how to use python programs to generate word and PDF documents. This article provides a detailed introduction and sample code, and I believe it will be of reference value to everyone, if you need it, let's take a look.
The previous period was responsible for the design of the company's internal document platform, one of which was to be able to browse online user-uploaded Office files.
My idea is to convert office to PDF first, and then parse the PDF file
PHP calls OpenOffice to convert word to PDF. openofficepdf
Recently, I have been studying PHP Word documents to convert to PDF files, and I have searched many similar documents on the Internet, most of which are converted through OpenOffice.
The
The python program is used to generate word and PDF documents,
I. Procedure for exporting Word documents
Export web/html content as world documents, and there are many solutions in java, such as using Jacob, Apache POI, Java2Word, iText, and other
Which of the following commands can be used to convert word into pdf by calling the SaveAsPDF command in php? I 've been trying to search. The results won't be found... it's better to have a demo or something like that. thank you... because no one
I haven't found it for a long time, it seems that there are only two ways to solve this problem.
1 COM components that use MS, can only be used on a win server,
2, the use of OpenOffice this I do not know very well, as if to install OpenOffice,
Small series of non-professional PHP Professional staff, so before this small series still do not know how in PHP format, you can also convert Word files into PDF files, so today's small series and everyone to share with you in the word format of
Use this tutorial to install OpenOffice in Linux, with detailed installation and use Tutorials (http://www.cnblogs.com/sustudy/p/3999628.html) on the page.Now that you have read the tutorial, you should not deny that Linux has a very deceptive
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.