[comp.unix.questions] Landscape mode in troff

flak@mcgp1.UUCP (Dan Flak) (07/04/90)

Can it be done? If so, how?
-- 
       Dan Flak - McCaw Cellular Communications Inc., 201 Elliot Ave W.,
    Suite 105, Seattle, Wa 98119, 206-286-4355, (usenet: thebes!mcgp1!flak)

gwyn@smoke.BRL.MIL (Doug Gwyn) (07/05/90)

In article <3616@mcgp1.UUCP> flak@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