O'Reilly Network: Living Linux: Outputting Text | Linux Today

O’Reilly Network: Living Linux: Outputting Text

Written By
Web Webster
Web Webster
Apr 9, 2000

GNU Enscript is a tool that takes plain text as input and
writes PostScript output, doing any number of formatting changes in
between. It’s great for quickly making nice output of a plain text
file
— you can use it to do things like output text in a font
of your choosing, or paginate text with graphical headers at the
top of each page.”

“By default, enscript paginates its input, outputs it in a
10-point Courier font, and puts a simple header at the top of each
page containing the filename, date and time, and page number in
bold. Use the -B option to omit this header….”

“Most Linux installations nowadays have print filters set up so
that PostScript spooled for printing is automatically converted to
a format the printer understands (if your system doesn’t have this
set up for some reason, convert the PostScript to a format
recognized by your printer with the gs tool).”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.