Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: A possible fix for a slow Print dialog System 10.4
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.]
    •    
  • Currently 2.80 / 5
  You rated: 2 / 5 (5 votes cast)
 
[15,465 views]  

10.4: A possible fix for a slow Print dialog | 13 comments | Create New Account
Click here to return to the '10.4: A possible fix for a slow Print dialog' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A possible fix for a slow Print dialog
Authored by: adrianm on May 03, '05 01:54:25PM

Was happening to me too and this fixed it; thanks!

I wonder what other config will need updating...



[ Reply to This | # ]
10.4: A possible fix for a slow Print dialog
Authored by: mickeymoose on May 03, '05 02:40:36PM

hmph, I don't have a var folder on the base level of the HD, and the terminal commands result in a "no such file or directory" statement. but i have this problem! how do i fix this?

---
narf?



[ Reply to This | # ]
10.4: A possible fix for a slow Print dialog
Authored by: mickeymoose on May 03, '05 03:27:14PM

Ah, sorry for being so dense. Needed to open console, doh! but no errors as such - not such a miracle cure, maybe a 2ghz imac would do the trick... ;)

---
narf?



[ Reply to This | # ]
10.4: Easy fix for a slow Print dialog
Authored by: ham on May 03, '05 03:15:58PM

In the Printer Setup Utility, select from the Menu "Reset Printing System...". It will do all kinds of things, including lay down a new config file. You will have to re-add your printer though. Much easier than the command-line approach.



[ Reply to This | # ]
10.4: Easy fix for a slow Print dialog
Authored by: mickeymoose on May 03, '05 03:21:10PM

Nope, still get the slow dialogue and beachball

---
narf?



[ Reply to This | # ]
10.4: Easy fix for a slow Print dialog
Authored by: Ormus on May 03, '05 09:26:46PM

Been there...done this...IT WORKS and simply. BADDA-BING!



[ Reply to This | # ]
10.4: Easy fix for a slow Print dialog
Authored by: nash0205 on Jun 05, '05 03:16:31PM

thank you very much
I think was a problem in my upgrade to 10.4.1

But now works ok



[ Reply to This | # ]
Worked for me
Authored by: yoel on May 03, '05 09:36:45PM

I was having this problem and assumed the new printing system was just slower. Thanks!



[ Reply to This | # ]
10.4: A possible fix for a slow Print dialog
Authored by: poenn on May 04, '05 09:40:20AM

Hey, maybe I should try it with my old Tangerine G3/300 iBook... :-)



[ Reply to This | # ]
10.4: A possible fix for a slow Print dialog
Authored by: kissedsmiley on May 04, '05 10:46:18PM

thank you! It really helped for me! I had tried earlier to set up unix printing, maybe that's why I had the error messages. The slowness was ridiculous... Now I wonder now to get a faster Spotlight... I want old finder/search/thisFolder back...



[ Reply to This | # ]
Works like a charm.
Authored by: tbushfield on Jun 03, '05 01:21:41PM

Thank you, anonymous user. This fix worked on both a 12" Powerbook G4 1.33GHz, and a Dual 1.25 G4 desktop system - both upgraded to Tiger, not clean installed. I have no idea what cups or anythying is, but I did what you said to do, and it worked.



[ Reply to This | # ]
10.4: A possible fix for a slow Print dialog
Authored by: pkeeler999 on Jun 05, '05 12:36:48PM

Thanks so much for this fix. This was my first use of Terminal, and your instructions were so clear it worked on first attempt.



[ Reply to This | # ]
10.4: Slow Print dialog - Terminal commands to fix
Authored by: fact0r on Jun 25, '05 04:07:21AM

Thanks for this - amazing.

My tiny contribution to this: a slightly cleaned up version of the commands to run:

First - you must be logged into the Mac as an admin user.
Then open the program Applications->Utilities->Terminal

You will then need to type the following commands:

$ cd /etc/cups
$ sudo zsh
<<enter your password when prompted>>
# mv cupsd.conf cupsd.conf.mybackup
# cp cupsd.conf.default cupsd.conf
# killall -HUP cupsd
# exit
$

You can then quit the Terminal application. Now have a go printing from any application!


Detail of commands:
("killall -HUP cupsd" - means send specified signal to all processes named "cupsd"; -HUP is the signal to send and means "Hang Up"; This signal instructs a process to re-read all its configuration files).

("sudo zsh" - gives you a temporary root shell so stops you needing to type sudo for every command. You leave the root shell by typing "exit")



[ Reply to This | # ]