home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10540 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.5 KB

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