I am looking for a way to convert XFA PDF files to regular PDF files that can be processed and / or compressed using Imagemagick or ghostscript, for example. All the options I found just remove the XFA tags, resulting in empty files.
One way is to use Adobe Acrobat Reader and print the file through a virtual printer. But this is not an acceptable option on the server.
IText is also not suitable, because it is too expensive for what we need. Anyone have an idea or is there a better way?
source share