Merging several documents into 1 PDF

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
SteveN
User
Posts: 25
Joined: Mon Aug 23, 2004 4:57 pm

Merging several documents into 1 PDF

Post by SteveN » Wed Sep 08, 2004 3:14 pm

What is the best approach (inVB6 with PDF-Xchange 3) to take several files (eg a Word (.DOC), an Excel (.XLS) and an image (.TIF)) and output them all to a single Acrobat (.PDF) file.

Should I use the SDK or API ?
Should I convert each file to PDF first and then merge them ?

Steve

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Wed Sep 08, 2004 4:55 pm

Hi Steve,

Thanks for the enquiry,

You would be best placed to use a combination of the 2.

for the Office formats - you must user the driver API, as you have to open the file using the MS Office app in your code, print and then close - we do provide a simple example of doing this for VB in the evaluation SDK.

For Image files - you are best placed to use the Library Dll's.

If you choose the same file name you have the option to Overwrite if the file exists, insert to a specific page or append to the end of the file.

Again there is an image2pdf VB demo app provided.

Hope that helps
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Post Reply