Thu Sep 15 11:47:06 EDT 2011

Installing CUPS + HL2240 + MFC240C on Debian Wheezy

Scanner driver brscan-0.2.4-0.i386.deb is done separately.

# Install cups 1.5.0-5
apt-get install cups cups-bsd
dpkg -i hl2240lpr-2.1.0-1.i386.deb
dpkg -i cupswrapperHL2240-2.0.4-2.i386.deb

# Enable remote access in cupsd.conf
-Listen localhost:631

 DefaultAuthType Basic
+ServerAlias *

 <Location />
   Order allow,deny
+  Allow from 192.168.*

# Same for the MFC240C drivers.
dpkg -i mfc240clpr-1.0.1-1.i386.deb
dpkg -i mfc240ccupswrapper-1.0.1-1.i386.deb

# For remote printing, use lpd/raw, which will go through a path that
# looks like a local print job on the server.  At least the MFC-240C
# doesn't support remote printing properly out of the box [1].

# EDIT: problem reappeared.  This time I get /var/log/cups/error_log:
E [17/Sep/2011:08:30:08 -0400] [Job 8] Unable to send data to printer.

I plugged it into a different USB port and it seemed to work again.

[1] entry://20110228-173738