Fixing Trouble with Brother Printer

Upon upgrade of cups a Brother MFC-255CW stopped printing. Downloading and running the new Linux installer fixed the issue. Answering a few questions made the printer great again:

https://support.brother.com/g/b/downloadhowto.aspx?c=gb&lang=en&prod=mfc255cw_all&os=127&dlid=dlf006893_000&flang=4&type3=625

Install of brother printers works best with pattern 32bit being already installed.

reinstall did not help to fix the issue.

Maybe the firewall needs to be configured?

When in trouble always temporarily stop the firewall. Sample install with firewall disabled: https://forums.opensuse.org/showthread.php/556633-Epson-XP-352-not-found-in-wi-fi?p=3049858#post3049858

Current printer installer runs fully automatic. Attach the printer with cable and run the installer:

**i3-4130:~ #** bash /home/karl/Downloads/linux-brprinter-installer-2.2.3-1  
**Input model name ->MFC255CW**

**You are going to install following packages.**
**   mfc255cwlpr-1.1.3-1.i386.rpm**
**   mfc255cwcupswrapper-1.1.3-1.i386.rpm**
**   brscan3-0.2.13-1.x86_64.rpm**
**   brscan-skey-0.3.1-2.x86_64.rpm**
**OK? [y/N] ->y**

**rpm -ihv --nodeps --replacefiles --replacepkgs mfc255cwlpr-1.1.3-1.i386.rpm**
Verifying...                          ################################# [100%] 
Preparing...                          ################################# [100%] 
Updating / installing... 
   1:mfc255cwlpr-1.1.3-1              ################################# [100%] 
**rpm -ihv --nodeps --replacefiles --replacepkgs mfc255cwcupswrapper-1.1.3-1.i386.rpm**
Verifying...                          ######################################## 
Preparing...                          ######################################## 
Updating / installing... 
mfc255cwcupswrapper-1.1.3-1           ######################################## 
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS. 
# 
**The security level of AppArmor has been lowered. (aa-complain cups)**
aa-complain cupsd 
Profile for /usr/sbin/cupsd not found, skipping 
semanage fcontext -a -t bin_t /usr/local/Brother 
ValueError: SELinux policy is not managed or store cannot be accessed. 
restorecon -R /usr/local/Brother 
semanage fcontext -a -t bin_t /opt/brother 
ValueError: SELinux policy is not managed or store cannot be accessed. 
restorecon -R /opt/brother 
semanage fcontext -a -t cupsd_rw_etc_t /opt/brother/Printers/(.*/)?inf(/.*)? 
ValueError: SELinux policy is not managed or store cannot be accessed. 
restorecon -R /opt/brother/Printers 
semanage fcontext -a -t bin_t /opt/brother/Printers/(.*/)?lpd(/.*)? 
ValueError: SELinux policy is not managed or store cannot be accessed. 
restorecon -R /opt/brother/Printers 
semanage fcontext -a -t bin_t /opt/brother/Printers/(.*/)?cupswrapper(/.*)? 
ValueError: SELinux policy is not managed or store cannot be accessed. 
restorecon -R /opt/brother/Printers 
restorecon -RFv /usr/lib/cups/filter 
setsebool -P cups_execmem 1 
Cannot set persistent booleans without managed policy. 
**Will you specify the Device URI? [Y/n] -> **


**0: cups-brf:/**
**1: beh**
**2: serial:/dev/ttyS0?baud=115200**
**3: usb://Brother/MFC-255CW?serial=BROC0F213956**
**4: hp**
**5: smb**
**6: lpd**
**7: http**
**8: ipp**
**9: ipps**
**10: https**
**11: socket**
**12: lpd://BRW1CBFC0D1EA86/BINARY_P1**
**13: lpd://BRWC417FEB49788/BINARY_P1**
**14 (I): Specify IP address.**
**15 (A): Auto. (usb://Brother/MFC-255CW?serial=BROC0F213956)**

**select the number of destination Device URI. ->15**

**lpadmin -p MFC255CW -v usb://Brother/MFC-255CW?serial=BROC0F213956 -E**
**Test Print? [y/N] ->**

**You are going to install following packages.**
**   brscan3-0.2.13-1.x86_64.rpm**
**rpm -ihv --nodeps --replacefiles --replacepkgs brscan3-0.2.13-1.x86_64.rpm**
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%] 
Updating / installing... 
   1:brscan3-0.2.13-1                 ################################# [100%] 
**You are going to install following packages.**
**   brscan-skey-0.3.1-2.x86_64.rpm**

**=========================================**
**Brother License Agreement**

**Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.**

**Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to **
reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

**The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON**
-INFRINGEMENT.
**Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, da**
ta, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
**Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be con**
strued as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
**=========================================**
**Do you agree? [Y/n] ->n**

**Hit Enter/Return key.**
**i3-4130:~ #**



**i3-4130:~ #** lpstat -t                 
scheduler is running 
no system default destination 
device for MFC255CW: usb://Brother/MFC-255CW?serial=BROC0F213956 
MFC255CW accepting requests since Sat Dec 11 23:27:25 2021 
printer MFC255CW is idle.  enabled since Sat Dec 11 23:27:25 2021 
**i3-4130:~ #**