🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #2498

Re: Landscape output from psroff

#2498
From: Peter Bartel
Date: Thu, 07 Feb 1991 06:15
38 lines
2071 bytes
Thanks to those who replied to my original request. It seems that some
people have a different version of psroff to mine (written by Chris Lewis).
Other versions seem to be based around ditroff which I don't have. At
least one version has landscape support built-in. 

The following reply was particularly helpful:

From article <2562@kraftbus.cs.tu-berlin.de>, by net@opal.cs.tu-berlin.de
(Oliver Laumann):
> In article <1991Jan18.055212.16845@TIRS.oz.au> pete@TIRS.oz.au (Peter Bartel) writes:
>> Anybody know how to get landscape output to an Apple Laserwriter IINT from
>> psroff?
> 
> Yes.  In the PostScript prolog for psdit (psdit.pro), change the line
> reading
> 
>     /xi {0 72 11.7 mul translate 72 resolution div dup neg scale 0 0 moveto
> 
> into
> 
>     /xi {90 rotate 72 resolution div dup neg scale 0 0 moveto
> 
Although I don't have appear to have psdit.pro, the principle here is
sound, and I put the following lines in my postscript output before printing:
	800 0 translate
	90 rotate
This works nicely.

Without having tried it yet, I believe the appropriate place to put these
lines is in ps.lib on my system. A fairly simple mod to the psroff script
could select different ps.lib files based on a command line switch, say
-L.
_______________________________________________________________________
Peter Bartel	Senior Software Engineer	International
Phone:		+61-8-232-1740			Railroad
Faxstream:	+61-8-232-2274			Systems
E-mail:		pete@TIRS.oz.au			(Electronics)
Snail:		209-217 Wakefield St, Adelaide, South Australia, 5000
Technical Details
Message-ID: <1991Feb7.061514.12962@TIRS.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!augean!bubbles!pete
References: <2562@kraftbus.cs.tu-berlin.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!augean!bubbles!pete
From: pete@TIRS.oz.au (Peter Bartel)
Newsgroups: comp.text
Subject: Re: Landscape output from psroff
Message-ID: <1991Feb7.061514.12962@TIRS.oz.au>
Date: 7 Feb 91 06:15:14 GMT
References: <2562@kraftbus.cs.tu-berlin.de>
Organization: International Railroad Systems (Electronics)
Lines: 38