enscript

enscript

TLDR

Generate a PostScript file from a text file

>_ enscript [path/to/input_file] --output=[path/to/output_file]
copy

Generate a file in a different language than PostScript

>_ enscript [path/to/input_file] --language=[html|rtf|...] --output=[path/to/output_file]
copy

Generate a PostScript file with a landscape layout, splitting the page into columns (maximum 9)

>_ enscript [path/to/input_file] --columns=[num] --landscape --output=[path/to/output_file]
copy

Display available syntax highlighting languages and file formats

>_ enscript --help-highlight
copy

Generate a PostScript file with syntax highlighting and color for a specified language

>_ enscript [path/to/input_file] --color=1 --highlight=[language] --output=[path/to/output_file]
copy

Copied to clipboard
free 100$ digital ocean credit