Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

162
Views
Adobe PDF Add Text Javascript to all even pages

How can I add a text field to all even pages of a pdf document? With the following the text is added only to the second page of the document.

if ( fld = "undefined" ) {
    var f = this.addField("MacroDate", "text", 1, [550,0,50,15]);
    f.delay = true;
    f.alignment = "center";
    f.fillColor = color.transparent;
    f.lineWidth = 0;
    f.strokeColor = color.black;
    f.borderStyle = border.s;
    f.textSize = 8;
    f.textColor = color.black;
    f.textFont = font.Helv;
    f.readonly = false;
    f.multiline = false;
    f.doNotScroll = true;
    f.value = util.printd("dd/mm/yyyy", new Date());
    f.delay = false;
} ```
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!