wkhtmltopdf: add page (#10772)

* Create basename.md

Adding basename command in tldr for linux

* Update basename.md

* Update basename.md

* Update basename.md

* Update basename.md

* Update basename.md

* Update basename.md

* Update basename.md

* Update basename.md

* Update basename.md

* Create wkhtmltopdf.md

* Update wkhtmltopdf.md

* Update wkhtmltopdf.md

* Update wkhtmltopdf.md

* Delete pages/linux/basename.md

As it is already present in commons folder.

* Update wkhtmltopdf.md

* Update wkhtmltopdf.md

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>

* Update pages/common/wkhtmltopdf.md

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>
pull/23/head
parthzz 2023-10-02 12:04:23 +05:30 committed by GitHub
parent 768f6203d2
commit f09e643b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# wkhtmltopdf
> An open-source command-line tool to convert HTML documents or web pages into PDF files.
> More information: <https://wkhtmltopdf.org/>.
- Convert a HTML document into PDF:
`wkhtmltopdf {{input.html}} {{output.pdf}}`
- Specify the PDF page size (please see `PaperSize` of `QPrinter` for supported sizes):
`wkhtmltopdf --page-size {{A4}} {{input.html}} {{output.pdf}}`
- Set the PDF page margins:
`wkhtmltopdf --margin-{{top|bottom|left|right}} {{10mm}} {{input.html}} {{output.pdf}}`
- Set the PDF page orientation:
`wkhtmltopdf --orientation {{Landscape|Portrait}} {{input.html}} {{output.pdf}}`
- Generate a greyscale version of the PDF document:
`wkhtmltopdf --grayscale {{input.html}} {{output.pdf}}`