Forum


Replies: 1   Views: 2334
Trying to generate pdf using stream with premium licence but it's not working
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 28-03-2019 - 10:54

Hello,

The stream mode works for document generation output (https://www.phpdocx.com/documentation/cookbook/improve-phpdocx-performance, DOCX as a stream section), but not as source when using the conversion plugin. You need to generate the DOCX file and then transform it to PDF.

If you need help to debug the conversion plugin based on LibreOffice, please check the documentation available on https://www.phpdocx.com/documentation/conversion-plugin/debugging-libreoffice. The most common issue is missing rw access to the .config folder of the web user.

Also please note that trying to download more than one file should be avoided (https://stackoverflow.com/questions/3663127/php-multiple-file-download). You should compress the files into a single package such as ZIP.

Regards.