Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Dynamic PDF files with Perl

by NeoYoda (Initiate)
on Aug 14, 2002 at 02:26 UTC ( [id://189977]=perlquestion: print w/replies, xml ) Need Help??

NeoYoda has asked for the wisdom of the Perl Monks concerning the following question:

I am looking more for advice here... I need to take emails generated by my server, and output them to a nicely formatted PDF file. I have never done the "outputting to PDF" part of this before, so could anyone recommend the module that would work best for this? Thanks.

Replies are listed 'Best First'.
Re: Dynamic PDF files with Perl
by mp (Deacon) on Aug 14, 2002 at 03:01 UTC
Re: Dynamic PDF files with Perl
by screamingeagle (Curate) on Aug 14, 2002 at 05:05 UTC
Re: Dynamic PDF files with Perl
by George_Sherston (Vicar) on Aug 14, 2002 at 13:57 UTC
    Oddly enough I just spent the morning doing much the same thing. I have some on-the-fly html pages like this and I have to use the same data to create PDFs that look like this. I wrote some methods which, though in some respects slightly cronky, I found useful. An important feature which these examples don't demo is that the methods cope with the case where you need more than one page. You find below a sample script, and the module with the methods. Enjoy!

    § George Sherston
Re: Dynamic PDF files with Perl
by adrianh (Chancellor) on Aug 14, 2002 at 09:33 UTC

    You might find using htmldoc a simple solution if you've already got HTML versions of your document lying around. Source is GPL.

Re: Dynamic PDF files with Perl
by jujubee (Acolyte) on Aug 14, 2002 at 12:47 UTC
    Look into PDFlib: www.pdflib.com

    Thumbs up. Though, there is a small fee involved.
    It's made it extremely easy to output stuff in PDF.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found