diff --git a/pages/common/enscript.md b/pages/common/enscript.md index e45571939..8beb39117 100644 --- a/pages/common/enscript.md +++ b/pages/common/enscript.md @@ -1,24 +1,24 @@ # enscript -> A tool to convert text files to PostScript, HTML, RTF, ANSI, and overstrikes. +> Convert text files to PostScript, HTML, RTF, ANSI, and overstrikes. > More information: . -- Generate PostScript from a file and output to another: +- Generate a PostScript file from a text file: `enscript {{path/to/input_file}} --output={{path/to/output_file}}` -- Generate a certain output language (eg. "html") from a file and output to another: +- Generate a file in a different language than PostScript: -`enscript {{path/to/input_file}} --language={{language}} --output={{path/to/output_file}}` +`enscript {{path/to/input_file}} --language={{html|rtf|...}} --output={{path/to/output_file}}` -- Generate PostScript from a file and output to another with 1 to 9 column per page in landscape: +- 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}}` -- Display available syntax highlighting: +- Display available syntax highlighting languages and file formats: `enscript --help-highlight` -- Generate PostScript from a file and output to another with syntax highlighting and color for a specified language: +- 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}}`