[PLUG] making text pretty?

Paul Heinlein heinlein at attbi.com
Wed Mar 12 16:11:01 UTC 2003


On Wed, 12 Mar 2003, Matt Alexander wrote:

> I wrote a shell script that reads a text file of names, addresses,
> etc., and then creates letters that are sent to a printer.  
> Everything works perfectly...  except my manager doesn't like the
> plain text and wants to use an Arial font and underline certain
> portions of text.

Getting it to print in an Arial-esque typeface isn't a problem; just
use enscript:

  enscript -f Helvetica12 --margins=72:72:72:72 filename.txt

To insert formatting codes, like boldface or underline, you'll likely 
end up using a word processor or spitting it into something like nroff 
or LaTeX.

--Paul Heinlein <heinlein at attbi.com>





More information about the PLUG mailing list