Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!sol.ctr.columbia.edu!src.honeywell.com!homer.bethel.edu!benand From: benand@homer.bethel.edu (Bennett) Newsgroups: comp.sys.next Subject: Interface Builder Question Message-ID: <1991Apr4.033733.17454@bethel.edu> Date: 4 Apr 91 03:37:33 GMT Sender: benand@bethel.edu (Bennett) Distribution: usa Organization: Bethel College (Minnesota) Lines: 57 I've created a landscape view with the following bounds: (450,0) (600,450) ------------------ | TOP | | | |L R| | | | BOTTOM | ------------------ (0,0) (600,0) I would like to be able to print this landscape view in portrait mode. I've experimented with shrinking and rotating the view, printing it and then rotating it back, and expanding it to the original view. - PrintView:sender { [self scale:2.0/3.0:2.0/3.0]; [self translate:bounds.size.width/2.0:0.0]; [self printPSCode:[self rotate:90]]; [self rotate:-90]; [self translate:-bounds.size.width/2.0:0.0]; [self scale:3.0/2.0:3.0/2.0]; return self; } The reason I need to scale the view down is because when I rotate the view, parts of the view are erased. What I end up with is a scaled down version of what is being displayed on the screen, but I'm unable to utilize all of the space available for portrait mode. My view seems to be confined to within a portion of a normal portrait print page. --------------- | | | -----------| | | R B| | | O| | |T ^ T| | |O <--+----|---- Area where my view is printed. | |P v T| ( I can't print outside this box ) | | O| | | L M| | -----------| | | --------------- Is there a sample program that does something like what I'm trying to do, or is there an easier way of going about it? Andy -- Andrew James Bennett () Bethel College & Seminary () benand@bethel.edu