Forum


Replies: 11   Views: 2108
Pdf lossless compression doesn't work?
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  · 30-03-2020 - 18:25

Hello,

Everything looks correct. There are no more steps to add the macro.

Please rename the function macro name from:

Sub LosslessCompressionPdf(cFile)

to

Sub LosslessPdf(cFile)

and try again.

If after doing this change you still can't generate the document, if you send to contact[at]phpdocx.com SSH access and the path where phpdocx is installed we'll check it.

Regards.