Here are several examples of enscript

 

To print a text file named "file1.txt" single-sided, type:
>>enscript -Picl2 file1.txt

 To print the same file duplex (double-sided), type:
>>enscript -Picl2_duplex file1.txt

 To print the same file with two columns per page, type:
>>enscript -2r -Picl2 file1.txt

 To Print several files named "file1.txt", "file2.txt", etc. single-sided, type:
>>enscript -Picl2 file1.txt file2.txt file3.txt

 To print a file landscape (rotated 1/4 turn, useful for files with long lines like C programs), type:
>>enscript -r -Picl2 file1.txt

 If the lines in your file are still too long for the -r switch, try reducing the font size. If your file is called "file1.c", type:
>>enscript -r -fCourier8 -Picl2 file1.c

 As one can infer from the examples, to print landscape add -r before the filename, and to print with two columns add -2r.


CS Consultants

consult@cs.uic.edu
Department of CS
University of Illinois at Chicago

Last Update: 02-28-03