Print Serialized Coupons With LaTeX

Get really random coupon codes

from random.org, save as coupons.csv. First line needs to be column title, “Coupons”.

Create PDFs with LaTeX

https://gist.github.com/thetzel/8147211

There are a ton of modules to mail merge documents in LaTeX, but they’re overkill. csvtools simply supplies every column as a macro with \insert<Columnname>

My coupons are only 12x12cm in size, which the printer would not accept, so I set paper size to A4 and padded the paper tray with a little bit of cardboard.

Print!

coupons