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-110C, DCP-115C, DCP-120C, DCP-130C, DCP-135C, DCP-145C, DCP-150C, DCP-163C, DCP-165C, DCP-167C, DCP-310CN, DCP-315CN, DCP-330C, DCP-340CW, DCP-350C, DCP-357C, DCP-385C, DCP-540CN, DCP-560CN, DCP-585CW, DCP-6690CW, DCP-7010, DCP-7010L, DCP-7025, DCP-7030, DCP-7045N, DCP-7055, DCP-7055W, DCP-7060D, DCP-7065DN, DCP-7070DW, DCP-750CW, DCP-770CW, DCP-8020, DCP-8025D, DCP-8040, DCP-8045D, DCP-8060, DCP-8065DN, DCP-8070D, DCP-8085DN, DCP-8110DN, DCP-8250DN, DCP-9040CN, DCP-9042CDN, DCP-9045CDN, FAX-1820C, FAX-1840C, FAX-1940CN, FAX-2440C, FAX-2920, FAX-2940, HL-1030, HL-1230, HL-1240, HL-1250, HL-1270N, HL-1430, HL-1440, HL-1450, HL-1470N, HL-1650, HL-1670N, HL-1850, HL-1870N, HL-2030, HL-2040, HL-2070N, HL-2130, HL-2132, HL-2135W, HL-2140, HL-2150N, HL-2170W, HL-2240, HL-2240D, HL-2250DN, HL-2270DW, HL-2460, HL-2600CN, HL-2700CN, HL-3260N, HL-3450CN, HL-4040CN, HL-4050CDN, HL-4070CDW, HL-5030, HL-5040, HL-5050, HL-5070N, HL-5130, HL-5140, HL-5150D, HL-5170DN, HL-5240, HL-5240L, HL-5250DN, HL-5270DN, HL-5280DW, HL-5340D, HL-5350DN, HL-5370DW, HL-5380DN, HL-5440D, HL-5450DN, HL-5450DNT, HL-5470DW, HL-6050DN, HL-6180DW, HL-6180DWT, HL-7050N, HL-8050N, MFC-210C, MFC-215C, MFC-235C, MFC-240C, MFC-250C, MFC-260C, MFC-290C, MFC-297C, MFC-3220C, MFC-3240C, MFC-3320CN, MFC-3340CN, MFC-3360C, MFC-3420C, MFC-3820CN, MFC-410CN, MFC-425CN, MFC-440CN, MFC-465CN, MFC-490CW, MFC-5440CN, MFC-5460CN, MFC-5490CN, MFC-5840CN, MFC-5860CN, MFC-5890CN, MFC-5895CW, MFC-620CN, MFC-640CW, MFC-6490CW, MFC-660CN, MFC-680CN, MFC-6890CDW, MFC-7225N, MFC-7320, MFC-7360N, MFC-7420, MFC-7440N, MFC-7460DN, MFC-7820N, MFC-7840W, MFC-7860DW, MFC-790CW, MFC-820CW, MFC-8220, MFC-8370DN, MFC-8380DN, MFC-8420, MFC-8440, MFC-845CW, MFC-8460N, MFC-8510DN, MFC-8520DN, MFC-8820D, MFC-8840D, MFC-8840DN, MFC-885CW, MFC-8860DN, MFC-8870DW, MFC-8880DN, MFC-8890DW, MFC-8950DW, MFC-8950DWT, MFC-9030, MFC-9070, MFC-9160, MFC-9180, MFC-9420CN, MFC-9440CN, MFC-9450CDN, MFC-9660, MFC-9760, MFC-9840CDW, MFC-9880, MFC-990CW