• 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
[SOLVED] Re: printDocument: hangs on Lion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: printDocument: hangs on Lion?


  • Subject: [SOLVED] Re: printDocument: hangs on Lion?
  • From: Graham Cox <email@hidden>
  • Date: Tue, 23 Aug 2011 13:24:03 +1000

On 23/08/2011, at 1:00 PM, Graham Cox wrote:

> - (void)  printShowingPrintPanel:(BOOL) flag


Ok, I found the problem.

This method has been deprecated since 10.4. I've replaced it with -printOperationWithSettings:error: and all is well. Though deprecated, there seems to still be a compatibility code path that supports this within NSDocument, but that compatibility code path is not in itself compatible with the new document saving malarkey. So, it's Apple's bug, but perhaps not one they would care about at this stage.

What's a bit strange is that no deprecation warning came up for this method even though I'm targeting 10.6 using the 10.7 SDK.


--Graham_______________________________________________

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: [SOLVED] Re: printDocument: hangs on Lion?
      • From: Jerry Krinock <email@hidden>
    • Re: [SOLVED] Re: printDocument: hangs on Lion?
      • From: Kevin Perry <email@hidden>
References: 
 >printDocument: hangs on Lion? (From: Graham Cox <email@hidden>)
 >Re: printDocument: hangs on Lion? (From: Graham Cox <email@hidden>)
 >Re: printDocument: hangs on Lion? (From: Kevin Perry <email@hidden>)
 >Re: printDocument: hangs on Lion? (From: Graham Cox <email@hidden>)
 >Re: printDocument: hangs on Lion? (From: Jerry Krinock <email@hidden>)
 >Re: printDocument: hangs on Lion? (From: Graham Cox <email@hidden>)
 >Re: printDocument: hangs on Lion? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: printDocument: hangs on Lion?
  • Next by Date: Is there any API to detect the WIFI/CELL Signal Strength
  • Previous by thread: Re: printDocument: hangs on Lion?
  • Next by thread: Re: [SOLVED] Re: printDocument: hangs on Lion?
  • Index(es):
    • Date
    • Thread