Quantcast
Channel: Adobe Community: Message List - Printing & Prepress
Viewing all articles
Browse latest Browse all 15503

Re: Have a printed date and time stamp on pdfs.

$
0
0

Create a text field, let's say it's called "PrintDate". Then go to its Properties and under the General tab select "Form Field: Hidden but Printable".

Now go to Tools - JavaScript - Document Actions and enter the following code as the Will Print event:

 

this.getField("PrintDate").value = util.printd("mm-dd-yyyy HH:MM", new Date());

 

This will cause the field to update with the current date and time just before the file is printed.


Viewing all articles
Browse latest Browse all 15503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>