Article View: comp.text
Article #3709Re: Landscape mode in troff ?
From: tjt
Date: Mon, 27 Apr 1987 13:36
Date: Mon, 27 Apr 1987 13:36
21 lines
1259 bytes
1259 bytes
In article <99600001@labsms.UUCP>, lmm@labsms.UUCP writes:
> HELP -
> I'm using Adobe's Transcript package ...
> how do you tell psroff or psdit or whatever to print it out
> in landscape mode?
I use the following:
troff -Tpsc -rL8.5i -rW8i YourFile | psdit | psturn | lp -dPostScript
where 'psturn' is the following 2-line shell:
sed -e '/^\/xi/a\
63 72 mul 0 translate 90 rotate'
This relies on the current contents of the PostScript prologue used in
Transcript; it looks for the /xi definition and adds an extra line to it.
It's non-portable, and will break if they change the prologue, but it's
small and works.
...Tim Thompson...AT&T Bell Labs/Holmdel/NJ...ihnp4!twitch!tjt...
Technical Details
Message-ID:
<701@twitch.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbatt!ihnp4!twitch!tjtReferences:
<99600001@labsms.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbatt!ihnp4!twitch!tjt From: tjt@twitch.UUCP Newsgroups: comp.text Subject: Re: Landscape mode in troff ? Message-ID: <701@twitch.UUCP> Date: Mon, 27-Apr-87 09:36:05 EDT Article-I.D.: twitch.701 Posted: Mon Apr 27 09:36:05 1987 Date-Received: Wed, 29-Apr-87 01:35:54 EDT References: <99600001@labsms.UUCP> Organization: AT&T Bell Labs, Holmdel, NJ Lines: 21 Summary: Here's how I do it (specific to Transcript)