enscript

converts text to Postscript, HTML or RTF with syntax highlighting
  http://www.gnu.org/software/enscript/
  2
  1 review



GNU Enscript takes ASCII files (often source code) and converts them to PostScript, HTML or RTF. It can store generated output to a file or send it directly to the printer.

It is often used for its syntax highlighting, as it comes with rules for a wide range of programming languages. New rules can be added using an awk-like stateful scripting language.
Latest reviews
5
berniewalp 5 years ago

Versatile! so many formatting options. Good man page.