Detecting printer changes in NSPageLayout question.
Detecting printer changes in NSPageLayout question.
- Subject: Detecting printer changes in NSPageLayout question.
- From: Rod Dunne <email@hidden>
- Date: Mon, 19 Feb 2007 12:17:19 -0500
Mac OS X 10.4.8 PPC Xcode 2.4.1
When I display an NSPageLayout panel using beginSheetWithPrintInfo, in
my didEndSelector I can access the NSPrintInfo object.
It seems that all the values and dictionary entries have been set to
what the user has chosen, except for the NSPrinter.
Is there any way to detect if the user has changed the printer?
On the other hand, if I change the printer in an NSPrintPanel sheet and
then inspect the NSPrintInfo, the NSPrinter will have actually changed.
So, this issue seems to just concern NSPageLayout.
I notice that I get symptoms of the same behaviour in other applications
like Terminal and Pages etc.
If I go into the Page Setup sheet and change the printer, these changes
are not always reflected in the Print panel.
Perhaps I am doing something incorrectly or maybe something is just
wrong with my Mac's setup?
Thanks.
Rod
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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