Printer Woes with Archlinux


My multi-function Brother DCP-7055 was working very nicely with Archlinux. However a recent update seems to have stopped CUPS from seeing the printer. Whenever I tried to print CUPS would warn me that it was "Waiting for printer to become available". Searching around led me to a solution: the device node for the printer had the wrong permissions. The output from lsusb gave me

Bus 008 Device 008: ID 04f9:0248 Brother Industries, Ltd 

Looking under /dev/bus/usb/008/008 showed the problem:

crw-rw---- 1 root sane 0 2012-09-04 21:44 /dev/bus/usb/008/008 

The group permission is set to sane rather than lp, explaining why CUPS could not see the printer. To ensure that the group is set to lp rather than sane we need to add a rule to udev: add a file under /etc/udev/rules.d with the following:

{% highlight bash %}

where the idVendor and idProduct can be found using lsub:

Bus 008 Device 008: ID 04f9:0248 Brother Industries, Ltd 

More details about the solving device node permission problems can be found on the Archwiki.