Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does wkHTMLtoPDF support @page rules?

I've been trying to use this simple command to explore wkHTML2PDF abilities:

wkhtml2pdf test.htm test.pdf

It seems it doesn't support @page rules that might be included in an attached CSS file, or do I miss something? some parameters for examples?

like image 821
Anas R. Avatar asked May 11 '15 10:05

Anas R.


1 Answers

The short answer is No. As @skobajic mentioned, there are command line parameters to get the same functionality. I don't see it coming any time soon given that webkit doesn't support it.

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2200

https://bugs.webkit.org/show_bug.cgi?id=15548

like image 136
Roger Roelofs Avatar answered Oct 30 '22 14:10

Roger Roelofs