Friday, July 1, 2011

Installing cups-bjnp in Slackware

I have a Canon multifunction printer/scanner/fax in my home office. After I recently re-installed Slackware64 13.37, I realized I still needed to setup the printer. I downloaded the latest release of cups-bjnp from Sourceforge and attempted to install it. Taking the lazy approach with the ./configure did not work, as it gave an error about not being able to find the CUPS backend directory. This is easily remedied by using the "--with-cupsbackenddir=" option. The full configure command looks like this:
./configure --with-cupsbackenddir=/usr/lib64/cups/backend
Then just fire up the cups daemon and a web browser and visit the local machine on port 631 to add the printer and manage your CUPS settings. You'll notice that you'll now be able to select to use a Canon bjnp connection type in addition to several others such as http and ipp.