• 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 paperSize] sometimes takes 'a long time'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSPrintInfo paperSize] sometimes takes 'a long time'


  • Subject: Re: [NSPrintInfo paperSize] sometimes takes 'a long time'
  • From: Markus Hitter <email@hidden>
  • Date: Tue, 14 Feb 2006 16:58:55 +0100


Am 14.02.2006 um 13:45 schrieb Matt Gough:

For some reason, [NSPrintInfo paperSize] can sometimes take many seconds to return (ranging from 10 seconds up to several minutes) [...]

This wouldn't be so bad if it was a common problem to all apps, but I can't find any other application that exhibits this.

Because you are the only one relying on the printer's paper size? What do you do if there's no printer available?



At first I thought it was only related to using shared printers, but customer feedback implies it can happen with local printers also.

This is what I thought first as well. To check, unplug the network cable. This makes everything network reladed failing quickly.


If your app consumes a lot of processor time, I'd use Shark to find out why.

If it's network related, "lsof" in Terminal is your friend.

If all fails, you can give "ktrace" a try.


This seems to have become more common since 10.4.3, but I remember this happening sporadically back in the 10.3.x days

Tiger exposed more bugs than it brought features? Since 10.4, I have to start cups manually ...



HTH, Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[NSPrintInfo paperSize] sometimes takes 'a long time' (From: Matt Gough <email@hidden>)

  • Prev by Date: Re: [ANN] UKCrashReporter 0.1
  • Next by Date: Re: Using zlib for i386 (or Universal) builds on PPC clients
  • Previous by thread: [NSPrintInfo paperSize] sometimes takes 'a long time'
  • Next by thread: How to Print MultiPageView in a Single Page Similar to Excel
  • Index(es):
    • Date
    • Thread