[CentOS] [OT] SQL*Plus output as PDF [Linux]

Wed Apr 13 14:34:37 UTC 2011
Trutwin, Joshua <JTRUTWIN at CSBSJU.EDU>

> I generate with SQL*Plus a CSV file. How to convert this to PDF? Or more
> generally: how to get SQL*Plus output to PDF on Linux?

Marked as Off Topic.

I would do this:

sqlplus
SET MARKUP HTML ON
SPOOL foo.html
SELECT * FROM emp;
SPOOL OFF

Quit sqlplus and use htmldoc to convert foo.html to foo.pdf, or load it in a browser and use CutePDF or something to print it to a .pdf if in a hurry.

Josh