CodeIgniter Forums
generate pdf - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: generate pdf (/thread-36394.html)



generate pdf - El Forum - 11-30-2010

[eluser]diasansley[/eluser]
I have the following idea




*I have some text in the database now on my CI website i have given anchor tag to read the text from the database.
* as a refinement a wanted the text to be in a pdf and on button on my main page show the first page of the pdf and then give a download option!

Any ideas!!!


Thanks


generate pdf - El Forum - 11-30-2010

[eluser]keithics[/eluser]
use http://code.google.com/p/dompdf/ . I found that it's easy to create PDF using that..


generate pdf - El Forum - 11-30-2010

[eluser]diasansley[/eluser]
thanks any idea how to implement my second point!!


Thanks


generate pdf - El Forum - 11-30-2010

[eluser]keithics[/eluser]
There is an option in DOM PDF to let the user download or view it.