Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Automating adding blank pages to a .pdf doc

Explorer ,
Apr 16, 2019 Apr 16, 2019

I know how one can insert a blank page into a .pdf document.

I need to automate the process somehow.

I have a large document that is a set of 1- or 2-page documents.  I want to standardize the large document so it becomes a set of 2-page documents, so I need to insert a blank page in the 1-page documents.

I can recognize something on the page to identify the 1- and 2-page sub-documents.

Any suggestions?

Thanks.

TOPICS
Edit and convert PDFs
1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 16, 2019 Apr 16, 2019

This is easily done with a script, and you can use it as a part of an Action (in Acrobat Pro) to process multiple files.

Do you want to add the blank page before or after the original one?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 16, 2019 Apr 16, 2019

Thanks.  I will investigate this approach.

I will need to include some logic such as:

Loop through all the pages

If current page has certain characteristic

     insert a blank page before it

end if

end loop

I'll look for an example script of this format and type.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 16, 2019 Apr 16, 2019

That's much more complicated. The original request of adding a blank page if the file contains only one page is a single line of code, though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 10, 2022 Feb 10, 2022

Are you, or anyone else, able to share what that line of code or action in Adobe would be? I have the same issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 20, 2024 Mar 20, 2024
LATEST

I have the same issue also. I need to add blanks to PDF's where a there isn't a second page.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines