enscript -Paleph boring.txt
enscript -2r boring.c
-2 set in two columns.
-1 set in one column (the default).
-r rotate the output 90 degrees (landscape mode). This is good for output that requires a wide page or for program listings when used in conjunction with -2.
"enscript -2r files" is a nice way to get program listings.
-R don't rotate, also known as portrait mode (the default).
-G print in gaudy mode: causes page headings, dates, page numbers to be printed in a flashy style, at some slight performance expense.
-l simulate a line printer: make pages 66 lines long and omit headers.
-B omit page headings.
-b header sets the string to be used for page headings to header . The default header is constructed from the file name, its last modification date, and a page number. In gaudy mode, two header lines are provided; the -b option sets the top header, while the second header normally contains the file name.
-s header2 sets the second header for gaudy mode (normally the file name).
-L lines set the maximum number of lines to output on a page. Enscript usually computes how many to put on a page based on point size, and may put fewer per page than requested by lines .
-f font sets the font to be used for the body of each page. Defaults to Courier10, unless two column rotated mode is used, in which case it defaults to Courier7.
-F hfont sets the font to be used for page headings. Defaults to Courier-Bold10.
-p out causes the \*(PS file to be written to the named file rather than being spooled for printing. As a special case, -p - will send the \*(PS to the standard output.
-g causes the fact that a file is garbage to be ignored. Normally, any file with more than a small number of non-printing characters is suspected of being garbage, and not printed - this option means "print it anyway."
-o If enscript cannot find characters in a font, the missing characters are listed.
-q causes enscript to be quiet about what it is doing. Enscript won't report about pages, destination, omitted characters, etc. Fatal errors are still reported to the standard error output.
-k enables page prefeed (if the printer supports it). This allows simple documents (e.g., program listings in one font) to print somewhat faster by keeping the printer running between pages.
-K disable page prefeed (the default).
-h suppress printing of job burst page.
-v verbose mode; the default on other versions of this program.
In 4.2bsd systems, the following spooler options are also recognized:
-P printer causes the output to be sent to the named printer.
-# n causes n copies of the output to be produced. The default is one.
-m causes the printer daemon to send mail upon job completion.
-J name sets the job name for use on the burst page. Otherwise, the name of the first input file will be used.
-C class set the job classification for use on the burst page.
In System V, the following spooler options are also recognized:
-t title sets job title for use on the burst page.
-d dest causes the output to be sent to the named printer or printer class.
-n n causes n copies of the output to be produced. The default is one.
-w " or " -m causes the printer daemon to write or send mail upon job completion.
2.2i /usr/local/lib/ps/*.afm font metrics files.
/usr/local/lib/ps/enscript.pro prologue for enscript files.
lpr(1 bsd), lp(1 V) Printer spooler
4.2bsd: lpr(1), lpq(1), lprm(1).
System V: lp(1), cancel(1), lpstat(1).
Gaudy mode by Guy Riddle of AT&T Bell Laboratories
Times and Helvetica are registered trademarks of Allied Corporation.