home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / misc / 23031 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!newshost.uni-koblenz.de!newshost.uni-koblenz.de!usenet
  2. From: droege@infko.uni-koblenz.de (Detlev Droege)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: Papersize for man -t (ptroff)
  5. Date: 11 Dec 1992 15:12:13 GMT
  6. Organization: CC/CS Uni-Koblenz
  7. Lines: 30
  8. Distribution: world
  9. Message-ID: <1gab4dINN16m@uniko.uni-koblenz.de>
  10. References: <1992Dec7.110448.18834@pilhuhn.ka.sub.org>
  11. NNTP-Posting-Host: nebel.uni-koblenz.de
  12.  
  13. In article <1992Dec7.110448.18834@pilhuhn.ka.sub.org> jr@sade.ka.sub.org  
  14. (Jochen Richter) writes:
  15. > Hi,
  16. > I use A4 as my global papersize.
  17. > Whenever I print a manpage using man -t or the ptroff command the pages do  
  18. > not print properly. When I set the papersize to LETTER it works. In case I  
  19. > do not want to switch the papersize all the time there are 2 questions:
  20. > 1. For which application can I set the papersize default that ptroff uses  
  21. > this one instead of the global one?
  22.  
  23. Ptroff is a shell script which calls pscat. Pscat is the weird program.
  24. It reads the defaults database, but apparently does so for the globals
  25. only. It seems not to know "private" defaults, at least I didn't find them.
  26.  
  27. > 2. What default can I set to format the manpages in A4 and then print it  
  28. > in A4?
  29.  
  30. Call ptroff with the additional option "-l 11in". This is given through
  31. to pscat and overrides the defaults. I use
  32.     ptroff -man -t -l 11in  xxx.1 | lpr
  33. for man pages. This works fine even if you did a "dwrite -g NXPaperType A4".
  34.  
  35.     Detlev
  36. --
  37. Detlev Droege                          | droege@infko.uni-koblenz.de
  38. Universitaet Koblenz,                  |       (NeXTmail ok)
  39. Institut fuer Informatik               | Voice: +49 261 9119-421
  40. Rheinau 3-4, D-5400 Koblenz, Germany   | Fax:   +49 261 9119-499
  41.