Command-line tool
enscript
brew/enscript
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Convert text to Postscript, HTML, or RTF, with syntax highlighting
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install enscript
Linux
brew install enscript
Generate a PostScript file from a text file
enscript path/to/input_file -o path/to/output_file
Generate a file in a different language than PostScript
enscript path/to/input_file -w html -o path/to/output_file
Generate a PostScript file with a landscape layout, splitting the page into columns (maximum 9)
enscript path/to/input_file --columns num -r -o path/to/output_file
Related command-line tools
- highlight
Convert source code to formatted text with syntax highlighting - htmldoc
Convert HTML to PDF or PostScript - cli-highlight
Syntax highlighting in your terminal terminal syntax highlight color cli ansi - pygments
Generic syntax highlighter - notepad2
A fast and light-weight Notepad-like text editor with syntax highlighting. - texteditorpro
Powerful text editor with syntax highlighting for multiple languages and scripts. Formerly known as EditBone - ps2eps
Convert PostScript to EPS files - cherrytree
Hierarchical note taking application featuring rich text and syntax highlighting editor 编辑器 笔记 wiki note
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents