68.3 Install BL-3040CN Brother Laser Printer

20221104

This printer works for a USB connection just fine but has not been successful when the printer is network attached. The full installation instructions are available from the Brother support page from where a bash script (linux-brprinter-installer-2.2.3-1.gz) is downloaded (gzip compressed).

This script is a generic brother printer installer and for the BL-3040CN it downloads specific Debian packages and installs the packages configured for the current system.

After downloading the script (but not before agreeing to the EULA) run the script to install the printer driver as the system administrator:

gunzip linux-brprinter-installer-2.2.1-1.gz
sudo su
bash linux-brprinter-installer-2.2.1-1 HL-3040CN

The interaction will go something like this:

You are going to install following packages.
  [...]
OK? [y/N] ->y
=========================================
Brother License Agreement
[...]
=========================================
Do you agree? [Y/n] ->y
[...]
=========================================
GPL License Agreement
[...]
=========================================
Do you agree? [Y/n] ->y
[...]
Package ia32-libs is not available, but is referred to by another package.
[...]
Setting up hl3040cnlpr:i386 (1.1.2-1) ...
[...]
Setting up hl3040cncupswrapper:i386 (1.1.2-1) ...
Restarting cups (via systemctl): cups.service.
Will you specify the Device URI? [Y/n] -> y

0: http
[...]
9: usb://Brother/HL-3040CN%20series?serial=000J9J168122
[...]
17 (A): Auto. (usb://Brother/HL-3040CN%20series?serial=000J9J168122)

select the number of destination Device URI. ->17

lpadmin -p HL3040CN -v usb://Brother/HL-3040CN%20series?serial=000J9J168122 -E
Test Print? [y/N] ->y

wait 5s.
lpr -P HL3040CN /usr/share/cups/data/testprint

The Debian packages contain the command brprintconf_hl3040cn which lists all of the printer options. The Postscript Printer Description (PPD) file can be found in



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0