Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!ucsd!nprdc!malloy From: malloy@nprdc.arpa (Sean Malloy) Newsgroups: comp.lang.postscript Subject: Re: Landscape printing under (di)troff/PostScript Message-ID: <3104@skinner.nprdc.arpa> Date: 3 Aug 89 14:01:57 GMT References: <81=g024X36Zp01@amdahl.uts.amdahl.com> <3085@skinner.nprdc.arpa> <2502@astroatc.UUCP> Reply-To: malloy@nprdc.arpa (Sean Malloy) Organization: Navy Personnel R&D Center, San Diego Lines: 32 In article <2502@astroatc.UUCP> brown@astroatc.UUCP (Vidiot) writes: >Unfortunately, Adobe officially doesn't support landscape in their version. >Sun ported a version and added the -L option. I was told by Adobe that they >are thinking of adding it to a later version. We are getting Adobe source >and will be modifying it with information that I received from another net >person. > >When someone else also posted a message like you did, I went digging through >our manuals and the script files. Nowhere was the -L option supported. >So I asked Adobe and got the answer I gave above. Checking the psdit prolog, I find that the only change is to have a second page setup call that rotates the page 90 degrees -- in the '/xi' definition, it does an 11" translation along the Y axis, and in the '/xiL' definition, which is called when landscape mode is selected, it does an 8.5" translation in X, an 11" translation in Y, and a -90 rotation -- otherwise the functions are identical. You should be able fairly trivially to make a new copy of the psdit prolog and change '0 72 11 mul translate' to '72 8.5 mul 72 11 mul translate -90 rotate', and use the -p flag to psdit to make it read the modified prolog instead of the stock one. Our psdit.pro file is in /usr/local/lib/lw/psdit.pro -- the man page should say where it is. 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?"