Created
February 16, 2012 09:44
-
-
Save colinbm/1843685 to your computer and use it in GitHub Desktop.
wkhtmltopdf settings for print
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For A3: | |
wkhtmltopdf --page-width 297 --page-height 420 --dpi 300 --margin-right 0 --margin-top 0 --margin-bottom 0 --margin-left 0 http://wktest.local ~/Desktop/wktest.pdf | |
body { | |
margin: 0; | |
padding: 0; | |
background: #ccc; | |
height: 420mm; | |
width: 297mm; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment