Page 1 of 6 123 ... LastLast
Results 1 to 10 of 60

Thread: Edgy Howto: Brother Printer MFC-215c complete

  1. #1
    Join Date
    Apr 2005
    Location
    South Africa
    Beans
    Hidden!
    Distro
    Kubuntu 7.04 Feisty Fawn

    Edgy Howto: Brother Printer MFC-215c complete

    Hi,
    I have updated this howto for Feisty Fawn Kubuntu 7.04 working. It should work on ubuntu and also on the older versions. Thanks to those who responded and confirmed the network printing and scanning. It seems as if the same process can be used for may other Brother Printers as well. Also have a look at BobSongs great howto for the MFC-210c at http://ubuntuforums.org/showthread.p...light=mfc-210c for more detail.

    Guitara has written a script to do all the dirty work given below and you can get it here : http://ubuntuforums.org/showpost.php...&postcount=283

    Howtorinter Brother MFC215C Install on Kubuntu Feisty Fawn.


    This is a detailed step by step howto for installing the Brother MFC-215C printer drivers on Kubuntu Feisty Fawn v7.04. The installation should be very similar for other Brother printers and should work on older versions of both Ubuntu and Kubuntu. Thanks to everyone who contributed to the compilation of the howto. You know who you are.


    By the way, please note that there are new printer firmware updates on the Brother website. You can check your version on your printer. The firmware updater is only for use in Windows, so you will need to update while logged in via Windows. I suggest you read this on the website as there is a change to the ink level warnings etc. included that may make your printer more efficient.


    Note that some printer driver files for the MFC-215c are not yet ready and Brother suggests that the files for the MFC-210C are used used in the meantime. The direct links are for the latest at time of writing, so check the website for any updates and rather use those if available.


    Download the following files from the Brother Website, CUPSwrapper , LPRdriver , Fax CUPSwrapper , Fax LPRdriver and the Sane Scanner backend


    Now also install csh (C Shell) and Sane (and Xsane if you are using Ubuntu, Kubuntu uses Kooka which is installed by default) from the repositories, using your program manager i.e Synaptic.


    Some folder corrections will need to be done as the .deb files from the Brother site are for debian and were converted from rpm and were not compiled specifically for Kubuntu.
    You can install the downloaded .deb files in many ways, dpkg -i, local repository or CD via Synaptic. I have used the Kubuntu shortcut method from the GUI to keep the instructions short and clear. You can also use Krusader or Konqueror for creating and moving files in root mode etc.
    Just for information, Kubuntu has an excellent System Settings, Printer dialogue GUI for configuring and setting up your printer. Thus using the terminal or the following CUPS tool is not needed, but can be used.
    CUPS has it own configuration tool for printers and can be accessed by entering http://localhost:631/printers on your browser. This is actually quite good and easy to use.


    Preparations
    These steps are required before the installation of the drivers otherwise they will produce errors.
    The last two steps (creating links) may not be necessary for some earlier versions of ubuntu from Dapper and back and may be because of Feisty using the latest kernel.
    Create a folder on the desktop, called “brother”, and put all downloaded files in that folder.
    Use Synaptic to install csh (C Shell) and sane from the repositories, if not already done.


    Create a new directory in /var/spool/lpd (Feisty needs lpd directory which is not present)
    sudo ln -s /etc/init.d/cupsys /etc/init.d/cups (Feisty uses CUPS and file wants CUPSYS – link)


    sudo ln -s /usr/share/cups/model/brmfc210c_cups.ppd /usr/share/ppd
    (Feisty puts brmfc210c_cups.ppd in /usr/share/cups/model/ and file looks for it in /usr/share/ppd/ - link)
    sudo ln -s /usr/share/cups/model/brfax_cups.ppd /usr/share/ppd
    (Feisty puts brfax_cups.ppd in usr/share/cups/model/ and file looks for it in /usr/share/ppd/ - link)


    Install the printer drivers:


    NB: Ensure printer is switched off (unplug mains)

    Right click on the mfc210clpr-1.0.2-1.i386.deb file and select Kubuntu Package Menu, Install Package
    Right click on the cupswrappermfc210c_1.0.0-1_i386.deb file and select Kubuntu Package Menu, Install Package



    Switch the printer back on (replug mains)

    In the Kubuntu menu go to System Settings, Printers
    If the printer is connected to the same PC then the driver has already been installed and selected

    Select the printer MFC-210C and make it default if required. (right click)
    While having the printer selected, click on the Properties tab and select the Interface icon on the right hand side. If the URI: usb:/dev/usb/lp0 shows, this is incorrect. Click the Change button, enter your password for administrator mode. Now select Local printer, Next, then Brother MFC-215C and Finish.
    You should now see URI: //Brother/MFC-215C
    Right-click the MFC210C and click “Test Printer”. See if test page is received


    Printer sharing on home network


    Sharing a printer means that the printer is connected to one dedicated PC on your network and other PC's can share this printer through that dedicated PC. Before you can get a shared printer to work you need to make perfectly sure that each PC on the network can communicate perfectly with each other and that the printers are shown as shared with Samba and with NFS. If this does not work you will have problems.
    To share a dedicated printer connected to a specific PC with the other PC's on the same network you need Samba installed for sharing with Windows and NFS for sharing with Linux PC's. Install these with Synaptic from the repositories.


    Now go to Menu, System Settings, Sharing, File Sharing and you should see a list under Shared Folders that includes a line /var/lib/samba/printers/ with a tick or a cross under the Samba and NFS column. To enable sharing of the printers under Samba and NFS, go into Administrator mode, select Simple Sharing and select both Samba and NFS. Uncheck Public and Writable. Once you have two green ticks it means that you can share with both linux and/or Windows PC's. You might as well do the same for any folders you want to share. Create them and enable sharing and allow it via NFS and/or Samba, in the case of folders you should check Public and Writable.
    Now to check that you can see the shares, reboot the PC's and then click on the PC icon called System Menu in the kicker bar. Select Remote Places, Samba Shares and then open the Workplaces. You should see your own PC AND the remote PC's. Check that this is possible on all the PC's. Now you can be sure that your PC's are seeing each other and ready to have printer sharing set up. Note, you will not see the printers in here, but only actual shared drives and folders on which sharing has been allowed.


    Printer on linux PC, sharing with other linux PC's
    If you are using all linux PC's you will not need to install drivers on the client (other) PC, but only on the server PC that has the printer connected to it (we are not refering to a network printer here, that has its own IP address, but a dedicated printer on a PC that is shared via that PC).
    If your sharing and the network is properly setup with the server PC, the printers installed on the server PC will show up in your printer list on each PC as if they were installed on that PC (nice CUPS and linux feature) and you just use them.


    Printer on Windows PC, sharing with other linux PC's
    If the server PC is a Windows PC you will have to install the Windows drivers on the Windows PC and activate printer and file sharing. and give the printer an unique share name i.e. Brotherxp. Then install the above linux printer drivers for the printer on the Kubuntu PC and then go to Menu, System Settings, Printers, Add, Add Printer Class. Now the Add Printer Wizard opens and click next, select SMD Shared Printer Windows, next, Use anonymous, next, SMB Printer Settings – use Scan. If your Kubuntu PC can see the Windows PC it will show the workgroup name and the PC name. Enter these in Workgroup, Server and put the Printer share name you gave in XP (i.e. Printerxp) in Printer, Next.
    KDE will now build a database of drivers and you can select Brother, scroll down to MFC-210C (which you have installed in the first part), find the correct printer, click on it and it will be entered in the fields, Next etc. until installation is complete and test page works.




    Now for some configurations settings:
    The above will not work properly as the CUPS configurations in Kubuntu are not set by default to allow sharing of printers on a network and you have to enable this before it will work. Its is easy in Kubuntu:
    Got to System Settings, Printer
    Open the Printer Server tab and just select both “Access printers on local network” this is on the PC that needs to see a shared printer from another PC and “Share printers on local network” this is on the PC that needs to share its printer with other PC's. A cross next to these will show if enabled.


    Select the Restart Server in System Settings - Printer or you can reboot the PC's and see if you can see the printer under printer settings on the other PC's.


    Thats it, now you have a shared printer!!


    Camera media card reading;
    You can just insert the media card and it will appear as a usb flash disk on Kubuntu and just copy, read or whatever from and to it. Just do not change the special file structure that your camera created as it may make the card unusable in your camera.


    Fax Printing :

    Brother has provided a very useful function that allows faxes to be sent directly from a PC, via your Brother MFC. It works on linux and even from other linux PC's connected to the same lan.
    The actual printer configuration can be done via the CUPS web interface (http://localhost:631/printers), but I used the Kubuntu (KDE) printer configuration from the menu, as some CUPS configurations, such as printer sharing and administrator mode are not enabled by default in Kubuntu Dapper. Details can be found above on how to correct.
    Ensure that Sun-Java5-jre is installed from the repositories using your package manager (i.e. Synaptic, adept, apt-get etc,as this runs the applet /usr/local/Brother/fax/brmfcfax.jar, which is the dialup gui for your PC-Fax.
    Now you have to set this version as default (may not be required to do in Feisty):
    sudo update-alternatives - -config java
    You will now get a selection that shows a list and which is in use.
    Select the version: /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

    Now while the printer is SWITCHED OFF, install the two special drivers from the Brother website. The order of the driver installation is important, first lpd, then cups:

    Right click on the brmfcfaxlpd-1.0.0-1.i386.deb file and select Kubuntu Package Menu, Install Package
    Right click on the brmfcfaxcups-1.0.0-1.i386.deb file and select Kubuntu Package Menu, Install Package

    Switch the printer BACK ON:

    In the menu go to System Settings, Printer and you should see another printer installed called BRFAX. The device URI is incorrectly created as /dev/usb/lp0. To correct this go to Menu, System Settings, Printers. Select BRFAX and select the Properties tab and then the Interface icon. Now click on Change and a window called Modify Printer should open. Select Local printer, Next, then select Brother MFC-215C and click Finish.

    This BRFAX printer is not used to print faxes directly, BRFAX is used by the “brpcfax” utility script file. To send a fax, you must use the “brpcfax” utility to process your print jobs and you can only use this with a postscript file which then sends it to the BRFAX printer.

    a) Use “Print to file” from your application (i.e. OOo) to generate a postscript file called i.e “testfax.ps”
    b) Right click the testfax.ps file and select “Open with” and now click “Send As Fax”, the dialup screen gui should come up, enter fax number and click Send.

    Before you can do this Konquerer must first be configured

    1) Open Konquerer
    2) Go to Settings, Configure konquerer
    3) Click file associations
    4) Type “ps” in the search box and select “Application”-- “Postscript” from the list
    5) Click right hand “Add” (under Application Preferance Order) and type “brpcfax” and click OK
    6) Select the new “brpcfax option and click 'Edit”
    7) Select the Application tab
    8) In Command line enter: brpcfax -P BRFAX -o PAPER=A4
    9) In the Name field enter Send As Fax
    10) Go to General tab
    11) Click on the blank Icon, System Icons, select Devices form drop down and select the “print_class” icon (looks like a fax) 12) Click OK and save


    If you Send As Fax a .ps document, you will dial the number on the pop up screen on your PC and then you will hear the printer fax being seized, dialtone, then dialling and the fax sent.




    Scanner Installation:


    Ensure you have already installed Sane (and Xsane for Ubuntu) as per the beginning of this howto.
    You must also additionally install a special driver which is the Brother backend for sane scanner which is used by Kooka (Kubuntu).


    Ensure that printer is switched off

    Right click on the brscan2-0.2.1-0.i386.deb file and select Kubuntu Package Menu, Install Package

    Switch the
    printer on

    Run Kooka in root (kdesu kooka) to check if the installation works (or Xsane if using Ubuntu)

    The reason for this is that the scanner MFC-215C is quite new and not yet listed in the Kubuntu Feisty config files and you have to add some lines. To fix this go to /etc/udev/rules.d/45-libsane.rules and find the 2 lines starting with #Brother MFC 9600 and you will see that other versions are missing, insert the lines below and reboot. Kooka should now run as ordinary user from the menu. Use lsusb in the terminal, it can give you your scanner details as well


    # Brother|MFC 115C
    SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018c", MODE="664", GROUP="scanner"
    # Brother|MFC 210C
    SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0161", MODE="664", GROUP="scanner"
    # Brother|MFC 215C
    SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0193", MODE="664", GROUP="scanner"

    Reboot PC and test.

    Network Installation (printer own IP)


    This is how to get the printer to just be on the network (not attached to a print server). This will only work with models that have a built-in ethernet port. (MFC-425CN). The model MFC-215C will have to have an external network driver module (jetdirect or similar) attached. Otherwise it will have to use another PC as a print server.
    You need to know the IP address of the printer. The printer can tell you this (check out the instruction booklet as the command combinations may be different for different models.)
    Open your browser to CUPS by entering http://localhost:631/. Click "Manage Printers."
    If everything went well, you should see your printer in the list.
    Select "Modify Printer." The important step is to select the device for the printer.

    Choose "LPD/LPR Host or Printer."
    Enter lpd://xxx.xxx.xxx.xxx in the window (where the xxx's are the printer's IP address).
    Send it a test page. You can configure paper size from CUPS (it seems to default to A4).
    From here you can also set your print manager to use CUPS if you so desire and it will also print on the network.




    Scanner over network (printer has own IP)


    It is assumed that the scanner drivers and Sane (and Xsane for Ubuntu) have been installed as shown at the beginning of this howto.
    To use your machine as a network scanner, you need to set a friendly name, model name and IP address or node name for the driver:
    using IP address:

    brsaneconfig2 -a name=FRIENDLY-NAME model=MODEL-NAME ip=xxx.xxx.xxx.xxx
    or alternatively using node name
    brsaneconfig2 -a name=FRIENDLY-NAME model=MODEL-NAME nodename=BRN_xxxxx
    Example
    brsaneconfig2 -a name=BROTHER-SCANNER model=MFC-215C ip=xxx.xxx.xxx.xxx
    You can check the result by running the command:
    brsaneconfig2 -q
    If the setting is done correctly, you will see the result as below:
    0 BROTHER-SCANNER "MFC-215C" Ixx.xxx.xxx.xxx
    Now run Kooka ( Xsane if using Ubuntu)
    And scan something, click Acquire Preview and there you go...

    Last edited by Matchless; May 1st, 2007 at 08:00 PM. Reason: Updated to Feisty
    Regards,
    Matchless

    Proudly kubuntu!

  2. #2
    Join Date
    Apr 2005
    Location
    Sweden
    Beans
    311
    Distro
    Ubuntu Breezy 5.10

    Re: Edgy Howto: Brother Printer MFC-215c complete

    Excellent howto, was about to install my HL 2030 after Edgy install, used this howto for the printer part (hd it installed by the other howto that is very similar for dapper).
    Problem is, it starts to move alot of papers (about 15 papers for every testpage), but nothing on them. Tested the printer from different usb ports and which changes nothing, it works flawless on my girlfriends win xp notebook. Any tips on what I could have missed or something to try?
    Vrooom

  3. #3
    Join Date
    Apr 2005
    Location
    South Africa
    Beans
    Hidden!
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Edgy Howto: Brother Printer MFC-215c complete

    Quote Originally Posted by rejser View Post
    Excellent howto, was about to install my HL 2030 after Edgy install, used this howto for the printer part (hd it installed by the other howto that is very similar for dapper).
    Problem is, it starts to move alot of papers (about 15 papers for every testpage), but nothing on them. Tested the printer from different usb ports and which changes nothing, it works flawless on my girlfriends win xp notebook. Any tips on what I could have missed or something to try?
    Hi,
    I am not familiar with your model, but can just suggest that you ensure that you have the latest drivers from the Brother site, clean out your installation completely. Uninstall with package manager and search for files related to the installation (I use Krusader) and do a new installation and make sure the steps are followed correctly. I have just retested my own howto on a new clean install, but only Kubuntu and it works.
    Good luck.
    Regards,
    Matchless

    Proudly kubuntu!

  4. #4
    Join Date
    Dec 2006
    Beans
    11

    Re: Edgy Howto: Brother Printer MFC-215c complete

    Hi,

    I am having trouble using my printer. I am working with DCP-115 C and used MFC-210C driver as described in your HOWTO. The scanner is running fine,but the printer is not working.

    When I am selecting one document for printing, my printer is showing "Receive DATA", but this was everything.

    I can scan without any problems.

    Can you help me?

    I am using Edgy EFT (Ubuntu 6.10) with a DCP-115C

    Thanks

  5. #5
    Join Date
    Apr 2005
    Location
    South Africa
    Beans
    Hidden!
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Edgy Howto: Brother Printer MFC-215c complete

    All I can suggest is that you go into the System Settings again and open up the printer that was created when you installed the drivers, check the properties and that it is pointing to the correct device, or just delete the printer in System settings and add a new one from scratch.
    Hopefully that should help you
    Regards,
    Matchless

    Proudly kubuntu!

  6. #6
    Join Date
    Dec 2006
    Beans
    11

    Re: Edgy Howto: Brother Printer MFC-215c complete

    I just deleted the packages and made a new installation and - what a surprise - it worked well for me. Thx a million

  7. #7
    Join Date
    Dec 2006
    Beans
    4

    Talking Re: Edgy Howto: Brother Printer MFC-215c complete

    I have a MFC-5440CN and using your instructions and the correct drivers for my printer everything went very smoothly. Thank you for putting an easy to read howto up, it made everything a lot easyer for me.

  8. #8
    Join Date
    Apr 2005
    Location
    South Africa
    Beans
    Hidden!
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Edgy Howto: Brother Printer MFC-215c complete

    Quote Originally Posted by ChronoStriker1 View Post
    I have a MFC-5440CN and using your instructions and the correct drivers for my printer everything went very smoothly. Thank you for putting an easy to read howto up, it made everything a lot easyer for me.
    I am glad that some of you are finding this usefull
    Regards,
    Matchless

    Proudly kubuntu!

  9. #9
    Join Date
    Apr 2006
    Location
    USA
    Beans
    403

    Re: Edgy Howto: Brother Printer MFC-215c complete

    I have written a shell script to automate the installation of these drivers, based on bobsongs script for dapper. Please test and let me know of any bugs you find. Works for me. I modified his script to work for dapper or edgy, so if it works properly, bobsongs can host the revised script which adds edgy support. Thanks to matchless for this great howto, made my scripting job easier.

    EDIT: Go here for the current versions

    http://ubuntuforums.org/showpost.php...&postcount=283
    Last edited by balloons; May 1st, 2007 at 02:36 AM. Reason: Point to Updated Scripts

  10. #10
    Join Date
    Nov 2006
    Beans
    Hidden!
    Distro
    Ubuntu 6.10 Edgy

    Re: Edgy Howto: Brother Printer MFC-215c complete

    I used this on my MFC 215c and I had no problems whatsoever.
    I just have one questions.
    When i run Kooka with command "kdesu kooka" it shows output below and then loads Kooka prefectly and everithing works.
    Code:
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  146
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  146
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    Link points to "/tmp/ksocket-root"
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    
    kdeinit: Can't connect to the X Server.
    kdeinit: Might not terminate at end of session.
    Link points to "/tmp/kde-root"
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    
    kded: cannot connect to X server :0.0
    DCOP aborting call from 'anonymous-4897' to 'kded'
    kded: ERROR: Communication problem with kded, it probably crashed.
    libkscan: WARNING: Trying to copy a not healthy option (no name nor desc)
    libkscan: WARNING: Trying to copy a not healthy option (no name nor desc)
    KComboBox::setTrapReturnKey not supported with a non-KLineEdit.
    What does that mean?

    And when i just run Kooka from Kmenu (without sudo permission) it just showes message that there is no scanner even if i select brother scanner at the beaginning.
    Why is that so?
    I just wanna know why this happens, remember, if i use root permission everything works, just shows upper output.

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •