Page 1 of 19 12311 ... LastLast
Results 1 to 10 of 189

Thread: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

  1. #1
    Join Date
    Dec 2006
    Beans
    112

    How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    UPDATED FOR SCANNER DRIVER TOO.

    This took a while and I didn't find the information elsewhere, so thought I'd throw the information here in case anyone else is looking for it!

    1) PRINTING
    Firstly, get the 32 bit printer drivers from Asia:

    http://support-sg.canon-asia.com/con...100272302.html

    Download is at the bottom of that page.

    After you download it, untar the file and get into the directory that it creates

    Code:
    tar -xvf cnij*
    cd cnij*
    Now.. if you have a 32 bit / i386 system you are good to go!

    Code:
    ./install.sh
    and follow your nose.

    If you are using 64 bit though it's more tricky. The 32 bit deb file itself works fine on 64bit machines, but the stuff in the install script does all the hard work of actually getting the printer set up, so the thing to do is hack the install.sh file to force it to ignore the architecture.

    open the file with your favorite editor and find the block:

    Code:
            ## rpm and deb are error, or rpm and deb are no error, is error ##
            if [ $c_system_rpm = 0 -a $c_system_deb = 0 ] || [ $c_system_rpm != 0 -a $c_system_deb != 0 ]; then
                   printf "$L_INST_COM_01_02"
                   return $C_ERR_CODE
            else
                   if test $c_system_rpm -eq 0; then
                           C_system="rpm"
                   else
                            C_system="deb"
                   fi
            fi
    and comment out the logic so all that is left is C_system="deb"

    Code:
            ## rpm and deb are error, or rpm and deb are no error, is error ##
            #if [ $c_system_rpm = 0 -a $c_system_deb = 0 ] || [ $c_system_rpm != 0 -a $c_system_deb != 0 ]; then
            #       printf "$L_INST_COM_01_02"
            #       return $C_ERR_CODE
            #else
            #       if test $c_system_rpm -eq 0; then
            #               C_system="rpm"
            #       else
                            C_system="deb"
            #       fi
            #fi
    Now search for:

    Code:
    C_FUNC_show_and_exec "sudo dpkg -iG $c_fpath_pkg_name"
    and change it to

    Code:
    C_FUNC_show_and_exec "sudo dpkg --force-architecture -iG $c_fpath_pkg_name"
    to force it to ignore the architecture..

    You're done!

    Run with

    Code:
    ./install

    2) SCANNING
    Thanks to others in this thread for doing the groundwork on scanning too. The process is very similar. I think for 386 installs of Ubuntu it should "just work".

    Download the scanner driver from Asia:

    http://support-sg.canon-asia.com/con...100273002.html


    Download is at the bottom of that page.

    After you download it, untar the file and get into the directory that it creates

    Code:
    tar -xvf scan*
    cd scan*
    Now.. if you have a 32 bit / i386 system you are good to go!

    Code:
    ./install.sh
    and follow your nose.

    If you are using 64 bit though it's more tricky. The 32 bit deb file itself works fine on 64bit machines, but the stuff in the install script does all the hard work of actually getting the printer set up, so the thing to do is hack the install.sh file to force it to ignore the architecture.

    open the file with your favorite editor and find the block:

    Code:
            ## rpm and deb are error, or rpm and deb are no error, is error ##
            if [ $c_system_rpm = 0 -a $c_system_deb = 0 ] || [ $c_system_rpm != 0 -a $c_system_deb != 0 ]; then
                   printf "$L_INST_COM_01_02"
                   return $C_ERR_CODE
            else
                   if test $c_system_rpm -eq 0; then
                           C_system="rpm"
                   else
                            C_system="deb"
                   fi
            fi
    and comment out the logic so all that is left is C_system="deb"

    Code:
            ## rpm and deb are error, or rpm and deb are no error, is error ##
            #if [ $c_system_rpm = 0 -a $c_system_deb = 0 ] || [ $c_system_rpm != 0 -a $c_system_deb != 0 ]; then
            #       printf "$L_INST_COM_01_02"
            #       return $C_ERR_CODE
            #else
            #       if test $c_system_rpm -eq 0; then
            #               C_system="rpm"
            #       else
                            C_system="deb"
            #       fi
            #fi
    Now search for:

    Code:
    C_FUNC_show_and_exec "sudo dpkg -iG $c_fpath_pkg_name"
    and change it to

    Code:
    C_FUNC_show_and_exec "sudo dpkg --force-architecture -iG $c_fpath_pkg_name"
    to force it to ignore the architecture..

    You're done!

    Run with

    Code:
    ./install
    Now.. You've just installed drivers AND a scanner app. To use the scanner app you have to run it. Hit ALT-F2 to pull up the run command and type "scangearmp". You should see a dialog box about scanners (first time it might say "NOT FOUND" but if you follow your nose, it will find the scanner and add it to the available list. To make life easier, make a launcher on your desktop for scangearmp for future use.


    K
    Last edited by thewump; January 24th, 2011 at 01:18 AM.

  2. #2
    Join Date
    May 2010
    Location
    Mississippi
    Beans
    10
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    Thank You!!

    I learned the hard way that 64 bit print drivers are a pain in the neck.

  3. #3
    Join Date
    Jun 2010
    Beans
    1

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    Hi. This driver is for 9.10 now and I cant instal it I am running 10.04 (32bit). What can I do?



    Uploaded with ImageShack.us

  4. #4
    Join Date
    Aug 2009
    Beans
    41

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    I think I have the same problem as dadasfx. When I try to ./install.sh it tells me:
    "An error occurred. The package management system cannot be identified."

  5. #5
    Join Date
    Dec 2006
    Beans
    112

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    .. then I don't think you are doing this step propery:

    ## rpm and deb are error, or rpm and deb are no error, is error ##
    #if [ $c_system_rpm = 0 -a $c_system_deb = 0 ] || [ $c_system_rpm != 0 -a $c_system_deb != 0 ]; then
    # printf "$L_INST_COM_01_02"
    # return $C_ERR_CODE
    #else
    # if test $c_system_rpm -eq 0; then
    # C_system="rpm"
    # else
    C_system="deb"
    # fi
    #fi

    See the help above. All the lines except C_system="deb" need a "#" in front of them so they are ignored.

    K

  6. #6
    Join Date
    Jul 2010
    Location
    Boston, MA
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    Thank you for the instructions.

    In case it is not obvious, you can install the scangearmp driver following the same instructions, but first you need to download the 32 bit drivers from Asia:

    http://support-sg.canon-asia.com/con...100273002.html

    After you install the drivers run the scangearmp in terminal, update your scanner list and you should be all set.

  7. #7
    Join Date
    Aug 2009
    Beans
    41

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    After some searching, I also found that TurboPrint for Linux gets it working pretty easily. I just downloaded the trial version and it set it up, and it seems I don't need to keep the program around after it does the initial setup either so hopefully no worries about needing to buy the program after the trial period.

  8. #8
    Join Date
    Jul 2010
    Beans
    1

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    Thanks a bunch for this informative post! I just ordered an MX870 Sunday evening so I'll be needing to install the drivers soon. I'm very inexperienced at Ubuntu and really appreciate your help, especially considering that I'm running the 64-bit version which apparently is much more complicated than the 32-bit version. I'll let you know if I have any troubles.

  9. #9
    Join Date
    Aug 2009
    Beans
    41

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    Alright so TurboPrint helps get the printer going.

    However, I cannot use the scanner wirelessly using turboprint it seems, and Simple Scan does not detect the scanner (I presume because its a wireless, networked scanner).

    I don't know if the wireless scanner works using the drivers from canon, as those are 9.10 drivers and don't seem to work with 10.04 which I have.

  10. #10
    Join Date
    Aug 2010
    Beans
    1

    Re: How To: Install Canon PIXMA MX870 drivers on i368 and 64bit ubuntu

    Thanks for your research. The directions are very accurate and my MX870 is working like a charm on Ubantu!! Thanks

Page 1 of 19 12311 ... LastLast

Tags for this Thread

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
  •