Welcome Guest Search | Active Topics | Sign In | Register

Mixing Merge and Convert Options
Corey A
Posted: Friday, July 13, 2012 3:19:30 PM
Rank: Newbie
Groups: Member

Joined: 7/13/2012
Posts: 5
I have a project where I am trying to combine the output of a number of different process into a single PDF document. I need to convert a series of documents from html to PDF, then add a few PDF documents from other sources, and finally create a series of links and bookmarks from the converted html documents to the pre-existing PDF files.

At this point, I have tried creating the PDF and converting html documents into it. This works fine, and I have access to the HTML conversion results structure. So far so good. However, when I try to add the existing PDF files, I run into trouble.

I have tried saving the html converted PDF, then merging, then using the html conversion results on the merged document to create the links- no errors are thrown, but the resulting PDF cannot be read. I have also tried inserting pages from the pre-existing pdf files into the working pdf from the conversion process. This throws an error suggesting use of cloning. From what I have read in the forums, inserting pages is not going to work in this way.

My question: is there some way to insert pre-existing PDF documents into a PDF while using the htmltopdf conversion engine?

eo_support
Posted: Friday, July 13, 2012 3:42:53 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Yes. Ultimately you have to use Merge to merge everything. However before Merge you can use Split to "extract" a single page from an existing PDF file --- you can not add a PdfPage from PdfDocument A into PdfDocument B directly. However you can use Split on PdfDocument A to get a PdfDocument C that contains a single PdfPage (or several continuous pages), then call Merge to merge PdfDocument B with PdfDocument C.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.