perlquestion
akwe-xavante
<p><b>Hoping for a little Advice before i start!</b></p>
<p>To start i'm not a programmer at all really, however i do manage and i'm in need of a little initial guidance on a new and challenging project. I have a html webform to get data which is sent to a perl script for processing, a few sums, a little formatting then the script prints a html page to the browser for printing. At the same time the same data is sent by email as a html email.</p>
<p>I want to improve on this and challenge myself a little further and instead i hope to use the same html webform and its data to create a nice little pdf document and send it as an attachment by email and either open a new tab as a pdf document for saving and or for printing or if that's pushing my luck then simply print html data to the browser as a webpage for printing.</p>
<p>I have a silly little script already proving that on my Linux box i can create a PDF document and send it as an atachment in an email</p>
<p>The document will be a one page invoice basically.</p>
<p><b> Questions:</b></p>
<p>How many options are there regarding the creation of the PDF document?</p>
<p>What's the best way to go about this?</p>
<p>Is it possible to create a nice little PDF Document or some other file type as a template incorporating VariableNames where required, open this document and somehow import data into those variables then SaveAs a new document ready for the next process?</p>
<p>Or will it be best to create each and every document from scratch every time?</p>
<p><b>Thank you in advance</b></p>