You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
Have you found a solution to this issue? I get the same kind of error. When I print in A4 on Windows, it fits perfectly, while on linux, it seems like everything is zoomed in
It's the other way round, on Linux it prints at 75 dpi (native for WebKit) while on Windows it uses the desktop's DPI (which is normally 96 dpi). You can use --zoom 0.78125 (75/96) to get the same effect on Linux.
Same command:
wkhtmltopdf --page-size a3 http://localhost:8080/PDFTest/create_PDF.action /var/www/webapps/PDFTest/pdfFile/order.pdf
result for windows 8.1:
result for centos 5.5
The text was updated successfully, but these errors were encountered: