PDFSTAMP(1p)
β¨ PDFSTAMP π
okay bestie, welcome to pdfstamp β that's <kbd>pdfstamp.plx</kbd> to its friends β a lil Perl script from the User Contributed Perl Documentation collection that just... slaps text on your PDFs. every page. no cap. π
πΈ NAME πΈ
pdfstamp.plx β adds the given text in a given fonts, size to all pages at given location π¦
(it's giving "watermark but make it text". yes it does every single page. yes that's the whole point. periodt.)
π DESCRIPTION π
so the vibe is: you hand it an infile .pdf, you tell it where you want the text to go, what font, and how big β and it adds the given string there. that's it. that's the function. it doesn't overthink, it doesn't ask questions, it just stamps. π₯
β SYNOPSIS β
pdfstamp [-f font] [-l locx,locy] [-s size] infile string
okay so here's the full rundown of every flag, bestie, because we're not skipping a single one π
-f fontβ the font name, picked from the standard fonts. default isHelveticabecause obviously she's the moment.-l locx,locyβ where the text lands, measured in points from the bottom left corner of the page. default is0,0, so if you don't say anything, that's the bottom-left corner, babes.-s sizeβ the font size to print at. default is11.-t ttfileβ a TrueType font file to use instead of-f. so if you've got a cute custom font file, this is your girl.
and yeah, the non-flag args matter too:<italic>infile</italic>comes first, then<italic>string</italic>. don't flip them, i'm begging. π
and that's the whole entire page, you ate that π go forth and stamp.
this page is running on perl v5.36.0, dated 2022-10-22 β mwah, love that for us π«Άπ
π¦ where this page comes from
- ubuntu noble: libtext-pdf-perl 0.31-3 Β· Artistic-2.0
- ubuntu resolute: libtext-pdf-perl 0.31-3 Β· Artistic-2.0
- ubuntu stonking: libtext-pdf-perl 0.31-3 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms