Re: Printing man pages

2006-03-02 Thread Jean-Rene David
* Reid Thompson [2006.03.02 14:15]: > man groff | enscript -p - | ps2pdf - groff.pdf One less step: man -Tps groff | ps2pdf - groff.pdf I find the output prettier too. -- JR -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.h

Re: Printing man pages

2006-03-02 Thread George
On Thu, Mar 02, 2006 at 02:11:09PM -0500, Reid Thompson wrote: > Reid Thompson wrote: > >George wrote: > >>[...] > >man groff | enscript -p - | ps2pdf - groff.pdf I am thoroughly impressed. For man pages, I think this is optimal as the default enscript font setting is fixed pitch, and enscript p

Re: Printing man pages

2006-03-02 Thread Reid Thompson
Reid Thompson wrote: George wrote: Generating a PDF from the grep man page, for example, using: man -t `man -w grep` | ps2pdf - grep.pdf which, by default, is actually /usr/bin/groff -Tps -mandoc `man -w grep` | ps2pdf - grep.pdf results in a fairly unattractive PDF file. The man page

Re: Printing man pages

2006-03-02 Thread Reid Thompson
George wrote: Generating a PDF from the grep man page, for example, using: man -t `man -w grep` | ps2pdf - grep.pdf which, by default, is actually /usr/bin/groff -Tps -mandoc `man -w grep` | ps2pdf - grep.pdf results in a fairly unattractive PDF file. The man page title is dropped from

Re: Printing man pages

2006-03-02 Thread George
On Thu, Mar 02, 2006 at 02:08:03PM +, Tony Richardson wrote: > George sbcglobal.net> writes: ^^ Brilliant idea. I think I'll steal it, and hope others do the same. > > Generating a PDF from the grep man page, for example, using: > > > >man -t `man -w gr

Re: Printing man pages

2006-03-02 Thread Tony Richardson
George sbcglobal.net> writes: > Generating a PDF from the grep man page, for example, using: > >man -t `man -w grep` | ps2pdf - grep.pdf > > which, by default, is actually > >/usr/bin/groff -Tps -mandoc `man -w grep` | ps2pdf - grep.pdf > > results in a fairly unattractive PDF file. T