TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

TBS with PDF?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: user202020
Date: 2016-12-27
Time: 15:59

TBS with PDF?

Hello - I see some older posts mentioning you can use TBS to generate PDFs: http://www.tinybutstrong.com/forum.php?thr=912

But it doesn't seem supported anymore? Is this true or has anyone else been able to do this besides converting from HTML to PDF?

Thanks
By: Skrol29
Date: 2016-12-30
Time: 00:16

Re: TBS with PDF?

tbsOoo is not supported anymore by its author.

I don't know any solution for building PDF with TBS without a conversion from the template to PDF and
I think it would be quite difficult since PDF has some content structure defined in binary.
By: Rudolf
Date: 2017-02-04
Time: 12:40

Re: TBS with PDF?

I'd suggest you create 3 html templates, one for header, one for footer and one for the main content, and then convert it with wkhtmltopdf.