Hi,
I want the PDF output to be 56mm long (height) and 88mm wide (width).
I have tried wkhtmltopdf -d 300 -L 0 -R 0 -T 0 -B 0 -s Custom -–page-height 56 --page-width 88 page.html out.pdf but it doesn't execute.
But if I specify only the width, it executes but with the following output along with error:
wkhtmltopdf -d 300 -L 0 -R 0 -T 0 -B 0 –-page-width 88 page.html out.pdf
Loading pages (1/6)
Error: Failed loading page http://xn---page-width-lg3f (sometimes it will work just to ignore this error with --load-err
or-handling ignore)
Error: Failed loading page http://88 (sometimes it will work just to ignore this error with --load-error-handling ignore
)
Exit with code 1 due to network error: HostNotFoundError
This means, does this mean the -page-width and --page-height options are not available to the wkhtmltopdf 0.12.2.4?
Thanks!