• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Automatic generated text on printouts

New Here ,
Apr 20, 2020 Apr 20, 2020

Copy link to clipboard

Copied

Hi

 

I want to protect a pdf in such a way that when people want to print it, it is allowed but on the printout a sentence stating that "this is a copy and is only valid on this date (the date of today is inserted)".

 

Does any of you know how to do this?

 

Thanks in advance

 

Regards Christine

TOPICS
Print and prepress , Security digital signatures and esignatures

Views

265

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2020 Apr 20, 2020

Copy link to clipboard

Copied

LATEST

Add a hidden (but printable) text field to your file and then use a script on the document's Will Print event to populate it.

If the field is called "PrintWarning" then the code would be:

this.getField("PrintWarning").value = "this is a copy and is only valid on this date " + util.printd("dd/mm/yyyy", new Date());

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines