commands.sh

pdfxup

linux

N-up PDF pages. N-upping means putting multiple pages onto one page by scaling and rotating them into a grid.

More info →

Options (4)

-o, --outputboolean

Create a 2-up PDF

Example: pdfxup {{[-o|--output]}} {{path/to/output.pdf}} {{path/to/input.pdf}}
-x, --columnsboolean

Create a PDF with 3 columns and 2 lines per page

Example: pdfxup {{[-x|--columns]}} {{3}} {{[-y|--rows]}} {{2}} {{[-o|--output]}} {{path/to/output.pdf}} {{path/to/input.pdf}}
-y, --rowsboolean

Create a PDF with 3 columns and 2 lines per page

Example: pdfxup {{[-x|--columns]}} {{3}} {{[-y|--rows]}} {{2}} {{[-o|--output]}} {{path/to/output.pdf}} {{path/to/input.pdf}}
-b, --bookletboolean

Create a PDF in booklet mode (2-up, and pages are sorted to form a book when folded)

Example: pdfxup {{[-b|--booklet]}} {{[-o|--output]}} {{path/to/output.pdf}} {{path/to/input.pdf}}

Examples (3)

Create a 2-up PDF

pdfxup [-o|--output] path/to/output.pdf path/to/input.pdf

Create a PDF with 3 columns and 2 lines per page

pdfxup [-x|--columns] 3 [-y|--rows] 2 [-o|--output] path/to/output.pdf path/to/input.pdf

Create a PDF in booklet mode (2-up, and pages are sorted to form a book when folded)

pdfxup [-b|--booklet] [-o|--output] path/to/output.pdf path/to/input.pdf
made by @shridhargupta | data from tldr-pages