in reply to PDF::API2 Examples

Another PDF creation method is PDF::Template, which requires the use of PDFLib (which is both paid and free, depending on the version you grab). Unlike PDF::API2, PDF::Template behaves just like HTML::Template in free-standing, CGI, and ModPerl modes.

That said, I've been thinking about have PDF::Template use PDF::API2 as a rendering engine instead of being tied to PDFLib. These examples will go a long way in helping me figure it out. Thanks!

------
We are the carpenters and bricklayers of the Information Age.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Replies are listed 'Best First'.
Re: Re: PDF::API2 Examples
by demerphq (Chancellor) on Feb 04, 2004 at 10:18 UTC

    The primary reason I didnt use PDF::Template was because it didnt use PDF::API2 and as such I had problems getting it working. The other thing is that I found the documentation a little bit overwhelming, and since it required obtaining external binaries I decided not to bother investigating deeper. But if it had worked with API2 and as such not required the external libs then I would have probably used it.

    Im assuming from your language that PDF::Template is your baby. If so then a tutorial here showing how to generate a simple document book with an outline would be very much appreciated by me and no doubt others as well.


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi


      Anybody use PDF::Reuse and have any opinions about this versus the packages talked about in this meditation?

      See Perl Advent on PDF::Reuse and PDF::Reuse on CPAN.

      metadoktor

      "The doktor is in."