Notice! This document is currently in
Archived
status.
The content of this document may be incorrect or outdated.
The content of this document may be incorrect or outdated.
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:
Nov 21, 2025 11:43 am US/Eastern
Created:
Oct 8, 2007 9:36 am GMT-4
by
admin
JumpURL: