[comp.text] Landscape output from psroff

pete@TIRS.oz.au (Peter Bartel) (01/18/91)

Anybody know how to get landscape output to an Apple Laserwriter IINT from
psroff?
_______________________________________________________________________
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

clewis@ferret.ocunix.on.ca (Chris Lewis) (01/26/91)

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?

Run it thru psnup.
-- 
Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca
UUCP: uunet!mitel!cunews!latour!ecicrl!clewis
Moderator of the Ferret Mailing List (ferret-request@eci386)
Psroff enquiries: psroff-request@eci386, current patchlevel is *7*.

pete@TIRS.oz.au (Peter Bartel) (02/01/91)

From article <1223@ecicrl.ocunix.on.ca>, by clewis@ferret.ocunix.on.ca 
(Chris Lewis):
> 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?
> 
> Run it thru psnup.

What's psnup when its at home?
_______________________________________________________________________
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

clewis@ferret.ocunix.on.ca (Chris Lewis) (02/04/91)

In article <1991Jan31.233240.29162@TIRS.oz.au> pete@TIRS.oz.au (Peter Bartel) writes:
>From article <1223@ecicrl.ocunix.on.ca>, by clewis@ferret.ocunix.on.ca 
>(Chris Lewis):
>> 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?

>> Run it thru psnup.

>What's psnup when its at home?

A Postscript program written by Ned Batchelder and posted quite some
time ago to comp.sources.misc.  Roy Smith at Phri mentioned it
quite recently.  I'm trying to get in contact with Ned about
reposting it with a frontend to make it easier to use.  If people
have an immediate need for it, send me mail and I'll send you
what I've got as a beta test - not for further redistribution.  If I
don't hear back from Ned soon, I guess I'll go ahead and post it anyways
(contacting him is purely a courtesy because he hasn't restricted
redistribution but I wanted to see if he had a newer version).
-- 
Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca
UUCP: uunet!mitel!cunews!latour!ecicrl!clewis
Moderator of the Ferret Mailing List (ferret-request@eci386)
Psroff enquiries: psroff-request@eci386, current patchlevel is *7*.

pete@TIRS.oz.au (Peter Bartel) (02/07/91)

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

clewis@ferret.ocunix.on.ca (Chris Lewis) (02/13/91)

In article <1991Feb7.061514.12962@TIRS.oz.au> pete@TIRS.oz.au (Peter Bartel) writes:
>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).

Sorry for the confusion - Adobe transcript also has a "psroff".  (I didn't
know that at the time, nor was "psroff" my idea anyways...)

>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.

Another approach is this:
	psroff -P'P800 0 translate 90 rotate'

>Without having tried it yet, I believe the appropriate place to put these
>lines is in ps.lib on my system.

Immediately before the "%%EndProlog" (very end of the file) if you decide to go
that route.  (which is where the "-PP" puts it).  You can also configure in the
psrofflib to have two different psroff "-T" options to select one ps.lib or the
other.
-- 
Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca
UUCP: uunet!mitel!cunews!latour!ecicrl!clewis; Ferret Mailing List:
(ferret-request@eci386); Psroff (not Adobe Transcript) enquiries:
psroff-request@eci386, current patchlevel is *7*.