You are not logged in.

#1 2015-06-02 01:52:56

sudojar
Member
Registered: 2015-06-02
Posts: 7

Unable to locate printer. Brother MFC-J200 CUPS

Hi, I installed cups and the printer's drivers and I can configure the printer. But, when I try to make print the test page, I get this error: Unable to locate printer BRW9CD21E90F93E.local". and I looked in the wiki and on different forums, tried different methods to solve this but I still can't print anything because it can't locate it. Anyone knows how to solve this problem? Thanks in advance.

Offline

#2 2015-06-02 05:43:25

severach
Member
Registered: 2015-05-23
Posts: 198

Re: Unable to locate printer. Brother MFC-J200 CUPS

You're not going to find that file. That's BRW + 12 digit hex code + .local. The hex code is likely random for each print job. It was likely never created in the first place.

That PKGBUILD has a bunch of errors. Ask the maintainer to fix it. If you would like to be able to discuss the package intelligently you can compare it with my PKGBUILD for the brother-mfc-j870dw. Here are some of the more glaring errors.

* The cupswrapper generator can be run in build() which eliminates the install and the forgotten uninstall.
* No uninstall section as found in the debian package. My package was able get pacman to do all the work and do away with the install completely.
* Allows the installer to run the init scripts. Fortunately they aren't there anyways. cups doesn't need restarting to see new printers.
* Left in the installer that modifies /etc/printcap and fixed it to use /etc/printcap. I see the word .local here so this might be the source of your error.
* ldd shows that the executables do not use libstdc++5. No go for 64 bit users unless the 32 bit v6 is already installed.
* The RPM is no better or worse than the DEB, except that RPM is directly supported by pacman and does not require yet another AUR download.
* Forgot dependency on ghostscript
* || return 1 should be removed. makepkg always has this flag set. This PKGBUILD must be ancient.

There's probably more but I'd need to fix the PKGBUILD to find them all. I'm fortunate that I started with a much better PKGBUILD than this one.

Offline

#3 2015-06-04 16:23:53

madeye
Member
From: Denmark
Registered: 2006-07-19
Posts: 331
Website

Re: Unable to locate printer. Brother MFC-J200 CUPS

Is the printer connected via network? Or directly on USB.
I had trouble with my network printer when using the Brother address name, and had to use the ip address instead.


MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage

Offline

#4 2015-06-04 16:41:13

sudojar
Member
Registered: 2015-06-02
Posts: 7

Re: Unable to locate printer. Brother MFC-J200 CUPS

Connected by USB works fine but when I try to connect it via network, it just doesn't work. I tried to use the printer's static IP address without success.

Offline

#5 2015-06-04 16:48:04

madeye
Member
From: Denmark
Registered: 2006-07-19
Posts: 331
Website

Re: Unable to locate printer. Brother MFC-J200 CUPS

When you used the ip address, how exactly did the url look? Here are mine for reference: (I have two brother printers)

lpd://192.168.10.10/BINARY_P1
http://192.168.10.12:631/BINARY_P1

EDIT:
The address you used in your first post looks alot like the device name of the printer.

Yours:
BRW9CD21E90F93E

Mine:
BRN30055C6897E5

Theoretically it should be possible to use

http://<ip>:631/BRW9CD21E90F93E

to access the printer as well. I haven't tried it though.

Last edited by madeye (2015-06-04 17:04:54)


MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage

Offline

#6 2015-06-08 02:42:25

severach
Member
Registered: 2015-05-23
Posts: 198

Re: Unable to locate printer. Brother MFC-J200 CUPS

Correction:

makepkg does support Debian files but in a most unhelpful way. It unpacks control.tar.gz, data.tar.xz, debian-binary into the src folder. This doesn't work for more than one DEB file.

Since you still must untar the file you want you might as well do it all and place it where you want. I use the technique described here:

noextract=("${_debfile}")
prepare() {
  mkdir -p "${srcdir}/debian"
  cd "${srcdir}/debian"
  ar p "../${_debfile}" 'data.tar.gz' | tar zxf -
}

Last edited by severach (2015-06-08 02:43:17)

Offline

Board footer

Powered by FluxBB