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

Install BL-3040CN Brother Laser Printer

20190812 Full installation instructions are available from the Brother support page from where you download a bash script which installs appropriate Debian packages for the driver and sets up the printer. 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 The steps are, essentially:

  1. Install packages hl3040cnlpr and hl3040cncupswrapper;
  2. lpinfo -v
  3. lpadmin -p HL3040CN -v ... -E  -P /opt/.../brother_hl3040cn_printer_en.ppd

$ 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
wget -T 10 -nd --no-cache 
GPL License Agreement
Do you agree? [Y/n] ->y
wget -T 10 -nd --no-cache 
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it: lib32ncurses5 lib32z1
The following NEW packages will be installed: lib32gcc1 lib32stdc++6
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=000J9J169344
17 (A): Auto. (usb://Brother/HL-3040CN%20series?serial=000J9J169344)

select the number of destination Device URI. ->9

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

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

Copyright © 1995-2020 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.