Like I mentioned in the CB, I typically work with PDFs using application-specific wrapper modules which utilize PDF::API2::Simple. That module offers direct access to the underlying PDF::API2 object it uses when you need it.

The "application specific" modules can be anything from method calls for each part of a document to the back end for a template engine, depending on just what type of document I need to produce and how flexible the tool chain needs to be.

Other options exist, as a CPAN search for "PDF" will show. Pod::Pdf, PDF::FromHTML, PDF::FromHTML::Template, HTML::HTMLDoc and Business::ReportWriter::PDF look interesting for getting PDFs from different types of templates besides just the obvious PDF::Template. I'm not sure of the status of any of them, though.

Other more generic PDF creation tools, such as CAM::PDF, PDF::EasyPDF, Text::PDF, and PDF::Writer can be used to create PDFs.

There are also more specialized PDF creators for different types of tasks, such as PDF::ReportWriter, PDF::Report, and even Games::Bingo::Print.

There are tools out there to convert LaTeX and PS documents to PDF, too.

It's quite possible there are more ways from your input to a PDF than you ever care to evaluate. Starting with what your input might be and seeing how to massage that into input and code for one of the better-maintained PDF libraries is probably a good place to start.


In reply to Re: Mass PDF Creation by mr_mischief
in thread Mass PDF Creation by liberty

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.