Re: printing a man page

2016-07-22 Thread Arpan Chatterjee
Thank you sir, for the command On Jun 27, 2016 7:20 PM, Prosun Prodhan wrote:Hi Ken,Simple,  # man foo | col -b > foo.mantxtwhere foo is the command.:)Thanks to man page of man command.  :-P--regardsProsun Prodhan 09339192066(M)Registered Linux User # 318610(LiCo :

Re: printing a man page

2016-06-27 Thread James Cloos
> "KT" == Ken Teh writes: KT> I did try it exactly as you described below with -T html option. When I KT> opened the html file with the browser, the table was missing. KT> I see what you mean by an "infinite page length". Maybe the html output KT> is done with

Re: printing a man page

2016-06-27 Thread James Cloos
> "KT" == Ken Teh writes: KT> Thanks for the tip. Grog outputs KT> groff -t -man My point was that then doing one of: groff -t -man -Txhtml filename >file.html groff -t -man -Thtml filename >file.html should work since the page length for html is as clone to infinite

Re: printing a man page

2016-06-27 Thread Prosun Prodhan
Hi Ken, Simple, # man foo | col -b > foo.mantxt where foo is the command. :) Thanks to man page of man command. :-P --regards Prosun Prodhan 09339192066(M) Registered Linux User # 318610 (LiCo : http://www.linuxcounter.net, formerly http://counter.li.org) Use Open Document Format. Try

Re: printing a man page

2016-06-27 Thread Ken Teh
Thanks for the tip. Grog outputs groff -t -man which is what 'man -t' does. So, the error is still there. The error description explicitly says how to fix the problem. error: page 11: table will not fit on one page; use .TS H/.TH with a supporting macro package If I read this right,

Re: printing a man page

2016-06-24 Thread James Cloos
> "KT" == Ken Teh writes: KT> Does anyone know enough groff to help me print this man page? KT> # man -t firewall-cmd > /tmp/firewall-cmd.ps Copy the source man page to someplace like /tmp, run grog on it to see what options are required (for things like tables, equations and

Re: printing a man page

2016-06-24 Thread Ken Teh
I *am* working on a headless server. But I'll keep yelp in mind. I decided to try the firewalld project home page. They have the manual pages on the web. Prints very nicely via the browser. On 06/24/2016 04:33 PM, Jim Campbell wrote: What about trying this: yelp man:firewall-cmd . . . and

Re: printing a man page

2016-06-24 Thread Jim Campbell
What about trying this: yelp man:firewall-cmd . . . and then using yelp to find and print the appropriate page? I am pretty sure that yelp can be used to print (and I know that you can use it to at least view man pages). Of course, this is all moot if you are working from a server or don't have

Re: printing a man page

2016-06-24 Thread Mark Stodola
On 06/24/2016 03:30 PM, Ken Teh wrote: Does anyone know enough groff to help me print this man page? # man -t firewall-cmd > /tmp/firewall-cmd.ps :397: warning [p 4, 4.4i]: can't break line :434: warning [p 4, 6.8i]: can't break line :446: warning [p 4, 7.9i]: can't break line error: page 11: