Dear all,
I inserted a js to show the current date and time in a form field when opening a document. I now wondered if there is a way to update date and time when printing the document so that the print out shows the exact time of printing. Now it prints the time when the document was opened.
I use the following version: Foxit PhantomPDF 8.2
js used: var fld = this.getField("Datum");
fld.value = util.printd("dd.mm.yyyy HH:MM",new Date());
Thanks for your help!
Agra
I inserted a js to show the current date and time in a form field when opening a document. I now wondered if there is a way to update date and time when printing the document so that the print out shows the exact time of printing. Now it prints the time when the document was opened.
I use the following version: Foxit PhantomPDF 8.2
js used: var fld = this.getField("Datum");
fld.value = util.printd("dd.mm.yyyy HH:MM",new Date());
Thanks for your help!
Agra
Comment