These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Merging PDF files using the SDK

apkrusty
Registered: Nov 15 2007
Posts: 2

How can I merge PDF files using the Acrobat 7.0 SDK?
I've looked in the Distiller SDK documentation, but I cannot find an API to do this. Thanks for your help.

My Product Information:
Acrobat Pro 7.0.0, Windows
dthanna
ExpertTeam
Registered: Sep 28 2005
Posts: 248
Sorry, wrong API. Distiller can only 'consume' PostScript. It knows nothing about the consumption of PDF.

The easiest way to do this would be to write a batch process using JavaScript that does a doc.insertPages(); This process will be the equivalent of page concatenation.

If you are looking at page overlay (one page on top of another) same process, but use doc.addWatermarkFromFile();

The JavaScript documentation found out in the SDK can provide you with the additional information you need.

Hope this helps.

Thanks for asking.

Douglas Hanna is a member of the Production Print Technology team at Aon.
www.aonhewitt.com