I need to programmatically flatten AEM pdf's
I need to programmatically flatten AEM pdf's.
I've searched the other posts here and do not see a solution to my need. Per the other responses though, I want to add that I am NOT trying to lock down or protect the documents from editing by flattening them. We maintain a local master copy of the documents, so integrity is not the goal. My need is simply to insure that the live data, watermarks, and signature images in the documents are visible in my end result when the user views the pdf in Chrome's built in pdf reader for example.
I can achieve this manually by opening the pdf in Adobe Reader and printing to a pdf (going thru a print to pdf printer driver), but I need a programmatic solution do do this on the fly after my webpage has constructed the document and filled it with data and signatures that I capture. cfpdf flatten function does not support LiveCycle and AEM documents...
Thanks in advance!
