create

Create a new PDF

Usage

pdftl create [N][(geometry)] output <output>

Details

Creates a new PDF document. Currently generates blank pages, but will be extensible for other content sources in the future.

Syntax: [N][(spec)]

Arguments:

  • N: Count of pages to create (default: 1).

  • (spec): Geometry/size specification (default: A4).

Examples

Create a 1-page A4 blank PDF.

pdftl create output out.pdf

Create a 5-page letter-sized PDF.

pdftl create '5(letter)' output out.pdf

Tags: pages, geometry, source

Source: pdftl.operations.create

Read online: https://pdftl.readthedocs.io/en/latest/operations/create.html

Type: Operation