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

Inserting pages from one PDF into another PDF

New Here ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

Hi,

How can I insert pages from one PDF file into another PDF file in the following way using Acrobat Javascript?

Page1 of source PDF file will be insterted after page 1 of destination PDF file, page 2 of source file after page 2 of destination file etc keep inserting until last page n of source file is insterted after page n of dest file? (both source and destination pdf files have same number of pages)

 

Thank you!

 

TOPICS
Acrobat SDK and JavaScript

Views

234

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
Community Expert ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

So you mean interleave the two files? Yes, it's possible, but it's tricky. For starters, after you insert the first page after page 1, page 2 of the target file is no longer page 2, but page 3... So you'll have to either keep track of that when deciding where to insert each page, or do it in reverse (starting from the last page and moving backwards to the first).

 

I've actually created a (paid-for) tool that allows you to do it very easily and quickly. You can find it here: http://try67.blogspot.com/2008/12/acrobat-combine-even-odd-pages.html

 

Votes

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
Community Expert ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

Votes

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
Explorer ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

LATEST

Let me know if you find any best solution.

Votes

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