[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] paper size selection
From: |
Werner LEMBERG |
Subject: |
[Groff] paper size selection |
Date: |
Wed, 12 Mar 2003 23:52:55 +0100 (CET) |
>From NEWS:
o troff's start-up file `troffrc' now includes `papersize.tmac' to set
the paper size with the command line option `-dpaper=<size>'.
Possible values for `<size>' are the same as the predefined
`papersize' values in the DESC file (only lowercase; see the
groff_font man page) except a7-d7. An appended `l' (ell) character
denotes landscape orientation. Examples: `a4', `c3l', `letterl'.
Most output drivers need additional command line switches `-p' and
`-l' to override the default paper length and orientation as set in
the driver specific DESC file.
For example, use the following for PS output on A4 paper in
landscape orientation:
groff -Tps -dpaper=a4l -P-pa4 -P-l -ms foo.ms > foo.ps
Enjoy!
Werner
- [Groff] paper size selection,
Werner LEMBERG <=