10.4: A possible fix for a slow Print dialog

May 03, '05 12:21:00PM

Contributed by: Anonymous

Tiger only hintI noticed something when I tried to print. When I choose Print, it would take several seconds for the Print sheet to display -- so much so that the spinning cursor appeared. I checked the error log (/var/log/cups/error_log) and I saw this each time I open the Print dialog:

 W [27/Apr/2005:10:26:09 -0400] emptyReceivePort: 
   mach_msg send returns: (ipc/send) invalid destination port
After poking around, I was able to get rid of those messages. Seems there a new CUPS configuration file, but it doesn't look like it replaced the existing one. This is what I did (in Terminal):
$ cd /etc/cups
$ sudo mv cupsd.conf cupsd.conf.mybackup
$ sudo cp cupsd.conf.default cupsd.conf

$ ps -ax | grep cups  [note the process number]
 155 ?? Ss 0:02.23 /usr/sbin/cupsd

$ sudo kill -HUP 155 (restart the CUPS system)
Now choosing print almost instantly drops the sheet down and there isn't an error generated.

[robg adds: I haven't tested this one, and there are no entries in my logs like that shown above -- probably because I'm running a clean install without a prior CUPS configuration file.]

Comments (13)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20050430110718551