Wkhtmltopdf margin (top and bottom)
Posted
by
Kwarkjes
on Server Fault
See other posts from Server Fault
or by Kwarkjes
Published on 2012-06-01T10:22:05Z
Indexed on
2012/06/01
10:43 UTC
Read the original article
Hit count: 381
Iam using wkhtmltopdf 0.10.0 rc2 on a : Linux 3.2.0-24-generic #38-Ubuntu x86_64 GNU/Linux
I can't create pdf's with margin-top or margin-bottom (no errors)
I'm using the command bellow: wkhtmotopdf -T 50 -B 50 http://google.com ./test.pdf wkhtmotopdf --margin-top 50 --margin-bottom 50 page.html ./test.pdf
When i try this: wkhtmotopdf -L 50 -R 50 -T 50 -B 50 page.html ./test.pdf Margin left and right works perfect (still no margin-top/margin-bottom)
it dosn't matter wich URL or page i convert
© Server Fault or respective owner