FAQs & Troubleshooting

Close

HL-5340D

FAQs & Troubleshooting

FAQs & Troubleshooting

Date: 31/10/2022 ID: faq00100598_000

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:

  1. Comment out the lines which include "lpadmin" from:
    /var/lib/dpkg/info/cupswrapper[model name].prerm
    /var/lib/dpkg/info/cupswrepper[model name].postinst
     
  2. Uninstall cupswrapper
    dpkg -r cuprwrapper[model name]
    dpkg --purge cupswrapper[model name]

 

2. Modify the package:

  1. Unpack the package
    dpkg --unpack cupswrapper[model name].[version].dpkg
     
  2. Open /usr/local/Brother/cupswrapper/cupswrapper[model name] to edit.
  3. Look for the line with "lpadmin -p [model name] -E -v .......".
  4. Change "-m" to "-P" in the line
  5. 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

  1. 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-110C, DCP-115C, DCP-130C, DCP-135C, DCP-145C, DCP-150C, DCP-165C, DCP-185C, DCP-330C, DCP-350C, DCP-385C, DCP-585CW, DCP-6690CW, DCP-7010, DCP-7030, DCP-7055, DCP-7060D, DCP-7065DN, DCP-8020, DCP-8025D, DCP-8040, DCP-8045D, FAX-1820C, FAX-1840C, FAX-2480C, FAX-2820, FAX-2840, HL-1240, HL-1250, HL-1270N, HL-1430, HL-1440, HL-1450, HL-2040, HL-2070N, HL-2130, HL-2140, HL-2150N, HL-2170W, HL-2240D, HL-2250DN, HL-2460, HL-2700CN, HL-4040CDN, HL-5040, HL-5050, HL-5070N, HL-5140, HL-5150D, HL-5170DN, HL-5240, HL-5250DN, HL-5340D, HL-5350DN, HL-5440D, HL-5450DN, HL-6050D, HL-6050DN, HL-7050, HL-7050N, MFC-210C, MFC-215C, MFC-235C, MFC-240C, MFC-290C, MFC-3220C, MFC-3240C, MFC-3360C, MFC-3420C, MFC-3820CN, MFC-410CN, MFC-425CN, MFC-440CN, MFC-490CW, MFC-5440CN, MFC-5460CN, MFC-5840CN, MFC-5860CN, MFC-620CN, MFC-6490CW, MFC-665CW, MFC-685CW, MFC-7340, MFC-7360, MFC-7420, MFC-7450, MFC-7820N, MFC-7840N, MFC-7860DN, MFC-7860DW, MFC-8220, MFC-8370DN, MFC-8440, MFC-8460N, MFC-8510DN, MFC-8820D, MFC-8840D, MFC-8840DN, MFC-8860DN, MFC-8880DN, MFC-8910DW, MFC-9420CN, MFC-9660

If you need further assistance, please contact Brother customer service:

Content Feedback

To help us improve our support, please provide your feedback below.
Step 1: How does the information on this page help you?
Step 2: Are there any comments you would like to add?

Please note this form is used for feedback only.