|We don't bite newbies here... much|
PDF::API2 Questionsby akwe-xavante (Novice)
|on Mar 13, 2012 at 21:52 UTC||Need Help??|
akwe-xavante has asked for the
wisdom of the Perl Monks concerning the following question:
Hoping for a little Advice before i start!
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.
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.
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
The document will be a one page invoice basically.
How many options are there regarding the creation of the PDF document?
What's the best way to go about this?
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?
Or will it be best to create each and every document from scratch every time?
Thank you in advance