Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, the output of Wkhtmltopdf can be adjusted to fit the entire width of the page using the --zoom option. For example, you can use the following command to adjust the zoom level to fit the content to the width of the page:

wkhtmltopdf --zoom 1.0 input.html output.pdf

You can adjust the zoom factor as needed to achieve the desired output.