I'm trying to generate 3 column PDF (using barryvdh/laravel-snappy - wkhtmltopdf). Because the text which is going to fill these columns is of unknown length I have to use some mechanism allowing the text fill the columns freely. So I tried to use this CSS:
.threecol {
-webkit-column-count: 3; /* Chrome, Safari, Opera */
-moz-column-count: 3; /* Firefox */
column-count: 3;
}
This works great on a web page but I can't convert it to PDF. It doesn't show any errors. It simply converts the page with one column. Any suggestions? Is what I want possible to do with wkhtmltopdf? Or maybe should I use some other library?
This feature isn't available in the Webkit version used in wkhtmltopdf. Looks like we have to use tables, with manual flow.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With