From: Robert Sweetnam (sweetr at domain indigo.ie)
Date: Wed 20 Oct 1999 - 15:25:13 IST
Thanks to all who replied.
I've finally settled on the following.
$ man -t ls |lpr
the -t gives me some nice formating and is postscript too so just what I was
From: Nick Hilliard <nick at domain iol.ie>
To: ilug at domain linux.ie <ilug at domain linux.ie>
Date: Wednesday, October 20, 1999 3:20 PM
Subject: Re: [ILUG] Quick One- Printing Man Pages
>> Not sure that this is what you want - but I use
>> $ man ls |col -b > man.file
>> then just print man.file (in this case the ls man page)
>> You do loose the formatting (bold & underline) from the page
>Surely much better to go to the original roff source and do something like:
>% groff -Tps -mandoc /usr/share/man/man3/blah.3 |lpr
>Irish Linux Users' Group: ilug at domain linux.ie
>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
>List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:46 GMT