I have an intranet page which gets data from a database with odbc. The resultant data is loaded into a a dynamically created html table whos lines (borders) are visible and rule off the table as a 'form' nicely.
How can I get this table, with lines (borders) to display on screen as a pdf without writing anything to disk please?
Returning table as pdf on screen?
Moderator: General Moderators
- hawkenterprises
- Forum Commoner
- Posts: 54
- Joined: Thu Feb 28, 2008 9:56 pm
- Location: gresham,oregon
- Contact:
Re: Returning table as pdf on screen?
Somewhere in this result
http://www.google.com/search?q=pdf+writer+php
There is a class called PDFwriter, it might be on phpClasses, I forget. But basically you just use this class which has all the postscript hex codes built in so you give it a str it returns a str in pdf format.
http://www.google.com/search?q=pdf+writer+php
There is a class called PDFwriter, it might be on phpClasses, I forget. But basically you just use this class which has all the postscript hex codes built in so you give it a str it returns a str in pdf format.
Re: Returning table as pdf on screen?
Thanks for that. Much appreciated.
Do phpclasses.org always take a long time of their site registration process?
I want to try the html2pdf class (http://safe.phpclasses.net/browse/package/3168.html) ASAP, but I find myself still waiting for them to come back. Meanwhile my project sits and waits .... grr ....
Do phpclasses.org always take a long time of their site registration process?
I want to try the html2pdf class (http://safe.phpclasses.net/browse/package/3168.html) ASAP, but I find myself still waiting for them to come back. Meanwhile my project sits and waits .... grr ....