Check out various demos of the SetaPDF-Stamper component.
Make stamps only visible for printing or on screen.
Use dynamic data in a stamp object.
This demo prepends an empty page and stamps various data on it.
This demo enlarges a page and adds a stamp in the "new" area.
Proof-of-concept of a stamp proxy that allows you to add tagging structure to the stamps.
A simple demo that shows you how to enclose the stamp content in a marked-content sequence to distinguish it from real content.