🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3592

Re: Landscape page orientation

#3592
From: Woody Baker Eagle Signal
Date: Thu, 08 Nov 1990 00:49
35 lines
1914 bytes
In article <1990Nov5.194437.12060@sq.sq.com>, lee@sq.sq.com (Liam R. E. Quin) writes:
> woody@chinacat.Unicom.COM (Woody Baker @ Eagle Signal) claims that
> > The generic way to do landscape is
> > 612 0 translate 90 rotate. 
> 
> This is not in the least generic!  Anyone who, like me, has spent years using
This is a well taken point.  Basicaly, I was saying that the simplest way
was to do a translate followed by a rotate.  I totaly overlooked the
obvious 8).  I have an A5 tray, and a legal tray, but I've never seen
a sheet of A5 sized paper in my life, and the only reason for the legal tray
was a contract job for one of my clients. 8}

This brings up a good question, and there is probably an answer, but
I have not taken the time to look it up, as I have never needed it, but
is there a standard way to determine what the width of the page and the
height of the page is?  I would assume that the current clip path
would do it.

Cheers
Woody


> printer that could print on anything as _weird_ as 8.5 x 11 inch paper, the
> `standard' American size.
> 
> You could do
> /PaperWidth 72 8.5 mul cvi def % width of a page in PostScript points
> 
> PaperWidth 0 translate 90 rotate
> 
> though, and that's much better.

But it *still* assumes 8.5 inch paper.  granted, you can alter it manualy,
but it is essentially no better than 612 ....
Cheers
Technical Details
Message-ID: <1680@chinacat.Unicom.COM>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!chinacat!woody
References: <90307.140743CXT105@psuvm.psu.edu> <1674@chinacat.Unicom.COM> <1990Nov5.194437.12060@sq.sq.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!chinacat!woody
From: woody@chinacat.Unicom.COM (Woody Baker @ Eagle Signal)
Newsgroups: comp.lang.postscript
Subject: Re: Landscape page orientation
Summary: hmm, you are right of course.
Message-ID: <1680@chinacat.Unicom.COM>
Date: 8 Nov 90 00:49:04 GMT
References: <90307.140743CXT105@psuvm.psu.edu> <1674@chinacat.Unicom.COM> <1990Nov5.194437.12060@sq.sq.com>
Organization: a guest of Unicom Systems Development, Austin
Lines: 35