Skip to main content
Sep 5, 2016 10:29 AM UTC
Answered

Ablaufdatum in PDF-Ausdrucke einfügen

Hallo Community,

ich würde gerne auf Ausdrucke von PDF-Dateien ein Ablaufdatum einfügen,

also bspw. im Footer "gedruckt am tt.mm.jjjj" - "gültig bis tt.mm.jjjj (+3 Tage ab Druckdatum)".

Ich benutze Acrobat XI Standard auf einem Win8 Rechner.

Danke schonmal,

Otto

btw, this is by far the WORST built forum i have ever seen!!!

"Changing" a language mixes the language with English and the chosen one.

"Overview" seems to be a Fremdwort here.

The whole site is a mixup between community, store and whatever could fit in ...

No offense meant, but maybe someone starts thinking about it.

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Sep 7, 2016 9:52 AM UTC

No script, just Tools > Pages > Header & Footer


OK, you can't use that if you want to insert a future date.

To do that you would need to use a form field and a script.

Create a read-only, print-only text field and name it "PrintDate".

Now go to Tools - JavaScript - Set Document Actions and under the Will Print event enter this code:

var d = new Date();

d.setDate(d.getDate()+3);

this.getField("PrintDate").value = "document expires " + util.printd("dd.mmm.yyyy", d);

10 replies

Sep 7, 2016 7:45 AM UTC

Okay, this time in English...

I should insert an expiry date on PDF printouts, i. e., in the footer "printed on dd.mmm.yyyy" (<- no problem to insert this one!!!)

"document expires dd.mmm.yyyy (= printing date + 3 days)"  <- That is the question!

Thanks in advance,

Otto

Translate
try67
Community Expert
Community Expert
Sep 7, 2016 9:20 AM UTC

Do you have Adobe Acrobat? If so, which version?

Translate
Sep 7, 2016 9:23 AM UTC

Adobe Acrobat XI

Translate