Working PDF Generation Copy

Working Copy, with variables passed into the PDF.