Page 1 of 5 123 ... LastLast
Results 1 to 10 of 189

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

Hybrid View

  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
    Apr 2009
    Beans
    193

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

    Quote Originally Posted by thewump View Post
    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!

    Firstly, get the 32 bit 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
    K
    I have an 32 bit system and got the 32 bit drivers from Asia. Thanks! your advice (quoted in this response) worked great for my Cannon MX870 for printing. However, I am unable to get the scanner working. Is this driver only for printing?

    I am using Ubuntu 10.04 and connected with an Ethernet cable to a Linksys wireless router. The wireless router is connected to the Cannon MX870 both by wireless and by an ethernet connection. The printer prints fine. But Simple scan returns a message "No scanners detected". I tried with Xsane and got "no devices available". Can anyone tell me if the driver I installed has scanner support or some way to get the scanner installed?
    Many thanks

  8. #8
    Join Date
    Oct 2006
    Location
    Milton Keynes, UK
    Beans
    1,141
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    Can anyone tell me if the driver I installed has scanner support or some way to get the scanner installed?
    If you followed the instructions in post 1 then this is what you installed...
    MX870 series IJ Printer Driver Ver. 3.30 for Linux (debian Packagearchive)
    Read earlier posts & look for link to download scangear.
    Linux Registered User #443947 Ubuntu Regestered User #12604

    Hakunamatata ...... No worries !

  9. #9
    Join Date
    Nov 2010
    Beans
    2

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

    Thank you for posting this. You're instructions were really good to follow and my printer works like charm.

  10. #10
    Join Date
    Jul 2005
    Beans
    306

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

    Well, I've stripped the dependancies out of the two scanner deb files, modified the install.sh script and ran the install. Everything went fine. No errors. The scanner is even properly recognized in xane. However, scanning doesn't work. Trying the scangearmp program from the terminal allowed me to select the printer properly but then it failed out with pages of errors:
    Code:
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
    
    
    (scangearmp:23078): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Loading IM context type 'ibus' failed
    
    (scangearmp:23078): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Loading IM context type 'ibus' failed
    
    (scangearmp:23078): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Loading IM context type 'ibus' failed
    
    (scangearmp:23078): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Loading IM context type 'ibus' failed
    
    (scangearmp:23078): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Loading IM context type 'ibus' failed
    
    (scangearmp:23078): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): Gtk-WARNING **: Loading IM context type 'ibus' failed
    /usr/lib/gio/modules/libgiobamf.so: wrong ELF class: ELFCLASS64
    Failed to load module: /usr/lib/gio/modules/libgiobamf.so
    /usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
    Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
    
    (scangearmp:23078): Gtk-WARNING **: Error loading theme icon 'process-stop' for stock: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    
    ** (scangearmp:23078): CRITICAL **: murrine_style_draw_render_icon: assertion `base_pixbuf != NULL' failed
    
    (scangearmp:23078): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
    
    (scangearmp:23078): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
    
    (scangearmp:23078): Gtk-WARNING **: Error loading theme icon 'process-stop' for stock: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    
    ** (scangearmp:23078): CRITICAL **: murrine_style_draw_render_icon: assertion `base_pixbuf != NULL' failed
    
    (scangearmp:23078): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
    
    (scangearmp:23078): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
    
    (scangearmp:23078): Gtk-WARNING **: Error loading theme icon 'process-stop' for stock: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: wrong ELF class: ELFCLASS64
    
    (scangearmp:23078): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    
    ** (scangearmp:23078): CRITICAL **: murrine_style_draw_render_icon: assertion `base_pixbuf != NULL' failed
    
    (scangearmp:23078): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
    
    (scangearmp:23078): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
    Not sure where to go with this just yet. I'll look again after I finish my finals.

    Statik

Page 1 of 5 123 ... 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
  •