srchulo
srchulo

Reputation: 5203

perl excel to pdf

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!

Upvotes: 1

Views: 2270

Answers (2)

Eli
Eli

Reputation: 726

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

Upvotes: 0

daxim
daxim

Reputation: 39158

Simply shell out to unoconv.

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

Upvotes: 3

Related Questions