From: drg50@ccc.amdahl.com (Dave Gavin) Subject: Re: How to print man pages ? Date: 28 May 1993 20:01:07 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
I use
"zcat /usr/man/cat1/zcat.1.Z | lpr -i8"
Works for me with an HP LaserJet IIIp...
Dave Gavin
--
/XX\ My opinions, |David Gavin - Amdahl Corp. - Boston, MA
///\\\3000 not my employer's |net: drg50@juts.ccc.amdahl.com
\\\///==\\\ | or amdahl!juts!drg50
\XX/ \\\1000 |CIS: 73147,155 BIX: davegavin
(If must use INTEL - run LINUX !)