On Sun, 13 Jun 2004 17:15:14 +0100
Richard Urwin <[EMAIL PROTECTED]> wrote:

> On Sunday 13 Jun 2004 10:35 pm, robin wrote:
> > Johan Sch wrote:
> > > Hi list,
> > >
> > > printing man files I do this .. man grub | col -b | lpr  .. which
> > > is ok. but..
> > > Please how can info files be printed, they seem to have more
> > > detail.
> >
> > You can send them directly to lpr too, but I use a2ps for printing
> > out both man and info pages (and indeed most text documents). The
> > basic command is:
> >
> > info grub | a2ps -t grub
> >
> > This will print it out in two virtual pages, with the title "grub".
> > There are a lot of options for both commands, so first look at
> >
> > info info
> >
> > and
> >
> > info a2ps
> >
> > The first can select which nodes you want to print, and the second
> > will give you lots of printing options.
> >
> > Sir Robin
> 
> For man pages, the man command can do it without any help:
>   man -t subject | lpr
> 
> This has the advantage of retaining the bold and underline attributes, 
> which the "col -b" command strips.
> 
> -- 
> Richard Urwin
>
 
Would like to thank the respondents for helping in this matter.
Enjoy

-- 
Johan Sch
kernel 2.6.3-13mdk
May this be a good day for learning
Registered Linux User #330034

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to