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

Re: printing man pages



>   Can anyone explain me how can i print a man page? Is there any utility
> program for this?

Sure. 

You may convert the source of the man page to postscript file and then print
it, like:

zcat /usr/man/man1/ls.1.gz  | groff -tmandoc -T ps > ls.ps

You may also convert man page to a plain test file with

man ls | ul -T dumb >ls.txt

Alex Y.

-- 
   _ 
 _( )_
(     (o___           +-------------------------------------------+
 |      _ 7           |            Alexander Yukhimets            |
  \    (")            |       http://pages.nyu.edu/~aqy6633/      |
  /     \ \           +-------------------------------------------+


--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: