I am not a very experienced developer, but I was able to learn and use 
PDF::Reuse. I made a PDF template (11 page report) that I needed to intersperse 
data throughout. Using Catalyst::View::PDF::Reuse I was able to achieve a good 
result. I believe it is intended to be a reuse (of a PDF template) rather than 
a PDF creation tool, but it would work for that as well.  To use with a report 
was a little tougher as I had to be creative to do wrapping. It is probably 
best to use where the location to place values on a template remains consistent 
(invoice, certificate).

I use Debian stable, and there is a package of PDF::Reuse, libpdf-reuse-perl, 
that can be installed. Catalyst::View::PDF::Reuse can then be install with 
dh-make-perl.

S. Kiehn


--- On Fri, 3/5/10, Charlie Garrison <[email protected]> wrote:

From: Charlie Garrison <[email protected]>
Subject: [Catalyst] Which C::View::PDF should I use?
To: "The elegant MVC web framework" <[email protected]>
Date: Friday, March 5, 2010, 5:38 AM

Good afternoon,

Both of these seem to be almost identical.

    Catalyst::View::PDF::Reuse
    Catalyst::View::PDF::API2

Is one better to use than the other? C::V::PDF::API2 has been
 updated more recently, but other than that I can't see why I would choose one 
over the other.

Or is really a choice of PDF::Reuse vs PDF::API2 which then dictates the View 
to use? It looks like PDF::Reuse might be a wrapper for PDF::API2, but I'm not 
really sure.

I'm not looking to create PDFs from code, I'll be using an existing PDF and 
replacing values. And both C::V::P::Reuse & C::V::P::API2 seem to handle that 
in effectively the same way.

Thanks,
Charlie

--    Ꮚ Charlie Garrison ♊ <[email protected]>
   〠 PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/



      
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to