• 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 - taking advantage of full page size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing - taking advantage of full page size?


  • Subject: Re: Printing - taking advantage of full page size?
  • From: David Duncan <email@hidden>
  • Date: Tue, 29 Jan 2008 10:34:00 -0800

On Jan 29, 2008, at 6:18 AM, Jim Correia wrote:

It looks like the pagination methods on NSView solve the opposite problem that I'd like to solve here. I don't want to paginate my view, but expand it to take up a full page when the on screen dimensions are smaller than one page.

In this situation, what is the best way to solve the problem? Simply create and configure another view for printing which displays the same content?


The pagination methods are still the best way to do this. You would simply state that your content has exactly 1 page that fills the size of the paper. Then when your -drawRect is invoked, it will be invoked to draw within the bounds of the page size you specified previously.
--
David Duncan
Apple DTS Animation and Printing
email@hidden




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Printing - taking advantage of full page size?
      • From: Jim Correia <email@hidden>
References: 
 >Printing - taking advantage of full page size? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: The mouse is where?
  • Next by Date: Re: NSTextField value binding and button click
  • Previous by thread: Printing - taking advantage of full page size?
  • Next by thread: Re: Printing - taking advantage of full page size?
  • Index(es):
    • Date
    • Thread