txwikinger
txwikinger

Reputation: 3034

Template system to create pdf in php

I am looking for an open source template engine in the style of smarty or dwoo (preferable dwoo due to its inheritance features) that can be used to create pdf files instead of html. I am not talking about just a pdf library that allows the creation of the function/method calls, but something that allows to create the page content in a similar way as the above mentioned template engines.

Has anybody seen something like that, or another idea that would allow me to do something similar?

Thanks.

Upvotes: 0

Views: 2492

Answers (2)

txwikinger
txwikinger

Reputation: 3034

I have decided to extend an existing template system to also create pdf output.

Upvotes: 0

Rob Booth
Rob Booth

Reputation: 1782

Have you considered using your preferred HTML template engine and then passing the results to an HTML to PDF library Say something like http://www.rustyparts.com/pdf.php

Upvotes: 1

Related Questions