wkhtmltopdf
Convert HTML documents or web pages into PDF files. More information: https://wkhtmltopdf.org/usage/wkhtmltopdf.txt.
- Convert an HTML document into PDF:
wkhtmltopdf
- Specify the PDF page size (please see
PaperSizeofQPrinterfor supported sizes):
wkhtmltopdf --page-size
- Set the PDF page margins:
wkhtmltopdf --margin-
- Set the PDF page orientation:
wkhtmltopdf --orientation
- Generate a greyscale version of the PDF document:
wkhtmltopdf --grayscale
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
