Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Install BL-3040CN Brother Laser Printer

20200322 This works for a USB connected printer 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.1-1) is downloaded (gzip compressed).

This script is a generic brother printer installer and for the BL-3040CN it downloads specific Debian packages from http://www.brother.com/pub/bsc/linux/packages/ which could be done manually (not necessary):

$ wget -T 10 -nd --no-cache .../hl3040cnlpr-1.1.2-1.i386.deb
$ wget -T 10 -nd --no-cache .../hl3040cncupswrapper-1.1.2-2.i386.deb

The script goes on to rebuild the packages and adding an a to the version number and it is these that the script will install. Then the script runs the following command to set up the queue and to print a test page.

$ lpadmin -p HL3040CN -v dnssd://Brother%20HL-3040CN%20series._pdl-datastream._tcp.local/ -E
$ lpr -P HL3040CN /usr/share/cups/data/testprint

All we need to do is run the actual script, once downloaded and uncompressed:

$ gunzip linux-brprinter-installer-2.2.1-1.gz
$ sudo su
# bash linux-brprinter-installer-2.2.1-1 HL-3040CN
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] -> 

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 /opt/brother/Printers/hl3040cn/cupswrapper/brother_hl3040cn_printer_en.ppd

If the display is requiring a toner cartridge to be replaced and you'd like to continue using the current cartridge, open the lid and press the Secure Print and Canel bttons togather. The display will show K-TNR-STR (black toner starter cartridge) or perhaps K-TNR-STD (black toner standard cartridge). Us the + or - arrows to select the cartridge that is low on ink. Then pres Ok twice to reset the low toner message. Then close the lid and you may need another two Ok's. See EasyInk for more details.

Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.