Re: [NSPrintInfo paperSize] sometimes takes 'a long time'
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