Name
enscript
Synopsis
enscript [options] [files]
Converts text files to PostScript
for output to a printer or file. This converion is necessary when
printing text files from the command line to most laser printers, for
example, since most laser printers are PostScript devices.
enscript is a feature-rich application that allows
you to modfiy the printed output in many ways. The following
descriptions and examples cover
enscript’s basic operation; for a
complete description, refer to
enscript’s manpage.
Used with no arguments, enscript receives text
from standard input and sends it to the default printer. Otherwise,
enscript converts the text files specified in
files, and directs output to a named printer,
file, or standard output as specified by options
(or the default printer if no options are specified).
Options
-
-#n,-nn,--copies=n Print n copies of every page.
-
-apages,--pages=pages Print selected pages, as specified in the following format:
-
begin-end Print from page number begin to page number end.
-
-end Print until page number -end.
-
begin- Print from page number begin to the last page.
-
page Print only page number page.
-
odd Print only the odd numbered pages.
-
even Print only the even numbered pages.
-
-
--list-options List the current
enscriptoption settings.-
-r,--landscape Print the page in landscape mode, rotated 90 degrees.
-
-R,--portrait Print the page in portrait mode, the default.
-
-Un,--nup=n Print n-up; place n pages on each sheet of output.
-
--margins=left ...