Skip to main content
carlh90791931
Participant
April 1, 2017
Question

Inserting blank pages to large PDF file.

  • April 1, 2017
  • 1 reply
  • 1560 views

I have a 700 page pdf document of invoices.  Some invoices are 2 pages, some 3 and some 4 pages long.  I need to insert a blank "This page intentionally left blank" page at the end of each invoice to make them all 5 pages long.  Is there an easy way to do this?  Maybe with javascript?  Really struggling here and any help would be much appreciated.

[Moved out of the non-support, general forum Lounge and into a PDF-specific support forum - moderator]

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
April 1, 2017

It might be possible to do it with JS, yes, but only if the end/start of each invoice can be identified. It's very hard to say for sure without seeing a sample file. Can you share one with us?

If you want you can send it to me privately at try6767 at gmail.com and I'll let you know if I think it's doable or not, and if so, for how much.

carlh90791931
Participant
April 1, 2017

I don't have a copy yet and probably won't until Monday.  I can tell you that each page has the unique invoice number on it so the start and end of each document is identifiable with that.

This is something my buddy will need to do on a regular basis so I am really looking for a one time solution we can implement rather than a paid service each time it needs to be done.

try67
Community Expert
Community Expert
April 1, 2017

If the files are consistent then you'll be able to use the script on them each time. It's not a one-time solution.