Jay, QPDF could be used for identifying whether a file contains forms or not. See
https://bugs.linuxfoundation.org/show_bug.cgi?id=1315 nad there comment #9 with the link to https://github.com/smilingthax/pdfformflatten This code identifies PDFs with forms but does not actually flatten them. pdftopdf could use this and if a form is found pass the PDF through Ghostscript/Poppler/MuPDF to flatten it and after that do the usual QPDF treatment of pdftopdf. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564249 Title: Cannot print a PDF with AcroForms using fit-to-page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1564249/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs