Home » Php » php – FPDF error: This document (mine.pdf) probably uses a compression technique which is not supported by the free parser shipped with FPDI

php – FPDF error: This document (mine.pdf) probably uses a compression technique which is not supported by the free parser shipped with FPDI

Posted by: admin July 12, 2020 Leave a comment

Questions:

How to settle down the problem?

How to&Answers:

When making your template, export it using the “PDF-A – 1a” export setting. (In Acrobat Pro you may SAVE AS with this setting)

More details: (MAC OSX but shoudl work for WIN as well)
Open your pdf in acrobat pro.
Save as -> MORE OPTIONS -> PDF/A
in the popup screen, press settings

In this screen make sure the option “CREATE PDF/A-1a according to the profile bla bla” and select CONVERT TO PDF/A-1a (sRGB)
printing conditions: sRGB
apply corrections = checked

now save and finish.

Answer:

I ran into this exact same problem recently. I was able to solve the problem using this gentleman’s PDF parser, which replaces the free one in FPDI. Granted, you will be paying 100 Euros for it, but if you need to have your software work for PDFs that use later compression algorithms, this is probably the best way to go:

http://www.setasign.de/products/pdf-php-solutions/fpdi-pdf-parser/

I have used it, and it works perfectly.

Answer:

Gavin worked around this problem by converting it down to pdf 1.4, I suggest you try the same before buying the expensive pdf.