| | |
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
Views: 629 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cookies cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla jquery limit link login loop mail mediawiki menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select server sessions sms soap source space speed sql stored structure subdomain syntax system table tutorial update updates upload url validation validator variable video web xml youtube






