# `stamp` Stamp a 1-page PDF onto each page ## Usage > pdftl `` `stamp` `` `[...]` `[layer_name` `]` `output` `` ## Details The `stamp` operation overlays the first page of the stamp PDF onto pages of the input document. 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 > Basic stamp ``` pdftl in.pdf stamp mark.pdf output out.pdf ``` > Stamp onto a named layer ``` pdftl in.pdf stamp mark.pdf layer_name 'Draft' output out.pdf ``` > Stamp only pages 1–3 ``` pdftl in.pdf stamp mark.pdf 1-3 output out.pdf ``` > Stamp odd pages onto a named layer ``` pdftl in.pdf stamp mark.pdf odd layer_name 'Draft' output out.pdf ``` **Tags**: in_place, overlay, layer *Source: pdftl.operations.overlay* *Read online: [https://pdftl.readthedocs.io/en/stable/operations/stamp.html](https://pdftl.readthedocs.io/en/stable/operations/stamp.html)* *Type: Operation*