wkhtmltopdf shrink to fit page width

647 views
Skip to first unread message

Larry Martell

unread,
Jun 25, 2017, 4:41:26 PM6/25/17
to wkhtmltopdf General


I am using wkhtmltopdf version 0.12.1 (I am on debian-jessie and that is the version I get with apt-get - I cannot instal anything that I do not get from apt-get).

I have a web page that looks like this:



And when converting to PDF it comes out looking like this:



I want the layout to be the same in the PDF. I have tried many, many, many different combination of options using --page-width and --zoom with a number < 1, but nothing makes the 2 tables and the image fit on the same row.

Anyone know how I can get the HTML to shrink to fit the page width?

sébastien MOUGEL

unread,
Sep 20, 2018, 4:21:06 AM9/20/18
to wkhtmltopdf General
Same for me.

Have you find a solution ?
Reply all
Reply to author
Forward
0 new messages