Bayard Coolidge USG ZKO3-3/S20 wrote:
>
> Generally (and users of other Unices can comment), the 'man'
> command actually reads in the raw man page info, (which, in
> the old days was written in nroff format), and processes it
> and spits out the stuff you see in your xterm window. Note
> that in a lot of cases, this may include ANSI characters
> that will do bolding and underlining.
>
> To print this, you probably (and I wish I had a Linux box
> here to test it on to be sure) could do something like:
>
> man df | lpr
>
> to print the 'df' man page. In some cases, it may be necessary
> to use even more commands, as I had to do under ULTRIX 10 years ago:
>
> man df | col -b | lpr
>
> I haven't looked at the man page sources in Linux hard enough
> to figure out if they use some special nroff macros or not, which
> could make life a bit more amusing.
>
> Bayard
>
Alas, I tried the man df | lpr and got junk on a Laserjet (printed a
bunch of characters on the right hand side of the page)
---------------------------------------------------------------------------------
Jeffry Smith Technical Sales Consultant Mission
Critical Linux
[EMAIL PROTECTED] phone: 978.446.9166, x271 fax:
978.446.9470
---------------------------------------------------------------------------------
Science for today: I use technology in order to hate it more
properly.
-- Nam June Paik
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************