---
name: "webkit2pdf"
section: "1"
platform: "linux"
package: "webkit2pdf"
version: "0.3-3+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/webkit2pdf"
---

# webkit2pdf(1)

## NAME

webkit2pdf -- Export web pages to PDF files or printer

## SYNOPSIS

webkit2pdf \[options\] \[URLs\]

## DESCRIPTION

Webkit2pdf is a program that retrieves web pages from one or several URLs and generates a PDF document with them, using the webkit library.

When no URLs or options are supplied a minimalistic but convenient GUI is launched, allowing preview of the document to be generated or printed.

## OPTIONS

- **-h** or **--help**

  Shows a brief help screen.

- **-o** *output\_dir*

  Sets the output directory. By default is current dir (*.*).

- **-f** *format*

  Sets the name format for the generated files. By default is a four digits sequence starting on *0000.pdf*.

- **-s** *size*

  Sets the paper size to use (e.g.: `"a4"`).

## FILES

- */etc/papersize*

  Default paper size to use.

## BUGS

Please report it to the Debian BTS using the reportbug tool.

## SEE ALSO

[*reportbug*(1)](/reportbug/1.md), [*papersize*(5)](/papersize/5.md).

## AUTHOR

The webkit2pdf program was written by Colin Leroy \<colin@colino.net\>.

This manual page was written by Ricardo Mones \<mones@debian.org\> for the Debian system (and may be used by others).

## LICENSE

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in */usr/share/common-licenses/GPL*.
