Duke_Of_Perl has asked for the wisdom of the Perl Monks concerning the following question:
I am creating personalized score sheets on my website and would like to give the user the ability to download them. I would like to put the score sheets into a PDF or something equivalent. Do you have any suggestions on how I can get my score sheets into a PDF. I have read about PDF::API2 - is this the way to go or is there something better. Thanks.
Re: PDF or equivalent
by marto (Cardinal) on Dec 27, 2007 at 18:03 UTC
|
Hi Duke_Of_Perl,
You could start by having a look at PDF::Reuse, create a PDF 'template' and customize its contents based on users scores/stats.
Hope this helps
Martin | [reply] |
Re: PDF or equivalent
by dragonchild (Archbishop) on Dec 27, 2007 at 19:33 UTC
|
A fourth option is PDF::Template
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
| [reply] |
Re: PDF or equivalent
by starX (Chaplain) on Dec 27, 2007 at 19:35 UTC
|
I've used PDF::API2::Simple for quick and dirty PDF output. Seems to work pretty well so far. | [reply] |
Re: PDF or equivalent
by traveler (Parson) on Dec 27, 2007 at 19:31 UTC
|
If you have already coreated the scoresheets in HTML, try PDF::FromHTML. It will render the HTML as a PDF (and related tools can do more). There is also a command-line wrapper for it that comes with it. | [reply] |
Re: PDF or equivalent
by jrsimmon (Hermit) on Dec 27, 2007 at 18:39 UTC
|
Duke of Perl,
I use ghostscript to convert postscript files to pdf. I've been using this tool for about a year now, converting between 2 and 10 reports daily. It works quite well. | [reply] |
|