Dear All,
I have a requirement where user should be provided with below features:
1. A PDF icon near the document name, such that when he/she clicks it, he should be presented with a PDF render of the document on the fly, such that the PDF rendition is not stored in the repository, but just opened for the user, so that they can read/print the same.
2. In this PDF rendition mentioned above, certain watermark also needs to be inserted as a part of header/footer of the document read from a config file based on the document type. Also, a print watermark, displaying the validity of the document to be for next 24 hrs from current time when the the user prints, basically the current date and time will be presented along with message for 24 hrs validity.
I feel point 1 is possible with combination of Adlib and Rendition module with little customization to call the standard function from renditions module on the click event of a link/image in front of the document name so that at the end of the rendition, it opens the document instead of creating the rendition and storing it.
But for Point 2, I am not having any pointers from the forums I visited. Please share any approcah if you have earlier implemented something like this.
Sample Watermark:
Good for date printed only:
“Doc#: P2P-SOP-004 - Version: 4.0 - Revision Date: 5/1/2008 11:13:32 AM Approver: Ormary J Aponte/Corporate/Mead
Convenience Copy Only - Good for date printed 4/23/2013-10:07:20 AM”
Automatic generation of Header and /or Footer according to properties/location:
“Doc#: P2P-SOP-004 - Version: 4.0 - Revision Date: 5/1/2008 11:13:32 AM Approver: Ormary J Aponte/Corporate/Mead
Convenience Copy Only - Good for date printed 4/23/2013-10:07:20 AM”
Regards,
Arun Yadav