Converting Excel to PDF

From Simson Garfinkel
Revision as of 07:38, 11 March 2011 by Simson (talk | contribs) (Created page with "I've been looking for a way to convert Excel to PDF. Here's what I've come up with: 1. On a mac, use `qlmanage` to convert the Excel file to an HTML file: qlmanage -p myfil...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

I've been looking for a way to convert Excel to PDF. Here's what I've come up with:

1. On a mac, use `qlmanage` to convert the Excel file to an HTML file:

   qlmanage -p myfile.xls -o outputdir

2. Next, use wkhtmltopdf to convert the HTML to PDF:

   wkhtmltopdf Attachment3.html out1.pdf