Generating PDF's

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
walker6o9
Forum Newbie
Posts: 5
Joined: Wed Jul 30, 2008 2:01 pm

Generating PDF's

Post by walker6o9 »

Is there a way to generate PDF's with PHP withOUT using pdflib?
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Generating PDF's

Post by josh »

yes
User avatar
Ragnis
Forum Commoner
Posts: 31
Joined: Thu Nov 13, 2008 12:35 pm
Location: Saaremaa, Estonia, Europe, Asia, Planet Earth, The Solar System, Milky way.

Re: Generating PDF's

Post by Ragnis »

walker6o9
Forum Newbie
Posts: 5
Joined: Wed Jul 30, 2008 2:01 pm

Re: Generating PDF's

Post 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.
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: Generating PDF's

Post 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.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Generating PDF's

Post 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
Post Reply