mirror of https://github.com/CrimsonTome/tldr.git
enscript: reword page (#3220)
parent
a9499b442f
commit
9bd20d5328
|
@ -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: <https://www.gnu.org/software/enscript>.
|
||||
|
||||
- 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}}`
|
||||
|
|
Loading…
Reference in New Issue