Prototype script for building a PDF receipt