The instructions failed on Yoga 20200322. Attempted the following but that still failed:
wajig install lib32z1 sudo mkdir -p /var/spool/lpd sudo chown root.lp /var/spool/lpd sudo chmod go+rx /var/spool/lpd
Eventually got it working but installed other brlaser packages and system-config-printer-gnome and various attempts. Started printing blank pages.
So starting from scratch again with the script and lpd://BRN001BA9236DC1/BINARY_P1 resulted in the printer working again.
<Printer HL3040CN> UUID urn:uuid:1aa653c2-6726-3122-433e-8244512d97b1 Info HL3040CN MakeModel Brother HL3040CN CUPS DeviceURI lpd://BRN001BA9236DC1/BINARY_P1 State Idle StateTime 1584943176 ConfigTime 1584943116 Type 8433740 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job Attribute marker-colors \#000000,#00FFFF,#FFFF00,#FF00FF,none,none,none,none,none,none Attribute marker-levels -1,-1,-1,-1,-1,84,69,69,69,69 Attribute marker-names Black Toner Cartridge,Cyan Toner Cartridge,Magenta Toner Cartridge,Yellow Toner Cartridge,Waste Toner Box,Belt Unit,Black Drum Unit,Cyan Drum Unit,Magenta Drum$ Attribute marker-types toner,toner,toner,toner,waste-toner,other,opc,opc,opc,opc Attribute marker-change-time 1584943176 </Printer>
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 Cancel buttons 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.
The install script downloads two packages from the brother site:
wget -T 10 -nd --no-cache https://download.brother.com/pub/com/linux/linux/packages/hl3040cnlpr-1.1.2-1.i386.deb wget -T 10 -nd --no-cache https://download.brother.com/pub/com/linux/linux/packages/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
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