🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3577

Re: Landscape page orientation

#3577
From: Gisle Aas
Date: Wed, 07 Nov 1990 08:30
20 lines
1389 bytes
In article <21504@well.sf.ca.us> jef@well.sf.ca.us (Jef Poskanzer) writes:

>   Looks the same to me.  If you really want to avoid paper-size dependencies,
>   try something like this:
>
>   newpath clippath pathbbox newpath	% llx lly urx ury
>   3 -1 roll				% llx urx ury lly
>   sub					% llx urx height
>   /pageheight exch def			% llx urx
>   exch sub				% width
>   /pagewidth exch def
>   pagewidth 0 translate 90 rotate

To get the right pageheight/width you have to add together ury/x and
lly/x.  The clippath defines an area smaller than the physical page.

--
Gisle Aas               |  snail: Boks 114 Blindern, N-0314 Oslo, Norway
Norsk Regnesentral      |  X.400: G=Gisle;S=Aas;O=nr;P=uninett;C=no
voice: +47-2-453561     |  inet:  Gisle.Aas@nr.no
Technical Details
Message-ID: <AAS.90Nov7093033@boeygen.nr.no>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!nuug!ulrik!ulrik!aas
References: <1990Nov5.194437.12060@sq.sq.com> <21504@well.sf.ca.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!nuug!ulrik!ulrik!aas
From: aas@boeygen.nr.no (Gisle Aas)
Newsgroups: comp.lang.postscript
Subject: Re: Landscape page orientation
Message-ID: <AAS.90Nov7093033@boeygen.nr.no>
Date: 7 Nov 90 08:30:33 GMT
References: <1990Nov5.194437.12060@sq.sq.com> <21504@well.sf.ca.us>
Sender: news@ulrik.uio.no (USENET News System)
Reply-To: Gisle.Aas@nr.no
Organization: Norwegain Computing Centre, Oslo, Norway
Lines: 20
In-Reply-To: jef@well.sf.ca.us's message of 6 Nov 90 05:59:35 GMT