-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 20 Apr 2002, Steven W. Orr wrote:

> On Fri, 19 Apr 2002, Derek D. Martin wrote:
> 
> =>At some point hitherto, Steven W. Orr hath spake thusly:
> =>> gunzip < /usr/share/man/man1/bash.1.gz | groff -pte -man | lpr
> =>
> =>This is essentially identical to Matt's man -t bash, only with a lot
> =>more typing.
>
> Not at all. When you pipe man to lpr all you get is typewriter font going 
> to the printer, same as what you see on the screen.

   That was Ben's original way.  My way was to add the '-t' flag which, 
from "man man":
       -t     Use /usr/bin/groff -Tps -mandoc to format the  man-
              ual page, passing the output to stdout.  The output
              from /usr/bin/groff -Tps -mandoc  may  need  to  be
              passed  through some filter or another before being
              printed.

   BTW, on some Unixen (Solaris maybe) '-t' will cause man to output 
directly to your default printer instead of the screen.  I can't remember 
if this behavior can be changed, but it's worth noting if you ever want to 
print man pages from something other than Linux.
 

> My way, you are producing a mucgh more attractive PostScript which uses 
> proportional fonts and uses different ones for the different components of 
> the document. Try this

   Actually, I just wasted six sheets of paper to prove a point.  On my 
system at least, these two methods produce *exactly* the same output.  So 
mine wins, 'cus it's shorter.  :-P


- -- 
     -Matt

Because inside every old person is a young person wondering what happened.
                -- Terry Pratchett, "Moving Pictures"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wXyOc8/WFSz+GKMRAk9XAJ9mSP1axcs+lNwQO838VBJS3kbJBQCZAdRL
cYHPiGjBh40OnYH4NUruPvw=
=5d9C
-----END PGP SIGNATURE-----


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to