Reputation: 1869
How can I create a new pages in a run-time HTML2PDF conversion using other PDFs as new pages?
I have a routine to convert some HTML data to PDF, but inside it may I need to merge a uploaded PDF file, sometimes it is a image or a doc file, easy to convert in html or media to put on PDF, but how can I merge a pre-existing PDF File as a new page at this existing PDF?
Upvotes: 0
Views: 1359
Reputation: 8877
Our software @cloudformatter can prepend or append existing PDFs to a formatted div or set of div's.
http://www.cloudformatter.com/CSS2Pdf.CustomTipsTricks.InjectPDF
That is a sample page showing both pre-pending and appending an existing PDF to a dynamically formatted div with instructions on how to do it.
Usage instructions for the jQuery plugin are here http://www.cloudformatter.com/CSS2Pdf.APIDoc.Usage
Upvotes: 1