Hi, No, I want control over how many pages I'm dividing my view into, and precisely how I divide my image into those pages. I'm writing a function for someone to print N images from 1 large image, and the user of the function may want to supply the ratios at which to divide the image (vertically only). I found out what my problem was - in my call to CGContextDrawImage(), I was passing the CGRect I used to get the sub-image which was wrong. That, combined with some transformation stuff in my code, messed it up.
So if I print a really large view, it will print on multiple pages - is this what is meant by 'Collated' ? Thanks, Renzil 2009/8/17 Graham Cox <graham....@bigpond.com> > > On 17/08/2009, at 3:56 AM, Renzil D'Souza wrote: > > I'm trying to print a really large image into 'N' pages. So I over-rode >> 'knowsPageRange' and 'rectForPage'. >> > > > If you're simply trying to tile a large view over 'n' pages, you don't need > to do this - that's what it will do by default with no intervention on your > part. Try that first and see if it does what you want. > > --Graham > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com