🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #444

Re: Dynamically print Today's date on PDF at time of printing

#444
From: Bernd Alheit
Date: Mon, 23 Mar 2009 15:07
4 lines
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());
Technical Details
Message-ID: <59b86203.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b86203.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,1ba4b4cc76758cb5
X-Google-Attributes: gid10273d,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bernd Alheit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.reader
Subject: Re: Dynamically print Today's date on PDF at time of printing
Message-ID: <59b86203.0@webcrossing.la2eafNXanI>
Date: Mon, 23 Mar 2009 08:07:35 -0700
References: <59b86203.-1@webcrossing.la2eafNXanI>
Lines: 5
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit