1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-16 22:15:45 +02:00
tldr/pages/linux/pdfbook2.md
kongwak 3d0deb1036
pdfbook2: add page (#17567)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-08-11 07:13:36 +03:00

804 B

pdfbook2

Create a double sided printable PDF booklet from a PDF. Note: The booklet needs to be printed double-sided in landscape mode, flipped on the long edge. More information: https://github.com/jenom/pdfbook2#examples.

  • Create a booklet named file-book.pdf with sane defaults:

pdfbook2 {{path/to/file.pdf}}

  • Create a booklet with the paper size set to A4:

pdfbook2 {{[-p|--paper]}} a4paper {{path/to/file.pdf}}

  • Create a booklet that has the inner margin reduced to 50 pixels (default = 150px):

pdfbook2 {{[-p|--paper]}} a4paper {{[-i|--inner-margin]}} 50 {{path/to/file.pdf}}

  • Organize a large file with print signatures for binding into a larger booklet (signatures must be divisible by 4):

pdfbook2 {{[-p|--paper]}} a4paper --signature {{24}} {{path/to/file.pdf}}