How to Install Canon ip4000R Wireless Printer Driver on OS X 10.9

We have a wireless Canon PIXMA ip4000R printer that has served us well. However, a new computer with OS X 10.9 Mavericks did not recognize it, and Canon did not have a driver for it.

I ended up moving the following components from an existing computer on which the printer was already working:

/Library/Printers/Canon
/Library/Printers/PPDs/Contents/Resources/Canon*
/Library/CFMSupport
/System/Library/Extensions/BJUSBLoad.kext

I fixed the permissions:

sudo chown -R root:admin /Library/CFMSupport/
sudo chown -R root:wheel /System/Library/Extensions/BJUSBLoad.kext
sudo chown -R root:admin /Library/Printers/PPDs/

And finally, a link is needed for cups to work:

sudo ln -s /Library/Printers/Canon/BJPrinter/Plugins/BJNP/canonijnetwork.bundle/Contents/MacOS/canonijnetwork /usr/libexec/cups/backend/canonijnetwork

Before I was able to add the printer, I had to connect it via USB to the printer and add the USB version of the printer.

I was then able to add the Canon ijnetwork printer using the normal method of adding a printer in System Preferences. And delete the USB version.

Edit: now tested with OS X 10.10 Yosemite as well.