Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-lcc!lll-tis!ames!amdahl!nsc!taux01!cyosta From: cyosta@taux01.UUCP (Yossie Silverman) Newsgroups: comp.sys.mac.programmer Subject: Re: How to change a printing port's portrect? Message-ID: <873@taux01.UUCP> Date: 27 Jul 88 10:42:20 GMT Reply-To: taux01!cyosta@nsc.UUCP (Yossie Silverman) Organization: National Semiconductor (Israel) Ltd. Lines: 16 I am trying to print some stuff and I discovered that when I open a printing port, I get the portrect of the screen. This is somewhat of a problem for me, as I would like to use the entire page for printing. Anyway, after many games I figured out that I should change the clipRect with the clipRect call, the viewRgn with a rectRgn call (directely accessing the grafPort record element), and the bitmap's bounds variable. I can envision a few problems with what I did: (1) I didn't change the rowBytes or baseAddr in the bitmap, (2) I directely manipulated the bitmap, and (3) I directely manipulated the viewRgn. Can anyone offer some expert critism on what I did, pro and con? -- Yossie Silverman What did the Caspian sea? National Semiconductor Ltd. (Israel) - Saki UUCP: taux01!yossie@nsc.UUCP NSA LSD FBI KGB PCP CIA MOSAD NUCLEAR MI5 SPY ASSASSINATE SDI -- OOCLAY ITAY