Re: printing man pages
Hi,
>>"Alex" == <aqy6633@acf5.nyu.edu> writes:
>> Can anyone explain me how can i print a man page? Is there any utility
>> program for this?
Alex> You may convert the source of the man page to postscript file
Alex> and then print it, like:
Alex> zcat /usr/man/man1/ls.1.gz | groff -tmandoc -T ps > ls.ps
You can do this directly using man, for example,
__> man -Tdvi foo.1x > ./foo.1x.dvi
__> man -Tps man | lpr
-T device, --troff-device [=device]
This option is used to change groff (or possibly
troff's) output to be suitable for a device other
than the default. It implies -t. Examples (pro
vided with Groff-1.09) include dvi, latin1, X75 and
X100.
manoj
--
The clothes have no emperor. -- C. A. Hoare, about Ada.
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: