Wednesday, May 4, 2016

Ubuntu Brother Printer-Scanner Network Setup

https://alephnull.uk/content/ubuntu-brother-printer-scanner-network-setup


How to Setup Brother MFC-6490CW Network Printer with Ubuntu

  1. Configure your router to reserve a static IP address for your printer. This way your computer will always know which address to contact the printer on.
    Here's a rough guide on how to do that: http://lifehacker.com/5822605/how-to-set-up-dhcp-reservations-so-you-never-have-to-check-an-ip-address-again
    Make a note of your printer's IP address.
  2. Find out if your system is 32-bit or 64-bit.
    Run uname -m
    If the response is 'x86_64' you're running 64-bit, if it's something like 'i686' you're running 32-bit.
  3. Download driver packages appropriate to your system.
    Brother drivers for Linux
  4. 32-bit Ubuntu
    On 32-bit system double-click the .deb packages to install.
    OR
    64-bit Ubuntu
    On 64-bit system use the command line:
    sudo mkdir /var/spool/lpd 
    sudo dpkg -i --force-all mfc6490cwlpr-1.1.2-2.i386.deb
    sudo dpkg -i --force-all mfc6490cwcupswrapper-1.1.2-2.i386.deb
    
  5. The driver will have added a listing for the printer on the assumption that it is plugged in with USB (usb:/dev/usb/lp0). Delete this entry from Ubuntu printer utility before continuing.
  6. In Ubuntu printer utility, click the 'add printer' button. Under 'Enter device URI' enter your printers IP address with the LDP protocol eg. lpd://192.168.0.99
  7. Under 'Select driver from database' select Brother as manufacturer then click next and find MFC-6490CW CUPS in the model list (it's easy to spot as it's usually the only one with CUPS on the end).
  8. If Network connections are operational you should be able to print a test page successfully.

Getting a Brother MFC scanner working via the network with 64 bit Ubuntu and Linux Mint

This is tested and known to work with MFC-J415W, MFC-8880DN and MFC-6490CW on Ubuntu 11.10 - 12.10 and Linux Mint 12 - 13.
  1. First get the brscan3 package, which installs the brsaneconfig3 tool:
    brscan3 32-bit deb package OR brsane3 64-bit deb package
  2. Double-click on the package to install
  3. Then (critical bit) create these links - for some reason the 32 bit and 64 bit compatibility scripts have fallen down here (probably due to the non-standard nature of the Brother deb packages):
    sudo ln -sf /usr/lib64/libbrscandec3.so* /usr/lib
    sudo ln -sf /usr/lib64/sane/libsane-brother3.so* /usr/lib/sane
  4. Then define the scanner on your system (note, no spaces allowed in the values assigned... and capitalisation seems important) - to find the IP you might need to go to the scanner, hit "Menu" and find the network TCP/IP settings.
    brsaneconfig3 -a name=BrotherScanner model=MFC-6490CW ip=Your-printer-IP
    This should result in a scanner definition - confirm it here (should be at the bottom of the list in a separate section, probably number 0) (Note: it creates a signature for the device in /usr/local/Brother/sane/brsanenetdevice3.cfg - you can check it here to make sure it's right...):
    brsaneconfig3 -q
  5. If that doesn't do it, you might need to add your user to the "scanner" group. Check the groups you're in by running
    id
    at the command line when you're logged in. If you add yourself to the new group, you'll have to run "newgrp" or log out and in again to get the group membership to take effect.
    If you mess up, you can remove any of them with
    brsaneconfig3 -r [name you entered above]

1 comment:

  1. Superb post. Many thanks for discussing valuable content material. No doubt each one of these tips are extremely much ideal for bloggers. i think it’s very helpful for every parson. nice post. We provide you online help and support.Call us at Our Lexmark Printer Customer Care Number UK0800-090-3242.

    ReplyDelete