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
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________