ERROR: Unknown long argument --viewport-size Name: wkhtmltopdf 0.9.6 Synopsis: wkhtmltopdf [OPTIONS]... [More input files] Description: Converts one or more HTML pages into a PDF document, using wkhtmltopdf patched qt. General Options: -b, --book Set the options one would usually set when printing a book --collate Collate when printing multiple copies --copies Number of copies to print into the pdf file (default 1) --cover Use html document as cover. It will be inserted before the toc with no headers and footers -H, --default-header Add a default header, with the name of the page to the left, and the page number to the right, this is short for: --header-left='[webpage]' --header-right='[page]/[toPage]' --top 2cm --header-line --extended-help Display more extensive help, detailing less common command switches -h, --help Display help -O, --orientation Set orientation to Landscape or Portrait -s, --page-size Set paper size to: A4, Letter, etc. --password HTTP Authentication password -p, --proxy Use a proxy -q, --quiet Be less verbose -t, --toc Insert a table of content in the beginning of the document --username HTTP Authentication username -V, --version Output version information an exit Contact: If you experience bugs or want to request new features please visit , if you have any problems or comments please feel free to contact me: see