From: ram@court.mentorg.com (Ram Tumuluri) Subject: Re: How to print man pages ? Date: 27 May 1993 19:50:31 GMT
In article <10267@dirac.physics.purdue.edu> bcr@bohr.physics.purdue.edu (Bill C. Riemers) writes:
>In article <C7nnJ6.7rA@athena.cs.uga.edu> you write:
>>In article <1u0e3qEhj3@uni-erlangen.de> fn0601@cd4680fs.rrze.uni-erlangen.de (Kurs-01) writes:
>>>Does anybody know how to print a manualpage on a standard
>>>printer? Especially the ones that are NOT in /usr/man/man*,
>>>but only in /usr/man/cat*.
>>>
>>You could try "man command | lpr".
>
>It doesn't work... Unfortunately most of the man pages are in
>a compressed ascii format with ansi sequences. This is nice in
>that a complete set of manual pages can be reduced to consume less
>than 1.6MB, but the ansi sequences confuses some line printers.
>
>Any one no of a good way to eliminate these sequences automatically?
>
> Bill
>
man command | col -b | lp
has worked for me. It produces a pure ascii man page, with none of the fancy
stuff (highlighting, bold fonts etc).
ram
-- ---------------------------------------------------------------------------------- Ramakrishna J. Tumuluri EMAIL : ram_tumuluri@mentorg.com VOICE MAIL : (408)-451-5601 #include <standard.disclaimer> #include <witty.saying> #include <fancy.pseudo.graphics> ----------------------------------------------------------------------------------