Convert text files to PostScript, HTML, RTF, ANSI, and overstrikes. More information: https://www.gnu.org/software/enscript.
enscript path/to/input_file --output=path/to/output_file
enscript path/to/input_file --language=html|rtf|... --output=path/to/output_file
enscript path/to/input_file --columns=num --landscape --output=path/to/output_file
enscript --help-highlight
enscript path/to/input_file --color=1 --highlight=language --output=path/to/output_file