Home » excel » perl excel to pdf

perl excel to pdf

Posted by: admin May 14, 2020 Leave a comment

Questions:

I’m using perl with an excel template to try to make creating invoices for clients somewhat automated. My only issue is that I’d really like to be able to convert this excel file to a PDF when I’m done, but I can’t seem to find any perl modules that do anything of the sort. Anyone ever heard of something like this being done? I know it can be done somehow, since word and open office manage to do it!

How to&Answers:

Simply shell out to unoconv.

There are also Perl bindings to UNO, but last time I looked, they didn’t work.

Answer:

You may have to convert/flatten the Excel file first, and then figure out a way to pipe it in, but this may get you headed in the right direction http://metacpan.org/pod/PDF::Create