mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 10:15:24 +02:00
enscript: add page (#2432)
This commit is contained in:
parent
374c403740
commit
01146452dd
1 changed files with 23 additions and 0 deletions
23
pages/common/enscript.md
Normal file
23
pages/common/enscript.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# enscript
|
||||
|
||||
> A tool to convert text files to PostScript, HTML, RTF, ANSI, and overstrikes.
|
||||
|
||||
- Generate PostScript from a file and output to another:
|
||||
|
||||
`enscript {{path/to/input_file}} --output={{path/to/output_file}}`
|
||||
|
||||
- Generate a certain output language (eg. _html_) from a file and output to another:
|
||||
|
||||
`enscript {{path/to/input_file}} --language={{language}} --output={{path/to/output_file}}`
|
||||
|
||||
- Generate PostScript from a file and output to another with 1 to 9 column per page in landscape:
|
||||
|
||||
`enscript {{path/to/input_file}} --columns={{num}} --landscape --output={{path/to/output_file}}`
|
||||
|
||||
- Display avaliable syntax highlighting:
|
||||
|
||||
`enscript --help-highlight`
|
||||
|
||||
- Genereate PostScript from a file and output to another with syntax highlighting and color for a specified language:
|
||||
|
||||
`enscript {{path/to/input_file}} --color=1 --highlight={{language}} --output={{path/to/output_file}}`
|
Loading…
Add table
Reference in a new issue