I'm using a Debian based distribution (e.g. Ubuntu, Kubuntu etc). When installing the CUPS Wrapper driver, I get the following error message: "/usr/local/Brother/cupswrapper/cupswrapperXXXX: No such file or directory". (Linux)
1. Uninstall cupswrapper:
Comment out the lines which include "lpadmin" from:
dpkg -r cuprwrapperXXXX
dpkg --purge cupswrapperXXXX
2. Modify the package:
Unpack the package
dpkg --unpack cupswrapperXXXX.x.x.x-x.dpkg
- Open /usr/local/Brother/cupswrapper/cupswrapperXXXXX to edit.
- Look for the line with "lpadmin -p XXXXXX -E -v .......".
- Change "-m" to "-P" in the line
Add the file-path of the PPD file written in the line.
the file path = "/usr/share/cups/model/"
BEFORE (Type the whole command as a single line before hitting enter).:
lpadmin -p MFC9420CN -E -v usb:/dev/usb/lp0 -m brmfc9420cn.ppd
AFTER (Type the whole command as a single line before hitting enter).:
lpadmin -p MFC9420CN -E -v usb:/dev/usb/lp0 -P /usr/share/cups/model/brmfc9420cn.ppd
*** if you use Debian and it doesn't have lpadmin, please delete the whole line which refers to lpadmin.
3. Run the install script
dpkg --configure cupswrapperXXXX.x.x.x-x.dpkg
*** if you deleted the line about lpadmin, access http://localhost:631/printers
click "Add printer" and follow the instructions to install.
DCP-135C, DCP-145C, DCP-165C, DCP-350C, DCP-385C, DCP-560CN, DCP-585CW, DCP-6690CW, DCP-7010, DCP-7010L, DCP-7025, DCP-7030, DCP-7055, DCP-7065DN, DCP-8060, DCP-8065DN, DCP-8070D, DCP-9040CN, FAX-2840, FAX-2920, HL-2030, HL-2040, HL-2070N, HL-2130, HL-2140, HL-2150N, HL-2240D, HL-2270DW, HL-4040CN, HL-4050CDN, HL-5240, HL-5240L, HL-5250DN, HL-5270DN, HL-5340D, HL-5350DN, HL-5380DN, HL-5440D, HL-5450DN, HL-6050DN, HL-6180DW, HL-7050, HL-8050N, MFC-235C, MFC-250C, MFC-465CN, MFC-490CW, MFC-5860CN, MFC-6490CW, MFC-7360, MFC-7420, MFC-7440N, MFC-7820N, MFC-7860DW, MFC-8220, MFC-8370DN, MFC-8380DN, MFC-8460N, MFC-8510DN, MFC-8860DN, MFC-8880DN, MFC-8910DW, MFC-8950DW, MFC-9440CN, MFC-9840CDW, MFC-990CW