Skip to main content
Participant
March 25, 2025
Question

need help printing hundreds of copies of booklets with different numbers

  • March 25, 2025
  • 2 replies
  • 377 views

I need to print about 100 copies of an 12 page booklet with numbers from 1 to 100 on the top left. Traditionally we write these by hand but I figured that surely there is a way to automate this process. We will also need to print more like this in the future so this will save a lot of manual labour if this can be sorted out. Thank you!

Is the ideal way to use Acrobat with Javascript? Indesign? I heard Java Script is the best way to print sequential numbers on the front of my books. I can not seem to figure this out, any help would be appreciated! Thank you. I am completely new to using JS. I am open to other solutions as well. 

 

2 replies

PDF Automation Station
Community Expert
Community Expert
March 25, 2025

You can create a form field (named Number in this example) and then run the following script in the console:

for(var i=1; i<101; i++)

{

this.getField("Number").value=i;

this.print(false);

}

try67
Community Expert
Community Expert
March 25, 2025

Just make sure you used the correct print settings before running this code, as the print command will use the last set of settings that were used (if you don't tell it explicitly to use other settings), or you'll get 100 copies of the file printed incorrectly!

try67
Community Expert
Community Expert
March 25, 2025

Yes, using JS is the best option for this. You can do it in various ways. You can add a field and populate it in each print-out with a different number, or generate multiple files and then print them, or use watermarks, etc.

I've developed a (paid-for) tool that will generate the files for you with the codes, and then you can just print them out:

https://www.try67.com/tool/acrobat-create-copies-with-unique-codes

If you don't want to save the files and just want a print-out with unique codes, that's also something I could create for you, so feel free to contact me privately via a PM or email to discuss it further.