Adobe Acrobat 9: Javascript: Merge Odd/Even Pages

  • Context: Java 
  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Javascript
Click For Summary
SUMMARY

The discussion focuses on merging odd and even pages from two separate PDF documents, Doc1.pdf and Doc2.pdf, using JavaScript in Adobe Acrobat 9. The user seeks assistance in utilizing JavaScript to insert the even pages from Doc2 into the correct positions in Doc1. It is noted that the user cannot install new JavaScript files due to administrative restrictions, but they mention the free software PDFsam as an alternative solution for merging PDF pages efficiently.

PREREQUISITES
  • Basic understanding of Adobe Acrobat 9 functionalities
  • Familiarity with JavaScript syntax and execution in the Acrobat environment
  • Knowledge of PDF structure and page numbering
  • Experience with PDF manipulation tools like PDFsam
NEXT STEPS
  • Learn how to execute JavaScript in Adobe Acrobat 9
  • Research JavaScript methods for manipulating PDF documents
  • Explore the features of PDFsam for PDF merging and splitting
  • Investigate advanced PDF scripting techniques for automation in Acrobat
USEFUL FOR

This discussion is beneficial for PDF developers, document management professionals, and anyone looking to automate PDF page merging using JavaScript in Adobe Acrobat 9.

Saladsamurai
Messages
3,009
Reaction score
7
Hey folks

I don't know if anyone can help with this, it should be straightforward though. I have a 2 PDF documents called Doc1.pdf and Doc2.pdf. Doc1 contains all of the odd numbered pages of a main document and Doc2 contains the even ones. I would like to merge the Doc2 even pages into Doc1 in their respective positions.

I am not sure how to use Javascript at all; I just know that it exists. If anyone could help out with this one, I would be quite grateful. All suggestions are welcome.

PS I do know that I have to do this from the Javascript console or window or whatever it is called since I cannot install new .js files (not adminstrator).
 
Technology news on Phys.org
I come up with the same problem to solve, and I suppose you can use the free software pdfsam to do this odd-even merging in one click. very nicely done.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
6K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
3K
Replies
2
Views
2K
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K