I’m struggling to get printer drivers to working properly. Brother has provided deb and rpm packages, and I got it to install in CUPS by using an existing package and just replacing the deb package with the one for my printer. The driver shows up fine in CUPS and in KDE Settings, with the correct names and such, but it doesn’t work properly, as it can’t print a single document and only just makes the printer lights blink.
Also tried IPP if it might work, but the printer I have doesn’t support IPP.
I looked at my configurations and all of printing in Linux goes via cups service. meaning your user needs the permission/part of a group to be able to interact with it.
I don’t know the actual reason of why it is not working, but after inspecting two drivers (dcpt725dwpdrv-3.5.0-1.i386.deb and dcpt430wpdrv-3.6.1-1.amd64.deb), I can spot two main difference:
The filename of the driver of your printer ends with amd64.deb rather than i386.deb (maybe unrelenting)
Comparing the brdcpt725dwfilter file in dcpt725dw driver and brdcpt430wfilter file in your printer driver with the following commands after extracted the deb file with command dpkg-deb:
$ grep -a '/opt' ./dcpt725dwpdrv-3.5.0-1.i386/opt/brother/Printers/dcpt725dw/lpd/x86_64/brdcpt725dwfilter
grep -a '/opt' ./dcpt430wpdrv-3.6.1-1.amd64/opt/brother/Printers/dcpt430w/lpd/x86_64/brdcpt430wfilter
returns nothing.
So this line may not work because the string /opt don’t even exist in the brdcpt430wfilter file
I don’t know why. I also tried to packages my printer like you, and downloaded some of the brother drivers already exist in the nixpkgs to inspect the difference, all of the br*filter file contains the /opt string.
Tried it, didn’t work. Still same behavior as before. Shows up in CUPS properly as a driver, but when you try to use it as the printer’s driver and then attempt to print anything, it just makes the printer blink.
I looked around, and there seems to be an open pull request for the version bump for CUPS. I’ll wait for the package to update, then I’ll try to test the printer and see if it’s working.
Nothing directly to contribute here to solve your problem. Just want to let you know that I did something similar for a DCP-L3550CDW and it works nicely. See https://git.sr.ht/~bwolf/cups-brother-dcpl3550cdw.nix/tree/master/item/dcpl3550cdw.nix
Fiddling with all these pathes and verifying that they match the deb pkg is no fun. But in the end it was worth the pain.