On Sat, Sep 21, 2002 at 09:47:31PM -0400, fred smith wrote:
> On Sun, Sep 22, 2002 at 09:05:21AM +1200, Linux wrote:
> > 
> > >From time to time it is good to have printed copies of man pages.
> > when I issue the command "man binary > /path
> > When I do this most of the text works out OK. The headings end up with
> > double or triple characters or have squares between the repeated characters.
> > 
> > Does anyone know of a method for converting man pages into straight text
> > 
> 
> You can print nice typeset copies of manpages (assuming you have
> a printer that can do nice proportional fonts, which most can these
> days) by doing:
> 
>       man -t foobar
> 
> and voila! a nicely formatted page for foobar!

Yeah, well DUH!

Change that to be:

        man -t foobar | lpr

with whatever options you need to lpr for your printer.
> 
> -- 
> ---- Fred Smith -- [EMAIL PROTECTED] ------------------------ ----
>                     Do you not know? Have you not heard? 
>     The LORD is the everlasting God, the Creator of the ends of the earth. 
>   He will not grow tired or weary, and his understanding no one can fathom.
> ----------------------------- Isaiah 40:28 (niv) -----------------------------

-- 
---- Fred Smith -- [EMAIL PROTECTED] -----------------------------
                       I can do all things through Christ 
                              who strengthens me.
------------------------------ Philippians 4:13 -------------------------------



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to