Bug 1349

Summary: Printer Brother HL-2030 does not work
Product: Mageia Reporter: Gerald <g.sprik>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, doktor5000, ed1, mageia, marja11
Version: 3   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=645993
Whiteboard: MGA2TOO
Source RPM: system-config-printer CVE:
Status comment:
Attachments: Marja, this is my /var/log/cups/error_log
My /etc/cups/printers.conf
Illogical position in the printer database
My /var/log/cups/error_log in Mageia 2 beta 1.

Description Gerald 2011-05-19 22:02:14 CEST
Description of problem:

My printer Brother HL-2030 does not print any job, in CUPS these jobs are marked as completed.

Version-Release number of selected component (if applicable):

Mageia 1 RC (32 bit version)

How reproducible:

This happens with all printing jobs (in different applications)

Steps to Reproduce:

1.  The starting point is a new installation of Mageia 1 RC
2.  Login as user in KDE
3.  Turn the power of the printer on (USB connection).
4.  Mageia installs task-printing-server.
5.  Mageia installs task-printing-misc.
6.  Then nothing happens.

7.  I turn the power of my printer off and on again.
8.  In KDE I get 3 notifications:
    "Installing Printing System. Please wait ...
    "Brother HL-2030 series requires driver installation"
    "The printer Brother HL-2030 series is enabled"

9.  When I try to print a document in kwrite nothing happens.
10. Open CUPS in firefox and select Jobs & show all jobs.
11. This job is marked as completed.  

12. Open MCC / Hardware / Set up the printer(s)
13. Mageia installs task-printing-server (again ??) and task-printing-hp
    My printer is now added in MCC.
14. Second try to print a document in kwrite
    Result: no print, and job added in CUPS as completed
15. Right click on the icon of my printer in MCC to open the printer properties.
16. Select "Print Test Page" -> "Test page submitted as job" 
    Result: no print, the job is added in CUPS as completed.
Comment 1 Gerald 2011-05-22 10:53:25 CEST
Some additional info:

The hardware detection is O.K. Mageia found the correct device (printer model).

In the foomatic printer database, two drivers are available for this printer model:
- Foomatic/gutenprint-ijs.5.2 
- Foomatic/gutenprint-ijs-simlified.5.2
I tried to print a test page with each of them, but both tests failed.

So, why do the gutenprint drivers not work on this printer?
Manuel Hiebel 2011-07-07 11:06:40 CEST

Component: Installer => RPM Packages
Source RPM: (none) => system-config-printer

Comment 2 James Kerr 2011-07-07 12:22:45 CEST
This bug seems to be similar to other bugs, which were fixed by installing a2ps. 

https://bugs.mageia.org/show_bug.cgi?id=1172#c10
Comment 3 Gerald 2011-07-21 13:10:34 CEST
The package a2ps (a2ps-4.14-11.mga1) is installed, but that does not fix this bug.

Version: Cauldron => 1

Comment 4 Marja Van Waes 2011-10-13 20:10:46 CEST
@ Gerald

Is the problem still there, in Mageia 1 with all updates?

If so, did you try the Linux LPR_driver rpm and the cupswrapper_driver rpm of Brother for the HL-2030?
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#HL-2030

CC: (none) => marja11

Comment 5 Gerald 2011-10-20 13:17:36 CEST
(In reply to comment #4)

> Is the problem still there, in Mageia 1 with all updates?

Yes.
 
> If so, did you try the Linux LPR_driver rpm and the cupswrapper_driver rpm of
> Brother for the HL-2030?

I used them in the past in Mandriva.

But in Mageia printer setup these drivers are not available.
Mageia installs a broken driver (Foomatic/gutenprint-ijs.5.2).

IMHO the best solution is that Mageia automatically installs the drivers that are made by Brother.

A second best solution is to install an alternative open source driver as default driver for this printer model. Foomatic/hl1250 works pretty well.
Comment 6 Marja Van Waes 2011-10-20 14:57:11 CEST
(In reply to comment #5)
> (In reply to comment #4)

> 
> > If so, did you try the Linux LPR_driver rpm and the cupswrapper_driver rpm of
> > Brother for the HL-2030?
> 
> I used them in the past in Mandriva.
> 
> But in Mageia printer setup these drivers are not available.

That's why I gave the link to the Brother website, because I wanted to know if you tried downloading and using the ones there ;) 


Can you please attach /etc/cups/printer.conf to this bug report? And /var/log/cups/error.log too?

CC: (none) => doktor5000

Florian Hubold 2011-10-20 15:04:13 CEST

Status: NEW => ASSIGNED
Assignee: bugsquad => doktor5000

Comment 7 Gerald 2011-10-23 12:11:54 CEST
Created attachment 996 [details]
Marja, this is my /var/log/cups/error_log
Comment 8 Florian Hubold 2011-10-23 12:15:42 CEST
(In reply to comment #6)

> Can you please attach /etc/cups/printer.conf to this bug report?
Comment 9 Gerald 2011-10-23 12:24:12 CEST
Created attachment 997 [details]
My /etc/cups/printers.conf
Comment 10 Florian Hubold 2011-10-26 15:00:56 CEST
Gerard, have you tried downloading and installing the Brother vendor drivers from http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#HL-2030 then link which Marja posted before?
Comment 11 Gerald 2011-10-28 12:16:41 CEST
(In reply to comment #10)

> Gerard, have you tried downloading and installing the Brother vendor drivers
> from http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#HL-2030

Florian, I've done the following:
- turn the printer off
- remove the printer (as installed by default in Mageia) in MCC
- install the rpm's from Brother (cupswrapperHL2030-2.0.1-1 and brhl2030lpr-2.0.1-1)
- turn the printer on

The result is:
- printer is automatically added in MCC, and I can print a test page. 
- printer is automatically added in CUPS.
- printer works (I didn't test all possible printing options). 
- lpr works (I didn't test options).
- the Brother driver is in the printer database, but difficult to find, caused by an incorrect alphabetical order (I will try to post an attachment to show  this).

When I Add a new printer in MCC:
- the hardware detection is OK
- but MCC automatically selects the driver Foomatic/gutenprint-ijs-simplified.5.2 again ....
Comment 12 Gerald 2011-10-28 12:51:41 CEST
Created attachment 1017 [details]
Illogical position in the printer database
Comment 13 Florian Hubold 2011-10-28 15:52:05 CEST
So basically you say after removing your old (automatically added, using Foomatic/gutenprint-ijs-simplified.5.2) printer and installing the brother driver it works correctly?

About the position of the Brother driver we can't do anything, because it uses information from the Brother driver which we have no access to fix, also this is merely a cosmetic problem.


As i don't have this printer, i can't reproduce or find out why the drivers from Mageia repository don't work. And as openprinting.org is still down for maintenance, can't even verify if those would be the recommended drivers for your printer.
Comment 14 Gerald 2011-11-07 22:53:36 CET
(In reply to comment #13)

> So basically you say after removing your old (automatically added, using
> Foomatic/gutenprint-ijs-simplified.5.2) printer and installing the brother
> driver it works correctly?

Yes!
 
> As i don't have this printer, i can't reproduce or find out why the drivers
> from Mageia repository don't work. 

Is attachment /var/log/cups/error_log not helpful? 

> And as openprinting.org is still down for
> maintenance, can't even verify if those would be the recommended drivers for
> your printer.

Openprinting.org is accessible again.
Comment 15 Florian Hubold 2011-11-08 12:24:14 CET
The /var(In reply to comment #14)
> (In reply to comment #13)
> 
> > As i don't have this printer, i can't reproduce or find out why the drivers
> > from Mageia repository don't work. 
> 
> Is attachment /var/log/cups/error_log not helpful?

No, not really.

> 
> > And as openprinting.org is still down for
> > maintenance, can't even verify if those would be the recommended drivers for
> > your printer.
> 
> Openprinting.org is accessible again.

Thanks, i'll have a look for your printer.
Comment 16 Florian Hubold 2012-01-12 21:36:36 CET
Seems openprinting also mentions the brother drivers as preferred driver. Maybe you can test the other mentioned drivers at the bottom of the page, f.ex. 	gutenprint and hpijs-pcl5e, so we can maybe adjust the default driver to some working one.

http://www.openprinting.org/printer/Brother/Brother-HL-2030
D Morgan 2012-01-13 00:48:13 CET

CC: (none) => dmorganec
See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=645993

Comment 17 Florian Hubold 2012-01-13 03:14:01 CET
We prepared a fix for this, but you would need to test this with a fresh cauldron installation: https://wiki.mageia.org/en/Cauldron
Comment 18 Béat E 2012-02-04 18:14:48 CET
I have the same printer and can confirm this bug. I had problems with getting my printer Brother HL-2030 installed on Mageia 1. Automatic installation didn't work. I had to choose the driver manually. The only driver that worked was "Brother HL-2060 Foomatic/hpijs-pcl5e".

CC: (none) => ed1

Comment 19 Béat E 2012-02-04 18:22:53 CET
I have the same printer Brother HL-2030 and can confirm this bug. When I was using Mageia 1 the automatic installation didn't work. I had to choose the driver manually. Only this driver worked: Brother HL-2060 Foomatic/hpijs-pcl5e.

I have been using Mandriva for years. Most of the time the automatic choice of driver worked properly. It looks like the old default driver doesn't work anymore. That's why I had to play around in order to find the proper driver.
Comment 20 Florian Hubold 2012-02-05 15:47:08 CET
Did you check the instructions i gave in comment#16 and #17?
Comment 21 Béat E 2012-02-05 17:04:15 CET
I can't test this with a cauldron installation due to bug 4409. Once this bug is resolved I will test this.
Comment 22 Gerald 2012-02-26 22:14:47 CET
(In reply to comment #17)

> We prepared a fix for this, but you would need to test this with a fresh
> cauldron installation: https://wiki.mageia.org/en/Cauldron

Today I tested this with a fresh installation of beta 1 from DVD & updates (system-config-printer-1.3.8-2.mga2).

After I turned the printer on (power on), Mageia installed task-printing and up to 90 other packages. Many of them do not apply to this printer: task-printing-canon, -epson, -hp, -lexmark, -okidata. 

I could not add a new printer in MCC: "printing service not availabel", I had to start CUPS manually, and turn the printer off and on again to continue.

Moreover, the hardware detection didn't work. No device URI is found.

When I try to add my printer in CUPS I get a "Internal server error".
Comment 23 Florian Hubold 2012-02-26 23:08:34 CET
Could you please attach again your /var/log/cups/error_log and also do the following, open a terminal, and then as root:
tailf /var/log/messages
then plugin your printer, and post the output here.
Comment 24 Gerald 2012-02-29 07:28:17 CET
Created attachment 1655 [details]
My /var/log/cups/error_log in Mageia 2 beta 1.
Comment 25 Gerald 2012-02-29 07:33:12 CET
(In reply to comment #23)

> Could you please attach again your /var/log/cups/error_log and also do the
> following, open a terminal, and then as root:
> tailf /var/log/messages
> then plugin your printer, and post the output here.

The output of tailf /var/log/messges is:

Feb 29 07:06:00 localhost mtp-probe: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:13.1/usb2/2-1"
Feb 29 07:06:00 localhost mtp-probe: bus: 2, device: 2 was not an MTP device
Feb 29 07:06:03 localhost udev-configure-printer: no corresponding CUPS device found

I've added /var/log/cups/error_log as an attachment.
Comment 26 Florian Hubold 2012-02-29 10:43:06 CET
Have you verified that cups is running? Please run the following:
service cups restart
and post the output here.
Comment 27 Gerald 2012-03-01 10:02:27 CET
(In reply to comment #26)

> Have you verified that cups is running? Please run the following:
> service cups restart
> and post the output here.

root  /home/gerald  > $ service cups restart
Restarting cups (via systemctl):    [  OK  ]

I verified in firefox (localhost:631) that CUPS is running. 

The output of tailf /var/log/messages when I turn the printer on:

Mar  1 09:27:31 localhost mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:13.1/usb2/2-1"
Mar  1 09:27:31 localhost mtp-probe: bus: 2, device: 3 was not an MTP device
Mar  1 09:27:34 localhost udev-configure-printer: no corresponding CUPS device found

The output of tailf /var/log/messages when I click "Add" a printer in MCC (there are no printers configured yet):

Mar  1 09:53:11 localhost udev-configure-printer: Failed to get parent

This adds the following lines to /var/log/cups/error_log:

E [01/Mar/2012:09:53:11 +0100] [cups-deviced] PID 4554 (cups2pegg) stopped with status 13!
E [01/Mar/2012:09:53:11 +0100] [cups-deviced] PID 4566 (mga_backend) stopped with status 1!
Comment 28 Gerald 2012-03-23 15:46:32 CET
(In reply to comment #16)

> Seems openprinting also mentions the brother drivers as preferred driver. Maybe
> you can test the other mentioned drivers at the bottom of the page, f.ex.    
> gutenprint and hpijs-pcl5e, so we can maybe adjust the default driver to some
> working one.
> 
> http://www.openprinting.org/printer/Brother/Brother-HL-2030

I tested all the mentioned drivers (in Mageia 1) and got the best results with the hpijs-plc5e driver.

Most of the other mentioned drivers didn't work at all ....
Comment 29 Gerald 2012-04-12 18:50:09 CEST
(In reply to comment #22)
 
> Moreover, the hardware detection didn't work. No device URI is found.

That problem is fixed. The hardware detection is O.K. now.
Comment 30 Florian Hubold 2012-04-12 21:47:34 CEST
@dmorgan: So we can make the temporary patch to remove gutenprint drivers from blacklist permanent or how do you want to handle this?
Comment 31 Béat E 2012-04-22 08:49:35 CEST
I checked all the drivers. Here the result:

When I use one of the drivers for Brother HL-2035 and print a test page, the printer starts blinking, but blinking stops after a few seconds and no page gets printed. This happens with all the drivers for Brother HL-2035:
Brother HL-2035 - CUPS+Gutenprint v5.2.7 Simplified
Brother HL-2035 - CUPS+Gutenprint v5.2.7
Brother HL-2035 Foomatic/gutenprint-ijs-simplified.5.2
Brother HL-2035 Foomatic/gutenprint-ijs.5.2

When I use the driver for Brother HL-2060 I get these results:

Brother HL-2060 Foomatic/Postscript â prints only empty pages instead of one test page
Brother HL-2060 - CUPS+Gutenprint v5.2.7 Simplified â starts blinking and stops after a few seconds (without printing)
Brother HL-2060 Foomatic/gutenprint-ijs-simplified.5.2 â starts blinking and stops after a few seconds
Brother HL-2 (without printing)060 - CUPS+Gutenprint v5.2.7 â starts blinking and stops after a few seconds
Brother HL-2060 Foomatic/gutenprint-ijs.5.2 â starts blinking and stops after a few seconds (without printing)
Brother HL-2060 Foomatic/hpijs-pcl5e â works fine!!!
­Brother HL-2060 Foomatic/hl1250 â works fine and fast, but poorer quality (lower resolution)
Brother HL-2060 Foomatic/pxlmono â no reaction of the printer
Brother HL-2060 Foomatic/ljet4
Brother HL-2060 Foomatic/lj4dith â prints empty page
Brother HL-2060 Foomatic/lj5gray â no reaction of the printer

I suggest to use Brother HL-2060 Foomatic/hpijs-pcl5e as default driver.

Version: 1 => Cauldron

Comment 32 Béat E 2012-05-12 15:48:38 CEST
I tested my printer Brother HL-2030 with a fresh mageia 2 RC installation. When I add the printer the wrong driver (Brother HL-2035 - CUPS+Gutenprint v5.2.7 Simplified) gets chosen. The default driver should be Brother HL-2035 - CUPS+Gutenprint v5.2.7 Simplified (see comment 31).
Comment 33 Marja Van Waes 2012-05-26 13:04:15 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 34 Béat E 2012-05-26 21:01:43 CEST
This bug can still be found in Mageia 2. When I set up the printer and always choose the recommended driver I end up with the driver Brother HL-2035 - CUPS+Gutenprint v5.2.7 Simplified. As explained in comment 31 this driver doesn't work. The recommended (and this way the default) driver should be Brother HL-2060 Foomatic/hpijs-pcl5e.
Sander Lepik 2012-05-26 21:42:03 CEST

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik

Marja Van Waes 2012-05-28 18:29:20 CEST

Whiteboard: (none) => MGA2TOO

Comment 35 Florian Hubold 2012-08-12 16:30:25 CEST
Dexter, can you please take a look?

Assignee: doktor5000 => dmorganec

Comment 36 Franz Holzinger 2013-08-07 14:39:12 CEST
I have had the same problem under Mageia 3. I have now thrown away the printer Brother HL-2030 because of these problems.

CC: (none) => flink

Comment 37 Florian Hubold 2013-08-07 20:02:40 CEST
Thrown away?
The printer still works fine with the drivers from brother, see https://bugs.mageia.org/show_bug.cgi?id=1349#c11
D Morgan 2013-09-17 23:57:35 CEST

Assignee: dmorganec => bugsquad

Manuel Hiebel 2013-09-18 11:39:17 CEST

Version: Cauldron => 3

Franz Holzinger 2013-09-18 11:52:05 CEST

CC: flink => (none)

Comment 38 Gerald 2013-12-12 13:44:46 CET
(In reply to Florian Hubold from comment #37)

> Thrown away?
> The printer still works fine with the drivers from brother, see
> https://bugs.mageia.org/show_bug.cgi?id=1349#c11

Mageia's system-config-printer recommends to install a driver that does not work at all.

This bug still exists in Mageia 3, and is now more than 2,5 years old.
Still waiting to be fixed.
Comment 39 Florian Hubold 2013-12-13 00:10:14 CET
(In reply to Gerald from comment #38)
> This bug still exists in Mageia 3, and is now more than 2,5 years old.
> Still waiting to be fixed.

Well, feel free to provide a fix or a patch to system-config-printer. We cannot easily reproduce as we don't have the printer. Proposed patch is still in place since nearly 2 years but does not seem to be effective: http://svnweb.mageia.org/packages?view=revision&revision=195499

We cannot install the Brother drivers automatically, and those are the preferred ones for this printer according the openprinting.org. Also if there are issue with those drivers, please contact Brother, not Mageia.

Otherwise, feel free to test this new tool to ease installation of Brother drivers: https://forums.mageia.org/en/viewtopic.php?f=10&t=6161
Comment 40 Marja Van Waes 2015-03-31 16:05:21 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD