FPDF error: This document (testcopy.pdf) probably uses a compression technique which is not supported by the free parser shipped with FPDI
Solution :
Download the file from here according to your operating system.
Mine is Linux x86 (64 bit) so I have downloaded Ghostscript 9.27 for Linux x86 (64 bit)
I renamed the file as gslin64. Original filename was gs-927-linux-x86_64.
Save it in /usr/bin.
Now run the following command
Solution :
Download the file from here according to your operating system.
Mine is Linux x86 (64 bit) so I have downloaded Ghostscript 9.27 for Linux x86 (64 bit)
I renamed the file as gslin64. Original filename was gs-927-linux-x86_64.
Save it in /usr/bin.
Now run the following command
gslin64 -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=/tmp/abc.pdf input.pdf
where input.pdf is error pdf file and abc.pdf is error free output file which is saved inside /tmp directory
No comments:
Post a Comment