Getting printing working on the Mac wasn't them most straightforward thing. For starters, I wanted to print to my Suse 10.2 print server over CUPS. The printer is an HP Deskjet 5150 which wasn't on the list of printers that supports network printing.
The first thing to do was download the ESP Ghostscript package (espgs-7.07.1.ppc.dmg), Foomatic RIP (foomatic-rip-220.127.116.11.ppc.dmg) and HP driver (hpijs-2.7.10-UB.dmg). Once these were installed, I tried to setup an IPP printer, but this didn't print and put the printer into "Stopped" mode.
The error was unhelpfully "200 Get-Printer-Attributes client-error-not-found".
Using a combination of log watching on the Mac and Linux sides, it appeared that the URL was incorrect. On the Mac, I opened Safari and browed to the CUPS interface (http://localhost:631). I then setup the printer so that the URL was:
The IP address is the IP of the Linux CUPS server and deskjet5100 is the name of the queue on that server. The /printers/ bit was important and the GUI didn't appear to set that up - hence no printing. Having made these changes, the print job was being sent to the correct server, but still didn't print; this time with another unhelpful error:
Fortunately a quick Google pointed me in the right direction. To fix, I edited /etc/cups/mime.convs on the Linux server, uncommented the following line:
# application/octet-stream application/vnd.cups-raw 0 -
A quick restart of the cups server (service cups restart) was followed by a successful test print!