• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Printing many, many pages efficiently
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSTask vs. popen vs. System
  • Next by Date: Maximum size of an NSMutableData object?
  • Previous by thread: Re: Printing many, many pages efficiently
  • Next by thread: Re: NSTask vs. popen vs. System
  • Index(es):
    • Date
    • Thread