• 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: NSPrintInfo and NSPageLayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPrintInfo and NSPageLayout


  • Subject: Re: NSPrintInfo and NSPageLayout
  • From: Ken Thomases <email@hidden>
  • Date: Fri, 07 Oct 2011 05:35:28 -0500

On Oct 7, 2011, at 5:05 AM, Torsten Curdt wrote:

>> The -runModal method uses the shared print info object, which can be obtained with +[NSPrintInfo sharedPrintInfo].  You can change the shared print info with +[NSPrintInfo setSharedPrintInfo:], if you have reason to.  Alternatively, you can use -[NSPageLayout runModalWithPrintInfo:] to use a different print info for the page layout dialog.
>>
>> In any case, you need to use the same print info object for the NSPrintOperation so that it can use that for the NSPrintPanel.  That's how changes made in the page setup dialog get communicated to the print dialog.
>
> So I am also in charge of serializing the settings across restarts?

Yes.


> Thanks a lot, Ken.

You're welcome.  I'm glad I could help.

Cheers,
Ken

_______________________________________________

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

References: 
 >NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Ken Thomases <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: NSPrintInfo and NSPageLayout
  • Next by Date: Re: NSPrintInfo and NSPageLayout
  • Previous by thread: Re: NSPrintInfo and NSPageLayout
  • Next by thread: Re: NSPrintInfo and NSPageLayout
  • Index(es):
    • Date
    • Thread