Printer Drivers Unleashed

Continuing on from the last post, I would like to install device drivers for three peripherals on my Asus UJ36 laptop under Ubuntu 11.10:

  • For an HP WiFi mouse (model LQ083AA)
  • A Brother black and white laser network printer (HL-5380DN)
  • A Xerox colour laser all-in-one network printer (Workcentre 6015N)

To help me, I have the previously mentioned Ubuntu Unleashed 2012 edition. Chapter 2 (Post-Installation Configuration) details the software update settings, I checked these out and they are fine, making doubly sure the “Proprietary drivers for devices” was set.

Now check the Update Manager -> Additional Drivers and it gave the message “No proprietary drivers are in use on this system. Let’s fix this!

Right, the book, er, where is the info? Just plug stuff in? What about my network printers and wi-fi mouse? None of these plug in. Ok google, what have you to say?

The mouse is doomed!

HP say it only works for Windows 7 32 or 64 bit. Bah. Plug in a wired MS optical USB mouse instead and that works, instantly.

Next the Xerox

This is more promising, “http://www.support.xerox.com/support/workcentre-6015/downloads/enus.html?operatingSystem=linux&fileLanguage=en” is a link to deb or rpm packages. What to do? Expand the descriptions and we find the deb mentions Ubuntu – this must be the one! Let’s click on it and see what’s up. It asks to open with archive manager and mentions “cups” – I’ve been here before so let’s see if I can work it out this time. The software centre has popped up and asks to only install the file if sure of its origin, ok then, click on install, enter the authentication password and that’s it. This is the password that was created during the install for the Administrator user.

Cups – the Common UNIX Printing System, is described on p448 and we need to go there now. This section firstly describes attaching a computer with a local printer to a network, but from p450 talks about CUPS. This is an app that runs in the browser so navigate to http://localhost:631/admin to get the main screen, no install needed:

Let’s turn the printer on, wait until it bleeps and click on Add Printer. It requires the Administrator username and password giving the option:

Discovered Network Printers: Xerox WorkCentre 6015N (E2:85:3C) (Xerox Xerox WorkCentre 6015N)

Select this one (even though two were shown), change the default names from the next screen from “Xerox_Xerox_WorkCentre_6015N” to “Xerox_WorkCentre_6015N”, add a location (free format text, e.g. “the desk”) and continue to another add printer detailed selection screen where the actual model should be selected:

Select Add Printer, I’m happy with a default paper size of A4, so click Set Default Options to receive a confirmation of correct setup message.

I don’t need to share the printer as this makes it accessible to the network through this computer which is pointless in this case as the printer is on the network anyway. To test this:

  • Use Cups->Printers->Xerox WorkCentre 6015N->Maintenance->Print Test Page to get a full page of test output featuring a colour circle.
  • Use LibreOffice Writer to see if the printer appears  in File->Print.

So now, lovely, that’s working.

Lets look at the Brother

http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn1.html” is a link to a driver location that mentions this model. Hmm, this is a bit more intimidating. Going slowly through the documentation via the Driver Install link:

  1. Ignore step 1
  2. Step 2: use Ubuntu Software Centre to install ia32-libs – gives an option to install “Multi-arch versions of former ia32-libraries”. This is presumably Multi-Architecture; this is on a 64 bit machine so maybe these provide the older functions. Install anyway.
  3. Step 3: download driver. On the Printer Driver download page, for HL-5380DN, select the deb cupswrapper driver link. Ignore the note that says:
    Note:
    Please click on “I Accept” while holding down “Shift” or right click on “I Accept” and select “Save Target As,,,” from the menu.
    Instead, just click on I Accept and click OK to open with the Ubuntu Software Centre and click Install. This again requires the password.
  4. “Install lpr and CupsWrapper drivers” – this can mostly be ignored as they are already present but the step can be verified by the “dpkg -l | grep Brother” command in a terminal window:
  5. Here we seem to be on our own, where the Brother documentation does not correspond at all to the Cups page reality. Never mind, it is all OK as long as the printer is on (mea culpa). Lets try to Add Printer, and I get 3 copies of Brother HL-5380DN series (Brother HL-5380DN series). Is this one per each network path? How have I got 3 network paths to this printer? Anyway, select the first, continue, the descriptions look OK, the location is “the shelf” and continue to the model / driver / language / unspecifiable printer option screen again.

There are two candidates, BR-script3 and Foomatic/Postscript, both “en”, English. What are these? A theory is that they are printer command languages, purely down to the use of Postscript. The BR-script3 sounds Brother specific and so I’ll just choose the other as it features a word I’ve heard of (scientific, eh?). On the next page, set Double-Sided Printing to Long-Edge (Standard).

At this point, the printer did not accept any queries or jobs giving an error saying it could not be found. Various things were attempted including a troubleshooter. However, the option that worked was to delete the printer and add it again. This time there were four occurrences of the printer so I selected the last one instead of the first and tada! Well, when I said it worked, it connected, however the test prints didn’t. They produced blank pages or a command suspiciously like “please run a self test diagnostic” that wasn’t being interpreted as a command by the printer.

OK, tried various more combinations, settling on the second version of the printer and using a different driver I happened to find with a different sort sequence that looked promising:

Note this is HL5380DN without the hyphen, but it does say for CUPS which has got to be better, surely? Or maybe is this referring to the printer accepting cups commands like what gets printed:

  • “#CUPS-COMMAND Autoconfigure”
  • “#CUPS-COMMAND PrintSelfTestPage”

So maybe because this is a Brother printer, it wants Brother printer language? Lets try printer occurrence four with the remaining BR-Script driver:

This seems to do something different again:

  • Printer test works fine – same as the other printer but no colour
  • Printer self test does not work, just prints CUPs type printer commands again
  • Printing a test web page from firefox works OK but the print quality is poor. Is this because of the default 600×600 dpi? To test, set to 1200HQ – now looks much better.

However there is still a problem, in the browser output, the paper size is US letter, so on an A4 page, the page is short. When I change to A4, the characters are put in entirely the wrong place and the output is garbled. I think I’ll leave this for another day and I’m out of ink too:

Conclusion

Xerox wins, Brother in second and HP were not even in contention. Was it better to have no driver than the unreliable Brother system? This is currently pretty unusable and for no obvious reason (to me). What is that with four printer entries in cups and three different drivers, one hidden? Null points pour les frères.

With regards to the Proprietary Drivers dialog – this is still empty :-o.

Useful commands from this chapter:

  • dmesg – display diagnostic system messages (lots of stuff that means things to someone other than me, for the time being!)
  • sudo – no, not pseudo, just a way to run commands that can trash the system, er, under a higher priority to allow config changes etc.

PS

Update July 29th: had another go at the Brother printer under Ubuntu 12.04. The CUPs screens are now different, with only one printer offered. This works quite smoothly until it is time to print, when I get “Unable to locate printer “BRN001BA90BD121”. Which is most strange because it found it easily enough to install. The upshot is that it is now totally unuseable. This is a shame because obviously a lot of work has gone into the development of this, to be thwarted by some installation issue. Any help, most appreciated!

PPS

Update Dec 3rd: the Brother printer has been working for a while now. I didn’t do anything else than I did in this post. Did it just need a bit of rebooting? Did the elves at Canonical / Kernel support fix something? Do computers magically start working? I’ve only tried a few pages from firefox so maybe there was an issue there. Cheaper than using the Xerox so good news!

Leave a comment

2 Comments

  1. Scanning from a Xerox Workcentre 6015N under Ubuntu 12.04 « iandwltd
  2. Upgrading Ubuntu from 32 bit 12.04 LTS to 64 bit 12.10. Disk free! « iandwltd

Leave a comment