home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!usenet.coe.montana.edu!decwrl!hal.com!darkstar.UCSC.EDU!gross
- From: gross@maxwell.ucsc.edu (Mike Gross)
- Newsgroups: comp.unix.questions
- Subject: Re: Man page ---> postscript .... help!
- Message-ID: <17qq7nINNbcm@darkstar.UCSC.EDU>
- Date: 30 Aug 92 15:41:43 GMT
- Article-I.D.: darkstar.17qq7nINNbcm
- References: <1992Aug29.115148@betsy.mc.ti.com> <1992Aug29.201832.8510@unlinfo.unl.edu>
- Distribution: all
- Organization: University of California, Santa Cruz
- Lines: 29
- NNTP-Posting-Host: maxwell.ucsc.edu
-
- In <1992Aug29.201832.8510@unlinfo.unl.edu> chem001@hoss.unl.edu (Jonathan Skean) writes:
-
- >In <1992Aug29.115148@betsy.mc.ti.com> cobb@betsy.mc.ti.com (Chip Cobb) writes:
-
- >>This is probably a very basic question. I want to print a man
- >>page on a postscript printer.
-
- >I can't help with the postscript part, but this is what I do to
- >convert a man entry for a given command to a text file:
-
- >man command |col -b >temp;uniq temp m_command;rm temp;vi m_command
-
-
- To print the man page for "command" from manual section x, try
-
- troff -man -t /usr/man/manx/command | lpr -t
-
- Here x should be 1..8 or n or l. For X11 man pages, you will have to look in
- /usr/local/X11R5/man/manx/command. If there is any doubt, you can look for
- man pages with "whereis command." The -t on both troff and lpr is essential
- in order to keep lpr from getting confused.
-
- Happy printing.
-
- Mike Gross
- Physics Board
- Univ of California GO SLUGS!!!!!
- Santa Cruz, CA 95064
- gross@maxwell.ucsc.edu
-