Page 1 of 1

Generating PDF's

Posted: Fri Nov 14, 2008 2:02 pm
by walker6o9
Is there a way to generate PDF's with PHP withOUT using pdflib?

Re: Generating PDF's

Posted: Sat Nov 15, 2008 1:26 am
by josh
yes

Re: Generating PDF's

Posted: Sat Nov 15, 2008 3:15 am
by Ragnis

Re: Generating PDF's

Posted: Wed Nov 26, 2008 2:32 pm
by walker6o9
Perhaps I should have been more specifically. I'm looking for something that can both write and READ pdf's. FPDF appears capable or creating PDF's, but can it read a pdf? For example, could it take to PDF's and combine them into one? I didn't see any classes or tutorials that appeared capable of that.

Re: Generating PDF's

Posted: Wed Nov 26, 2008 2:47 pm
by Mark Baker
walker6o9 wrote:I'm looking for something that can both write and READ pdf's. FPDF appears capable or creating PDF's, but can it read a pdf? For example, could it take to PDF's and combine them into one? I didn't see any classes or tutorials that appeared capable of that.
This link might explain the problems involved in combining pdf files, and provide some options that may work for you.

Re: Generating PDF's

Posted: Thu Nov 27, 2008 11:31 am
by josh
From the sounds of that link you'd have to write an interpreter / parse tree. Sounds easier to modify them offline with Acrobat Professional if at all possible. Maybe you could write a macro that would allow PHP to use acrobat to do the heavy lifting