Print this article Edit this article
Command Line Printing: Printing Text in Landscape Format
To print a wide text file, use the "enscript" command, like so:
enscript -r -dprinter filenameThis will print the file, rotated on the page, with a heading. To suppress the header, use:
enscript -Br -dprinter filenameEnscript can print your files many different ways, including printing two columns on the page. This is especially good for program listings:
enscript -2r -dprinter filenameFor more information about enscript, type, 'man enscript' at a Unix command prompt.
Last Modified:
Dec 19, 2016 11:12 am US/Eastern
Created:
Oct 8, 2007 9:36 am GMT-4
by
admin
JumpURL: https://eng.purdue.edu/jump/b24b1