multistamp

Stamp multiple pages onto an input PDF

Usage

pdftl <input> multistamp <stamp_pdf> [<page_spec>...] [layer_name <name>] output <file>

Details

Overlay pages from the stamp PDF onto the corresponding pages of the input PDF: page 1 of the stamp is overlaid onto page 1 of the input, etc.

If no page specs are given, the operation applies to all pages. Page specs use the same syntax as rotate and cat — see pdftl help page_specs.

Note: If the overlay/background PDF contains its own internal layers (OCGs), they will be flattened and merged into the page content. Individual toggleability of the source’s internal layers is not preserved.

Examples

Multi-page stamp

pdftl in.pdf multistamp overlay.pdf output out.pdf

Multistamp starting from page 2

pdftl in.pdf multistamp overlay.pdf 2-end output out.pdf

Tags: in_place, overlay, layer

Source: pdftl.operations.overlay

Read online: https://pdftl.readthedocs.io/en/stable/operations/multistamp.html

Type: Operation