I might happen, usually due to a somehow damaged PDF document submitted to a printer queue, that printing stops working. Most probable reason: the Apple Type Server has corrupt font caches. If this is the case, the filter program /usr/libexec/cups/filter/cgpdftops
crashes upon trying to submit a print job, seen in a corresponding entry in /var/log/cups/error.log
.
Solution:
- stop the print server:
serveradmin stop print
- unload the ATSServer:
launchctl unload /System/Library/LaunchDaemons/com.apple.ATSServer.plist
- clear the font caches:
atsutil databases -remove
- load the ATSServer:
launchctl load /System/Library/LaunchDaemons/com.apple.ATSServer.plist
- start the ATSServer:
launchctl start com.apple.ATSServer
- verify the ATSServer is running:
atsutil server -ping
- start the print server:
serveradmin start print
All commands require superuser privileges.