Color laser printer

We bought a Brother color laser printer for our business.

After a lot of research and deliberation opted for the HL-4050CDN printer (the C stand for color and the N for network).

The openprinting database mentions that it _mostly_ works but I took the chance anyway because I knew brother itself issued a cupswrapper for their own linux lp driver.

You can download the wrapper and driver here.

Beforehand install the cups software if you have not done so already:
apt-get install cups

When installer the lpr driver it will complain about spool directories not found. You can ignore those. Just keep on following the installation instructions

After installing the .deb packages on my debian lenny system I had to configure /etc/cups/cupsd.conf:

LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAddress @LOCAL
DefaultAuthType Basic

Allow from 192.168.2.0/24
# Allow shared printing and remote administration...
Order allow,deny
Allow @LOCAL

Allow from 192.168.2.0/24
# Allow remote administration...
Order allow,deny
Allow @LOCAL

AuthType Default
Require user @SYSTEM
Allow from 192.168.2.0/24
# Allow remote access to the configuration files...
Order allow,deny
Allow @LOCAL

Require user @OWNER @SYSTEM
Order deny,allow
Allow from 192.168.2.0/24

AuthType Default
Require user @SYSTEM
Order deny,allow
Allow from 192.168.2.0/24

AuthType Default
Require user @SYSTEM
Order deny,allow
Allow from 192.168.2.0/24

Require user @OWNER @SYSTEM
Order deny,allow
Allow from 192.168.2.0/24

Order deny,allow
Allow from 192.168.2.0/24

This allowed to access the web interface from a remote machine:
http://192.168.2.1:631

Then I had to do the following to print remotely from my ubuntu system:
Goto http://192.168.2.1:631/admin and select the 'Share published printers connected to this system' option, then click on 'Save settings'

On your ubuntu system, select System -> Administration -> Printing
Click on the 'New' button, select your printer which should be listed as a 'CUPS' printer. Do not select the 'Network' printer under the same name.
Don't forget to set your new printer as default.