DCP-7040
FAQs & Troubleshooting |
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/cupswrapper[model name]: No such file or directory". (Linux)
1. Uninstall cupswrapper:
-
Comment out the lines which include "lpadmin" from:
/var/lib/dpkg/info/cupswrapper[model name].prerm
/var/lib/dpkg/info/cupswrepper[model name].postinst
-
Uninstall cupswrapper
dpkg -r cuprwrapper[model name]
dpkg --purge cupswrapper[model name]
2. Modify the package:
-
Unpack the package
dpkg --unpack cupswrapper[model name].[version].dpkg
- Open /usr/local/Brother/cupswrapper/cupswrapper[model name] to edit.
- Look for the line with "lpadmin -p [model name] -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/"
Example.
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 cupswrapper[model name].[version].dpkg
*** if you deleted the line about lpadmin, access http://localhost:631/printers
click "Add printer" and follow the instructions to install.
Related Models
DCP-145C, DCP-165C, DCP-185C, DCP-385C, DCP-585CW, DCP-6690CW, DCP-7010, DCP-7030, DCP-7040, DCP-7055, DCP-7065DN, FAX-2820, FAX-2840, HL-2030, HL-2040, HL-2140, HL-2150N, HL-2170W, HL-2240D, HL-2270DW, HL-4040CDN, HL-4040CN, HL-4050CDN, HL-5340D, HL-5470DW, HL-6180DW, HL-7050, MFC-250C, MFC-290C, MFC-3360C, MFC-490CW, MFC-6490CW, MFC-6890CDW, MFC-7220, MFC-7340, MFC-7360, MFC-7470D, MFC-7860DN, MFC-7860DW, MFC-790CW, MFC-8380DN, MFC-8510DN, MFC-8880DN, MFC-9450CDN, MFC-990CW