Forrest logo
back to context overview

enscript

List of commands for enscript:

  • enscript:tldr:25167 enscript: Generate a PostScript file from a text file.
    $ enscript ${path-to-input_file} --output=${path-to-output_file}
    try on your machine
    explain this command
  • enscript:tldr:7743b enscript: Generate a file in a different language than PostScript.
    $ enscript ${path-to-input_file} --language=${select} --output=${path-to-output_file}
    try on your machine
    explain this command
  • enscript:tldr:a1970 enscript: 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}
    try on your machine
    explain this command
  • enscript:tldr:bdf76 enscript: Display available syntax highlighting languages and file formats.
    $ enscript --help-highlight
    try on your machine
    explain this command
  • enscript:tldr:ea2b4 enscript: 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}
    try on your machine
    explain this command
back to context overview