Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!tut.cis.ohio-state.edu!ucsd!nprdc!malloy From: malloy@nprdc.arpa (Sean Malloy) Newsgroups: comp.lang.postscript Subject: Re: Landscape printing under (di)troff/PostScript Message-ID: <2590@skinner.nprdc.arpa> Date: 21 Jun 89 18:27:58 GMT References: <81=g024X36Zp01@amdahl.uts.amdahl.com> <2093@astroatc.UUCP> <2518@skinner.nprdc.arpa> <2099@astroatc.UUCP> <2538@skinner.nprdc.arpa> <2115@astroatc.UUCP> Reply-To: malloy@nprdc.arpa (Sean Malloy) Distribution: na Organization: Navy Personnel R&D Center, San Diego Lines: 37 In article <2115@astroatc.UUCP> brown@astroatc.UUCP (Vidiot) writes: >The psroff section has no mention of the -L or -M options. Here at my >new job, the online manual has the same problem, as it is exactly the >same software release. >Explanation would be appreciated. In the lib/psdit.pro file on our system, we have two procedures defined: xi and xiL. The -L flag passed to psdit determines whether xi or xiL is called immediately before the '%%EndProlog' line. The definition for xi is: /xi {0 72 11 mul translate 72 resolution div dup neg scale 0 0 moveto /fontnum 1 def /fontsize 10 def /fontheight 10 def /fontslant 0 def F /pagesave save def}def The definition for xiL is: /xiL {0 72 8.25 mul 72 11 mul translate -90 rotate 72 resolution div dup neg scale 0 0 moveto /fontnum 1 def /fontsize 10 def /fontheight 10 def /fontslant 0 def F /pagesave save def}def The changes to psdit.c are logged as being made 87/10/13, after the changes required to add support for psfig (added 87/9/29). Basically, the change involved adding the check for the -L flag in main(), setting a variable according to whether it was found, and in t_init() changing the normal "x i" initialization to "xi" or "xiL" depending on the state of the variable. Sean Malloy | "The proton absorbs a photon Navy Personnel Research & Development Center | and emits two morons, a San Diego, CA 92152-6800 | lepton, a boson, and a malloy@nprdc.navy.mil | boson's mate. Why did I ever | take high-energy physics?"