To apply a stamp to pages on the command line just use the stamp script:

pstill -M defaultall -M pagecontrol=controls/STAMP-stampPDFOnOutput.sl -o output.pdf input

Return to the tutorial