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

enscript

  • Convert text files to PostScript, HTML, RTF, ANSI, and overstrikes.
    More information: <https://www.gnu.org/software/enscript>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

enscript {{path/to/input_file}} --columns={{num}} --landscape --output={{path/to/output_file}}

click the source code to copy install enscript on any operating system with command-not-found.com