Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

PDF or equivalent

by Duke_Of_Perl (Initiate)
on Dec 27, 2007 at 17:59 UTC ( #659226=perlquestion: print w/replies, xml ) Need Help??

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.

Replies are listed 'Best First'.
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
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:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
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.
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.
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://659226]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2021-12-04 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (30 votes). Check out past polls.

    Notices?