Skip to main content
Participant
January 3, 2024
Question

Add two blank pages first and two blank pages last in document

  • January 3, 2024
  • 1 reply
  • 444 views

Is there a way to automatically add two blank pages first and two blank pages last to a document.

Have every week 40-100 documents where these pages are to be added.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 3, 2024

Yes, you can do it using a script. If you put that script in an Action you can run it on multiple files.

What size should those pages be, though?

Participant
January 3, 2024

A4 or letter, doesn’t really matter. I am going to print the documents as a brochure and the file contains different sizes that I adjust when printing.

try67
Community Expert
Community Expert
January 3, 2024

OK, then you can do it using this code:

 

this.newPage(0);
this.newPage(0);
this.newPage();
this.newPage();