Vingtoft
Vingtoft

Reputation: 14586

Convert excel-file to pdf-file

I have used openpyxl to autogenerate 154 excel files. Everything worked like a charm!

Now I need to convert the excel-files into pdf-files. Can this be done automatically or do I need to do it manually?

Note: It is important that I have the option to define margins and horizontal orientation. A solution in python in preferred. I'm using OS X or Ubuntu.

Upvotes: 1

Views: 2810

Answers (1)

Vingtoft
Vingtoft

Reputation: 14586

I have solved the issue by using a combination of Java, UNO, and OpenOffice. Thank you lazy1 for your advise.

For any interested peers: My implementation can be found on GitHub

Upvotes: 3

Related Questions