Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!n8emr!uncle!oink!count0!cgb From: cgb@count0.uucp (cgb) Newsgroups: comp.sys.next Subject: Re: Scale view to fit widthwise on printed page Keywords: View, print Message-ID: <1991May6.132026.374@count0.uucp> Date: 6 May 91 13:20:26 GMT References: <501@nwnexus.WA.COM> Organization: BenaTong Lines: 35 In article <501@nwnexus.WA.COM> adonis1@nwnexus.WA.COM (Adonis Corporation ) writes: > > >Anyone know: > >How does one scale a view so that it will fit width-wise on a printed page? > >Using printPSCode, if my View object is too wide it gets clipped off on >the right. > >Thanks for any suggestions. > >Doug Kent >Independent NeXT Developer >adonis1@nwnexus.wa.com Try implementing the method - adjustPageWidthNew:left:right:limit also setting [ setHorizPagination:NX_AUTOPAGINATION ]; Your getting clipped because that is the default for width (but not height. Chuck (just back from developers camp !! :-) ) It was great beyond words. -- Cats, no less liquid than their shadows, Offer no angles to the wind. They slip, diminished, neat, through loopholes Less than themselves.