Access Keys:
Skip to content (Access Key - 0)

How do I print wide (132 characters) text files?

To print a wide text file, use the "enscript" command, like so:

	enscript  -Pprinter  -r  filename

This will print the file, rotated on the page, with a heading. To suppress the header, use:

	enscript  -Pprinter  -Br  filename

"Enscript" can print your files many different ways, including printing two columns on the page. This is especially good for program listings:

	enscript  -Pprinter  -2r  filename

For more information about "enscript", type:

	man  enscript

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

February 25, 2009

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
print print Delete
wide wide Delete
characters characters Delete
text text Delete
file file Delete
enscript enscript Delete
c-printing c-printing Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki