Insert Blank Pages in an Even Document

New Here ,
Jun 27, 2019 Jun 27, 2019

Copy link to clipboard

Copied

Good day. I have several documents that i process on a daily basis. I have some documents that have 6 pages and others have 7. I need to ensure all documents have 7 pages. Basically i need to ensure all even docs are made odd

TOPICS
Acrobat SDK and JavaScript, Windows

Views

100

Likes

Translate

Translate

Report

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

correct answers 1 Correct Answer

Adobe Community Professional , Jun 27, 2019 Jun 27, 2019
Then you can use this code to do it:if (this.numPages==6) this.newPage();You can run it using an Action on all of your files to make sure they all have 7 pages.

Likes

Translate

Translate
Adobe Community Professional ,
Jun 27, 2019 Jun 27, 2019

Copy link to clipboard

Copied

Do you care what are the dimensions of the extra page? Should it be the last page in the file?

Likes

Translate

Translate

Report

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 ,
Jun 27, 2019 Jun 27, 2019

Copy link to clipboard

Copied

No requirements for dimensions

Likes

Translate

Translate

Report

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 ,
Jun 27, 2019 Jun 27, 2019

Copy link to clipboard

Copied

it should be the last page

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jun 27, 2019 Jun 27, 2019

Copy link to clipboard

Copied

Then you can use this code to do it:

if (this.numPages==6) this.newPage();

You can run it using an Action on all of your files to make sure they all have 7 pages.

Likes

Translate

Translate

Report

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 ,
Jun 27, 2019 Jun 27, 2019

Copy link to clipboard

Copied

LATEST

Much thanks. It works.

Likes

Translate

Translate

Report

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