Landscape mode in troff

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Jul 5 14:27:03 AEST 1990


In article <3616 at mcgp1.UUCP> flak at mcgp1.UUCP (Dan Flak) writes:
>Can it be done? If so, how?

"troff" does not know about "portrait" vs. "landscape"; it merely
produces instructions for subsequent typesetting.  It does have
default assumptions about page size, margins, etc. but these can
be overridden.  How you tell your troff postprocessor to use a
landscape mode is dependent on the particular postprocessor.

Here is how I usually do this, but odds are you need to adapt this
for your particular environment.  Note also that some implementations
of "tbl" have inappropriate line-length limits built into them; these
are easily enlarged if you have source code.

	troff -Ti300 -rL8.5i -rW9i -mm my_file | dimp -L



More information about the Comp.unix.questions mailing list