Reputation: 66
I've managed to convert an HTML page to PDF document data. Now, I'm adding an upload for PDFs to be included in this document data. I'm looking to find the best way to do this and haven't found anything that works just right. Here are the specifics:
I've tried a few different approaches, each with their own drawbacks:
I'm using DOMPDF for the HTML to PDF conversion. For I've tried PDFLib, FPDI and ImageMagick/GhostScript (image conversion). Maybe this is a shot in the dark, but does anyone know of a better way?
Upvotes: 4
Views: 857
Reputation: 4705
IBM recommends FPDF in their developer works article here. You can find the library here: http://www.fpdf.org/
Upvotes: 1