These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Place a Blank Page after every PDF Page

Teele5
Registered: Mar 29 2010
Posts: 2

Hello there,

Please help, I know enough about java to be dangerous, and mostly everything works to my satisfaction. But this has me frustrated to the max.

What is required is a blank page to be placed at the back (even page) of each printed PDF page.

The reason for this is to create a booklet with a blank opposite the printed page to write notes and additions.

Any ideas/solutions would be most appreciated...

try67
Expert
Registered: Oct 30 2008
Posts: 2398
In the WillPrint event, check the number of pages in the file. If it's odd, then create a new blank page using app.newDoc() and insert it to the end of your file using this.insertPages().
You can even setup a DidPrint event to remove this extra page.

Edit: I think I misunderstood you. Do you want a blank page after EACH page, or just after the last page? My answer was for the latter. For the former, you need to create the blank page (as described above) and then loop over the document (from end to begining would be the best), inserting the blank page in each iteration.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

tilius
Registered: Nov 19 2011
Posts: 1
I would like to add a blank page after every page of a pdf document. These documents are large with 40,000 pages and I need to turn the source pdf in this case into 80,000 pages with blanks inserted after every non-blank pdf page. This is due to screwy behavior of my printer.

I haven't written any Acrobat scripting but have programmed. I have Acrobat Pro and PitStop etc.

Looking forward to the answer and getingt into writing a bit of scripting as you can then do what you want, not what is simply provided in the menus by another programmer, thanks in advance.