I had the same problem as in this post:
Hi ,
The wkhtmltopdf is not printing the local css , tried everything listed here but I am not able to find a solution.
In spite of developing the print format due to this issue I am not able to use it , could anyone help me ?
http://stackoverflow.com/questions/16627310/wkhtmltopdf-not-loading-local-css-and-images
How do I make wkhtmltopdf and the default html print to print the css ? Even I tried embedding directly using the <style> tags , the direct print option and pdf as well , is not l…
What helped me was to update wkhtmltopdf
:
wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
Above commands are for Ubuntu 18.04. You’ll need the right url for your system.
2 Likes
bkm
May 21, 2019, 6:11pm
2
Please mark your post at the top of the thread with the check mark in the “Solved” box so that it will be flagged for other users to be able to easily find your solution.
Some folks also put [solved] in the title but at least use the check box.
Thanks for your contribution!
BKM
1 Like
My post does not have a “solved” box. I will mark yours instead