Thread View: adobe.reader
2 messages
2 total messages
Started by Danny_Ng
Mon, 23 Mar 2009 14:45
Dynamically print Today's date on PDF at time of printing
Author: Danny_Ng
Date: Mon, 23 Mar 2009 14:45
Date: Mon, 23 Mar 2009 14:45
1 lines
758 bytes
758 bytes
I am looking for a way to print the current date on the PDF document. Perhaps, a field/variable/marker on the PDF document where it will be converted to the today's date at the time the document is being printed.
Re: Dynamically print Today's date on PDF at time of printing
Author: Bernd Alheit
Date: Mon, 23 Mar 2009 15:07
Date: Mon, 23 Mar 2009 15:07
4 lines
798 bytes
798 bytes
In Adobe Acrobat add a field named "Date" and add the following code as 'Document Wil Print' action:
var f = this.getField("Date");
f.value = util.printd("mm/dd/yyyy", new Date());
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads