Hi @sherwin_flight
Sorry about the delay in reply. I was trying to find my notes from back then, couldn’t find them :S.
Ah my issue was using the AWS Linux 2 AMI – It doesn’t support one of the components of PDFtk named CGJ. I was looking through my web history and I think I just found these components from another location and just did a wget and install… or pointed to other repositories…
Here’s an AWS post on it https://forums.aws.amazon.com/thread.jspa?threadID=96919
And here’s a PDFLABS post on an install process https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/
Can’t remember now if I did that process exactly but I think I found CGJ from somewhere…
Either way if you’re starting from scratch don’t use an EC2 instance with Amazon Linux 2, they tend to depreciate things a lot quicker for security etc. a lot quicker than some of the other distro’s.
I don’t think the built-in PDF Extension utility checker works either. I met all the requirements and it’s still saying I don’t, but eh.
I wanted to use some additional functionality to sign a PDF for a second round, after it’s been through the Ninja PDF once. I just installed all the components of PDF Ninja extension manually to do this, because the binaries have been compiled into a single file in /var/www/html/wp-content/plugins/wpcf7-pdf-forms-enterprise/bin/x86_64/vm
And I found that hard to call and use.. not the best coder going around but eh, you install the full versions of the components and you can call them from the shell by their name. Links below.
PDFtk – as above.
QPDF – https://qpdf.sourceforge.net/
Poppler’s pdfinfo – https://poppler.freedesktop.org/releases.html
Poppler’s pdftocairo – https://poppler.freedesktop.org/releases.html
ImageMagick’s convert – https://imagemagick.org/script/download.php
-
This reply was modified 4 years, 5 months ago by nickmcg27.