“pdftextstamp” executable

I was trying to add some information to the footer of an expense report that contained many receipts. The information was placed in the footer as a watermark using “pdftextstamp” on Snow Leopard. For simplicity, I placed the “pdftextstamp” executable in the same folder as the .pdf on my Mac, running Snow Leopard and then executed the following command in Terminal.app from the aforementioned directory location:

./pdftextstamp -iIMG_0002.pdf -oreceipts.pdf -f/Users/brad.schwie/Desktop/receipts -font Arial,Bold -size60 -prefix "Receipt#" -sep " of " -colorFF0000 -pos780,10

This just places some information at the bottom of each page, but it happens to be rather useful if one receipt is placed on each page… Also, this sadly places the word “*TRIAL*” after each footnote that I insert, but for my usage, it doesn’t matter…

I learned about ImageMagick afterward. I’ll try that next time I have a use for inserting page numbers and post my results here.

Leave a Reply

Your email address will not be published. Required fields are marked *