Stamp Label

October 15, 2025 ยท Tyler Yeager

Stamp Label
stampLabel() { o="$1"; p="${1%.*}"; e="${1##*.}"; shift; pdfcpu stamp add -mode text -- "$*" "scale:0.47 abs, pos:bl, offset:10 5, aligntext:left, fillcolor:black, rot:0" "$o" "$p-stamped.$e"; }

This is using pdfcpu, with their documentation here

I ship out a lot of things nowadays, and a pain point sometime is VAT and other international orders needing additional documentation. Generally, I write out long series of numbers for that specific order.

So, instead this will take a standard 4x6 label, stamp on some text and then I can print it from there.

Problem solved! ๐Ÿ”ฅ

Did you find this interesting?

Consider subscribing ๐Ÿ˜Š

No AI-generated content or SEO garbage.

Unsubscribe anytime