You are not logged in.

#1 2015-09-26 12:46:31

amaro
Member
From: xfce, 5.1.14-1-ck-ivybridge
Registered: 2014-05-09
Posts: 218

[SOLVED] Brother 2240 waiting for printer to become available

Hey guys!

Cannot make my printer work. It was working a couple of months ago but since I do not use it often maybe something has changed since last time I used it. I have the following packages installed brother-cups-wrapper-common, brother-lpr-drivers-common, brother-brgenml1, foomatic-db, cups. I use atril to print pdf files and even on the PRINT menu in atril it shows the message  'waiting for printer to become available'.

Any help is highly appreciated!
Thank you!

Last edited by amaro (2015-11-20 12:43:58)

Offline

#2 2015-11-19 08:41:09

amaro
Member
From: xfce, 5.1.14-1-ck-ivybridge
Registered: 2014-05-09
Posts: 218

Re: [SOLVED] Brother 2240 waiting for printer to become available

The printer is working fine on LMDE. Still cannot make it work on Arch.

Offline

#3 2015-11-19 09:26:54

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,485

Re: [SOLVED] Brother 2240 waiting for printer to become available

It might be a permission problem, try:

chmod og= /usr/lib/cups/backend/usb

and restart cups. This forces cups to access the printer as root. I have the same printer (the duplex version: 2240D) and it works for me. I have used the official brother packages, not the AUR ones (in the past, they relocated files that were not relocatables; I have not checked the latest version). I have installed them via rpm-org (available on the AUR).

Note that if you have only the simplex version, you might better use the hl-1250 ghostscript driver (select HL-1250 from the list of printers) and not rely on external unsupported drivers. Unfortunately, it does not support the duplex feature so I am stuck with the brother drivers.

If that does not work enable debugging in the CUPS interface and examine/post the content of /var/log/cups/error_log

Last edited by olive (2015-11-19 09:50:12)

Offline

#4 2015-11-20 11:18:31

amaro
Member
From: xfce, 5.1.14-1-ck-ivybridge
Registered: 2014-05-09
Posts: 218

Re: [SOLVED] Brother 2240 waiting for printer to become available

chmod og= /usr/lib/cups/backend/usb

chmod: cannot access ‘/usr/lib/cups/backend/usb’: No such file or directory

CUPS doesn't recognize the printer when I connect it to the usb port. And I noticed that on LMDE CUPS is 1.7.5. 1.7.5 version was working for me on Arch before but now it doesn't. The current version is 2.1.0.

Last edited by amaro (2015-11-20 11:28:20)

Offline

#5 2015-11-20 11:27:18

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,485

Re: [SOLVED] Brother 2240 waiting for printer to become available

amaro wrote:
chmod og= /usr/lib/cups/backend/usb

chmod: cannot access ‘/usr/lib/cups/backend/usb’: No such file or directory

There is something wrong with your installation. /usr/lib/cups/backend/usb is owned by libcups which is a dependency of cups and many softwares. Without this file cups cannot acces USB printer. In my answer, I assume you have the latest packages.  cups and libcups  2.1.0-1.

Can you do "testdb" as well as (as root):

pacman -Qk | grep -v  '0 missing files'

Also, it might be necessary to uninstall and reinstall your printer (particularly with the 1.x -> 2.x upgrade). Note that as I said, if you still have problem, you must post the log files.

Last edited by olive (2015-11-20 11:40:48)

Offline

#6 2015-11-20 12:11:29

amaro
Member
From: xfce, 5.1.14-1-ck-ivybridge
Registered: 2014-05-09
Posts: 218

Re: [SOLVED] Brother 2240 waiting for printer to become available

Wow!

xorg-fonts-alias: 14 total files, 1 missing file
xorg-fonts-misc: 455 total files, 434 missing files

p.s. The printer is deleted.

p.s.s.

warning: foomatic-db-engine: /usr/lib/cups/driver/foomatic (No such file or directory)
foomatic-db-engine: 64 total files, 1 missing file
warning: grub: /etc/grub.d/10_linux (No such file or directory)
warning: grub: /etc/grub.d/60_memtest86+ (No such file or directory)
grub: 1028 total files, 2 missing files
warning: libcups: /usr/lib/cups/backend/usb (No such file or directory)
libcups: 45 total files, 1 missing file
warning: smbclient: /usr/lib/cups/backend/smb (No such file or directory)
smbclient: 230 total files, 1 missing file

Last edited by amaro (2015-11-20 12:21:49)

Offline

#7 2015-11-20 12:25:45

amaro
Member
From: xfce, 5.1.14-1-ck-ivybridge
Registered: 2014-05-09
Posts: 218

Re: [SOLVED] Brother 2240 waiting for printer to become available

Reinstalling cups, libcups, foomatic-db-engine fixed the warnings.

Offline

#8 2015-11-20 12:42:55

amaro
Member
From: xfce, 5.1.14-1-ck-ivybridge
Registered: 2014-05-09
Posts: 218

Re: [SOLVED] Brother 2240 waiting for printer to become available

The chmod command worked and the printer is now working.
Absolutely fantastic!
Got the ppd file from here https://njh.eu/printer
Thank you very very much, olive!

Offline

Board footer

Powered by FluxBB