Re:Learn to read the source, Luke
by astrodust on Monday April 16, 2012 @09:04PM
(#3850417)
I'm sure I'm not the only one that wants a good tool that would convert arbitrary source-code to Lulu-sized PDFs that could be printed on demand.
[ Parent
| on HN ]
Try the command line program "enscript". It has many options that control the output formatting. For example, you can print pages in landscape orientation, two-up, with source highlighting and line numbers.
If you also want coloring (I know I would), Pygments - http://pygments.org/ - outputs PDF via LaTeX.