PDF creation?

Dave Cross dave at dave.org.uk
Sun Apr 21 14:08:27 BST 2013



On 04/21/2013 12:43 PM, Mark Fowler wrote:
> In a few weeks I'm going to want to be creating PDFs from Perl, something I
> haven't done in a few years. What's the recommended approach these days?
>
> I know I'm going to want to create the document from scratch, not fill in a
> template, and I'm probably going to want multi-line text and basic drawing
> (a horizontal line or two)

I don't know if it's the recommended approach - but when I want to do 
that I create an HTML document and convert it to a PDF using PDF::WebKit 
(https://metacpan.org/module/PDF::WebKit) which is a wrapper around 
wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/).

Dave...

-- 
Dave Cross :: dave at dave.org.uk
http://dave.org.uk/
@davorg


More information about the london.pm mailing list