| | |
PDF Creation using PHP
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Simple google query get you many useful resources
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
There are a number of libraries that allow you to build a PDF file. What I wanted to do was to (dynamically) convert an existing (html) output into a PDF without having to do a bunch of additional work.
I found a way to do that using something called html2pdf. It isn't overly well documented and it isn't totally flexible but it works. I had to adjust my html a bit to get it to work but it now produces a pretty faithful PDF copy of my output report.
I think that providing a PDF option is often an add-on to producing a report on the screen. Using a utility like this to do the conversion makes a lot of sense to me.
I found a way to do that using something called html2pdf. It isn't overly well documented and it isn't totally flexible but it works. I had to adjust my html a bit to get it to work but it now produces a pretty faithful PDF copy of my output report.
I think that providing a PDF option is often an add-on to producing a report on the screen. Using a utility like this to do the conversion makes a lot of sense to me.
•
•
Join Date: Mar 2005
Posts: 12
Reputation:
Solved Threads: 1
There are many PDF classes from phpclasses.org. You can search them at there. This site provides many useful classes
![]() |
Similar Threads
- Starting Python (Python)
- Page breaks for printing on php page (PHP)
- Newbie Ajax question (JavaScript / DHTML / AJAX)
- Open In New Window Php (PHP)
- PDF creation: Wrap text on Table with Fpdf (PHP)
- NEW PDF File creation issue using PHP (PHP)
Other Threads in the PHP Forum
- Previous Thread: images in mysql
- Next Thread: registaration of users scripts
| Thread Tools | Search this Thread |
.htaccess ajax apache api array back basic beginner binary broken cakephp checkbox class cms code computing cron curl customizableitems database date delete display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime google host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm mod_rewrite multiple mysql navigation oop parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql syntax system table thesishelp trouble tutorial update upload url validation validator variable video web xml youtube






