Here's how to expire your PDF on a certain date | Open a Dialog and then automatically Close
1. Create your PDF ('Print as PDF' is a quick way to do this outside of Adobe')
2. Open up your PDF in Adobe Acrobat Pro DC (Part of Adobe Creative Suite and required for this advanced editing)
7. On the 4th line of the code change the date of format "dd/mm/yyyy" to the expiry date that suits your needs and then enter your own message from line 13 (including updating the email address) and click 'OK'
That completes the code for the expiry and will open the expiry message when the date entered is passed and will then close the document, however we still need to protect the PDF.
8. To protect your document on save Go to 'File > Properties' and click on the 'Security' tab
9. Change the 'Security Method' to Password Security and then select your Security Restrictions. We generally don't want people to Copy / Edit the Text, but we do want them to Print in High Resolution so we set our documents up like so:-
10. Once you have made your selections add in the 'Change Permissions Password' and click 'OK'. You will then be prompted to '.. confirm the Permissions Password' and then hit 'OK' and come out of the Document Properties by clicking 'OK' again.
11. Now go to File > Save As and Save your document. You are now done and can close your time dependent PDF document for distribution.
This is the finished article which will close shortly after the prompt is displayed:-
Works with other PDF Software
You can also use this code to expire PDFs in other software. Our users have fond this to work in:-
- Expire PDF in Nitro Pro
Please let us know in the comments below if you have been able to expire a PDF in other software.