jggretton Posted March 6, 2007 Share Posted March 6, 2007 Hi all, I was hoping someone might have run into this problem before and have some experiance that could point me in the right direction. I don't have the PDFLibs installed on my hosting and it's all pretty basic so I can't install this or anything similar myself. I'm generating a PDF from html pages using a neet little tool called dompdf, which works great except i now need to attach a seperate PDF page to the end of the generated page and this isn't built in. I was hoping that there might be something out there that could combine page1.pdf with page2.pdf on the fly in php. Any ideas? PS. converting page2.pdf to an image would also solve this problem, however imagemagick doesn't like page2.pdf because it contains funky fonts that cause errors and I cannot get page2.pdf generated in any other way. Many thanks, James Quote Link to comment Share on other sites More sharing options...
iceman400 Posted March 6, 2007 Share Posted March 6, 2007 ive never done anything with pdf in php but couldnt you just add the source html of page2 to the end of the source html of page1 and then send it to the tool again and get your complete pdf? Quote Link to comment Share on other sites More sharing options...
jggretton Posted March 6, 2007 Author Share Posted March 6, 2007 Unfortunately not, a different page2.pdf is uploaded by the client each time so I currently only have this in PDF form. Thank you for your reply though! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.