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

Add "Date Printed" on a LOT of labels

New Here ,
Dec 08, 2016 Dec 08, 2016

I have a bunch of bottle labels in .pdf format. Currently I am editing each individual label to place two fields on them. The fields are "MonthPrinted" and "YearPrinted." Once I place the two fields on the label I add the following code to the Document Action "Document Will Print"

     var f = this.getField("MonthPrinted");

     f.hidden = false;

     f.value = util.printd("mmm", new Date());

     var g = this.getField("YearPrinted");

     g.hidden = false;

     g.value = util.printd("yyyy", new Date());

This works fine, but I now need to redo about 4000 labels and I am looking for a way to do this as a batch process so I don't have to add this code to each new .pdf file. In a past life I was a programmer (in assembler language, which tells you how old I am) but I am not familiar with newer languages and scripts.

Since this is for a business, I am willing to pay someone to assist me with this humongous task.

TOPICS
Acrobat SDK and JavaScript , Windows
337
Translate
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
LEGEND ,
Dec 08, 2016 Dec 08, 2016
LATEST

Acrobat Professional has an Action/batch processor taht can add a fields and theWill print action acropt.

Translate
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