Re: Printing a man page.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steven W. Orr wrote:

On Thursday, Aug 25th 2005 at 17:23 +0530, quoth Vikram Goyal:

=>Hello Guys!
=>
=>How does one prints a man page with a descent looking font.
=>
=>I printed one man page with this command:
=>man  allec | col -b | ul -t dumb | lpr
=>
=>but the output page was in very small font size. How does one control
=>font here?
=>
=>Thanks
=>-- =>vikram...

Sheesh! I just read all the other answers on how to print man pages. (I should charge for this stuff.)

groff -pte -man manpageFileName | lpr
      |||
      || \----------------process with eqn
      |\------------------process with tbl
      |-------------------process with pic

groff already defaults to -Tps output.

Then you get the printed output as God intended it.

Try this:

gunzip < /usr/share/man/man1/man.1.gz | groff -pte -man | lpr

How did God intend it? Was knowledge of that intention imparted to you personally? ;)

And how does your example requiring knowledge of the man page file and use of gunzip and groff with options improve on the following?

man -t topic | lpr


Chris

--
  "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
  Chris Johnson, RHCE #807000448202021


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux