Re: Printing many, many pages efficiently
Re: Printing many, many pages efficiently
- Subject: Re: Printing many, many pages efficiently
- From: Jacob Engstrand <email@hidden>
- Date: Wed, 4 Dec 2002 03:06:24 +0100
On onsdag, dec 4, 2002, at 02:52 Europe/Stockholm, matt neuburg wrote:
How can I set up the printing machinery to call my code once for each
page
See the documentation on knowsPageRange and rectForPage. For an
example, look at the PaginatingViews.html document that's on your hard
disk. Essentially, your NSView can be just one page long, and you
simply keep redraw its contents each time drawRect is called. m.
Hi Matt,
That's about what I've been doing so far, and it sort of works, but it
feels a bit like -rectForPage wasn't meant to be used in this fashion.
I just thought there would be another way. But "if it ain't fixed -
break it", I guess.
thanks
/jak
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.