Path: 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 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