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 (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

Reply via email to