Forum


Replies: 4   Views: 2410
How to repair a pdf that can't be merged
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  · 26-08-2021 - 05:37

Hello,

Please try using the following command to repair the PDF that uses ghostscript instead of pdftocairo:

gs -o document_repaired.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress document.pdf

If you send the PDF document to contact[at]phpdocx.com we'll check it.

Regards.