Article View: comp.sys.next.misc
Article #4337Re: Papersize for man -t (ptroff)
From: Detlev Droege
Date: Fri, 11 Dec 1992 15:12
Date: Fri, 11 Dec 1992 15:12
30 lines
1889 bytes
1889 bytes
In article <1992Dec7.110448.18834@pilhuhn.ka.sub.org> jr@sade.ka.sub.org (Jochen Richter) writes: > Hi, > > I use A4 as my global papersize. > Whenever I print a manpage using man -t or the ptroff command the pages do > not print properly. When I set the papersize to LETTER it works. In case I > do not want to switch the papersize all the time there are 2 questions: > > 1. For which application can I set the papersize default that ptroff uses > this one instead of the global one? Ptroff is a shell script which calls pscat. Pscat is the weird program. It reads the defaults database, but apparently does so for the globals only. It seems not to know "private" defaults, at least I didn't find them. > 2. What default can I set to format the manpages in A4 and then print it > in A4? Call ptroff with the additional option "-l 11in". This is given through to pscat and overrides the defaults. I use ptroff -man -t -l 11in xxx.1 | lpr for man pages. This works fine even if you did a "dwrite -g NXPaperType A4". Detlev -- Detlev Droege | droege@infko.uni-koblenz.de Universitaet Koblenz, | (NeXTmail ok) Institut fuer Informatik | Voice: +49 261 9119-421 Rheinau 3-4, D-5400 Koblenz, Germany | Fax: +49 261 9119-499
Technical Details
Message-ID:
<1gab4dINN16m@uniko.uni-koblenz.de>Path:
arc1-ca.pugleaf.net!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!usenetReferences:
<1992Dec7.110448.18834@pilhuhn.ka.sub.org>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: droege@infko.uni-koblenz.de (Detlev Droege) Newsgroups: comp.sys.next.misc Subject: Re: Papersize for man -t (ptroff) Date: 11 Dec 1992 15:12:13 GMT Organization: CC/CS Uni-Koblenz Lines: 30 Distribution: world Message-ID: <1gab4dINN16m@uniko.uni-koblenz.de> References: <1992Dec7.110448.18834@pilhuhn.ka.sub.org> NNTP-Posting-Host: nebel.uni-koblenz.de