I get the "/usr/local/Brother/cupswrapper/cupswrapperXXXX: No such file or directory" error message while installing the CUPS
driver on a Debian distribution (such as Ubuntu or Kubuntu). (Linux®)
Do the following:
1. Remove any references to
lpadmin
from the following files:
/var/lib/dpkg/info/cupswrapperXXXX.prerm
/var/lib/dpkg/info/cupswrepperXXXX.postinst
(Where XXXX is the model name)
2. Uninstall the CUPS driver:
dpkg -r cupswrapperXXXX
dpkg --purge cupswrapperXXXX
3. Unpack the
cupswrapper
package:
dpkg --unpack cupswrapperXXXX.x.x.x-x.dpkg
4. Open
/usr/local/Brother/cupswrapper/cupswrapperXXXXX
in a text editor.
5. Search for the line "lpadmin -p XXXXXX -E -v .......", and do the following:
Change "-m" to "-P".
Specify the full path of the PPD file (
/usr/share/cups/model/xxxx.ppd
).
Example:
Before:
lpadmin -p XXXXXX -E -v usb:/dev/usb/lp0 -m brXXXXXX.ppd
After:
lpadmin -p XXXXXX -E -v usb:/dev/usb/lp0 -P /usr/share/cups/model/brXXXXXX.ppd
If you are using a Debian distribution that does not have
lpadmin
, delete all lines that refer to
lpadmin
.
6. Run the installation script:
dpkg --configure cupswrapperXXXX.x.x.x-x.dpkg
If you deleted the lines referring to lpadmin, run the installation script after adding the printer on the printer page of the CUPS Web Interface (http://localhost:631/printers).
© 2001-2019 Brother Industries, Ltd. All Rights Reserved.
Any trade names and product names of companies appearing on Brother products, related documents and any other materials are all trademarks or registered trademarks of those respective companies.
RJ-3150
217 / 237
Содержание RJ-3150
Страница 112: ...RJ 3150 Go to Index Go to Index 106 237 ...