Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th June 2012, 02:28 PM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
linuxopera
How I got my Canon MG8120 working in F17

This was mostly copied from a similar thread I made at the Mageia forums, with a couple of relevant edits for Fedora 17.
https://forums.mageia.org/en/viewtopic.php?f=24&t=2800

It wasn't pretty, but I finally got it to work with the official Canon drivers. This is using the wireless network feature of my printer, which is interfaced through my wireless router. Hopefully I don't have any typos below.
http://support-au.canon.com.au/P/sea..._os&g_os=Linux

I downloaded the archived rpm (MG8100 series IJ Printer Driver Ver. 3.40 for Linux (rpm Packagearchive)) from Canon. Opened and extracted the tarball with Ark from Dolphin.

From /home/dkb/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/ I created 2 directories /common and /mg8100
I copied the appropriate rpms to each directory using dolphin.
So here I have the following:
/home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/common/cnijfilter-common-3.40-1.x86_64.rpm
/home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/mg8100/cnijfilter-mg8100series-3.40-1.x86_64.rpm

From there, I used rpm2cpio to extract the appropriate rpms (64-bit in my case).
# cd /home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/common/
# rpm2cpio cnijfilter-common-3.40-1.x86_64.rpm | cpio -idmv

# cd /home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/mg8100/
# rpm2cpio cnijfilter-mg8100series-3.40-1.x86_64.rpm | cpio -idmv

This creates /usr directories with all the files contained in the rpms in ~/common & ~/mg8100 directories.
Next I copied those files to my usr directory.
# cd /home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/common/
# cp -r /home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/common/usr/* /usr

# cd /home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/mg8100/
# cp -r /home/~/Downloads/cnijfilter-mg8100series-3.40-1-rpm/packages/mg8100/usr/* /usr

I listed the libcn* files.
# cd /usr/lib64 (for 64-bit mageia)
# ls libcn*

Next I created symbolic links for all these files below.
# ln -s libcnnet.so.1.2.0 libcnnet.so
# ln -s libcnbpcmcm377.so.8.0.1 libcnbpcmcm377.so
# ln -s libcnbpcnclapi377.so.3.5.0 libcnbpcnclapi377.so
# ln -s libcnbpcnclbjcmd377.so.3.3.0 libcnbpcnclbjcmd377.so
# ln -s libcnbpcnclui377.so.3.6.0 libcnbpcnclui377.so
# ln -s libcnbpo377.so.1.0.1 libcnbpo377.so
# ln -s libcnbpess377.so.3.3.3 libcnbpess377.so

Also needed older versions of libpng, libtiff, and libjpeg. I found and downloaded them using http://rpm.pbone.net/
libpng-1.2.44-1.fc12.x86_64.rpm
libtiff-3.9.4-1.fc12.x86_64.rpm
libjpeg-6b-46.fc12.x86_64.rpm

I did the same with those as I did with the Canon rpms. After downloading the old fedora rpms, I extracted the contents with rpm2cpio, and copied the files to /usr/lib64/

Here are all the libpng, libtiff, and libjpeg files I ended up with after creating some symbolic links
Code:
[root@localhost ~]# cd /usr/lib64
[root@localhost lib64]# ls -l libpng*
lrwxrwxrwx 1 root root     18 Jun 12 10:05 libpng12.so -> libpng12.so.0.44.0*
lrwxrwxrwx 1 root root     18 Jun 12 12:26 libpng12.so.0 -> libpng12.so.0.44.0*
-rwxr-xr-x 1 root root 157496 Jun 12 12:26 libpng12.so.0.44.0*
lrwxrwxrwx 1 root root     19 Jun 10 15:30 libpng15.so.15 -> libpng15.so.15.10.0*
-rwxr-xr-x 1 root root 315568 Apr  2 17:11 libpng15.so.15.10.0*
lrwxrwxrwx 1 root root     11 Jun 12 10:05 libpng.so -> libpng12.so*
lrwxrwxrwx 1 root root     16 Jun 12 12:26 libpng.so.3 -> libpng.so.3.44.0*
-rwxr-xr-x 1 root root 172760 Jun 12 12:26 libpng.so.3.44.0*
[root@localhost lib64]# ls -l libtiff*
lrwxrwxrwx 1 root root     12 Jun 12 20:50 libtiff.so -> libtiff.so.3*
lrwxrwxrwx 1 root root     16 Jun 12 12:27 libtiff.so.3 -> libtiff.so.3.9.4*
-rwxr-xr-x 1 root root 408688 Jun 12 12:27 libtiff.so.3.9.4*
lrwxrwxrwx 1 root root     16 Jun 10 15:30 libtiff.so.5 -> libtiff.so.5.0.6*
-rwxr-xr-x 1 root root 468360 Apr  5 05:30 libtiff.so.5.0.6*
lrwxrwxrwx 1 root root     14 Jun 13 20:34 libtiffxx.so -> libtiffxx.so.3*
lrwxrwxrwx 1 root root     18 Jun 12 12:27 libtiffxx.so.3 -> libtiffxx.so.3.9.4*
-rwxr-xr-x 1 root root   9224 Jun 12 12:27 libtiffxx.so.3.9.4*
lrwxrwxrwx 1 root root     18 Jun 10 15:30 libtiffxx.so.5 -> libtiffxx.so.5.0.6*
-rwxr-xr-x 1 root root  10432 Apr  5 05:30 libtiffxx.so.5.0.6*
[root@localhost lib64]# ls -l libjpeg*
lrwxrwxrwx 1 root root     13 Jun 13 20:35 libjpeg.so -> libjpeg.so.62*
lrwxrwxrwx 1 root root     17 Jun 12 22:17 libjpeg.so.62 -> libjpeg.so.62.0.0*
-rwxr-xr-x 1 root root 147688 Jun 12 22:17 libjpeg.so.62.0.0*
lrwxrwxrwx 1 root root     16 Jun 10 15:30 libjpeg.so.8 -> libjpeg.so.8.0.2*
-rwxr-xr-x 1 root root 260744 Apr 23 14:59 libjpeg.so.8.0.2*
I found I needed to install ghostscript from Fedora for the printer to print. Before that I installed a2ps, so it might be needed as well.

When done, restart cups:
# service cups restart

The command from console # /usr/lib64/cups/backend/cnijnet should display the URI of your printer. This worked in Mageia 2 for me, but not in Fedora 17 - however I was able to use the URI discovered in Mageia 2 in Fedora 17.
Mine is: cnijnet:/00-1E-8F-A6-5A-72
EDIT: Had to disable the firewall for this to work.

If your printer is not discovered like mine wasn't, try entering that URI directly from the cups web interface:
http://localhost:631/
I used the "AppSocket/HP JetDirect" radio button, erased the word "socket" from the Connection box, and entered
cnijnet:/00-1E-8F-A6-5A-72
Finish out the wizard to install the printer. Try and print a test page.

EDIT: FYI, the number following cnijnet:/ is the MAC address of the printer.
__________________
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)

Last edited by David Batson; 2nd March 2013 at 05:21 PM.
Reply With Quote
  #2  
Old 2nd March 2013, 05:54 PM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
linuxopera
Re: How I got my Canon MG8120 working in F17

Finally got around to trying the above in Fedora 18 Gnome. Worked fine as in F17. Did not install a2ps this time.

The command to restart CUPS is different though.
Code:
# systemctl restart cups.service
EDIT: I found a typo in my first post. Wrong directory for cnijnet (lib64, not lib). To discover my printer, I had to disable the firewall temporarily, discover the printer, then reenable the firewall.

Code:
[root@localhost ~]# systemctl stop firewalld.service
[root@localhost ~]# /usr/lib64/cups/backend/cnijnet
network cnijnet:/00-1E-8F-A6-5A-72 "Canon MG8100 series" "Canon-MG8100-series_00-1E-8F-A6-5A-72"
[root@localhost ~]# systemctl start firewalld.service
EDIT: One other thing regarding using the official Canon driver: when choosing the printer from the list, choose "Canon MG8100 series (ver. 3.40) en". This will be listed between the Canon LIPS and Canon Multipass printers. If you choose "Canon PIXMA MG8100", you will be using the Gutenprint driver, not the official Canon driver.

---------- Post added at 10:54 AM ---------- Previous post was at 10:07 AM ----------

Got the scanner working as well. Basically followed the same procedures as with the printer. Downloaded the archived rpm for scangearmp, opened the archive, extracted the files with rpm2cpio, and copied the files to the appropriate directories.

Had to install pangox-compat from Fedora 18 as well. Might have to reboot for the udev rules to take effect. Run scangear from terminal to launch the Canon GUI scanner app.
__________________
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)

Last edited by David Batson; 2nd March 2013 at 06:10 PM.
Reply With Quote
  #3  
Old 29th September 2013, 07:48 AM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
linuxopera
Re: How I got my Canon MG8120 working in F17

The above works in F19.

I found that if I add the following ports to Home in the Firewall setup (this printer is in my home), I can use the Canon cnijnet URI for network printing:
tcp 8610-8614
udp 8610-8614

Got the firewall tip from the following link:
http://mairin.wordpress.com/2010/01/...60-wih-fedora/
__________________
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
Reply With Quote
  #4  
Old 14th October 2013, 07:37 AM
BitumenSurfer Offline
Registered User
 
Join Date: Oct 2013
Location: Melbourne, Australia
Posts: 1
linuxfirefox
Re: How I got my Canon MG8120 working in F17

Thanks for your post - helped me solve my issues with a MG5460 in fedora 18

I thought I'd let you know of an alternative though. With fedora 19 I downloaded the source rpm here (http://support-au.canon.com.au/P/sea..._os&g_os=Linux) although I can also see there is a source rpm for your printer model.

I found I could produce a set of rpms that were based on current graphics libraries as a result. Admittedly I did have to fix some programming bugs, but I can now print fine.

If you need a hand to do the same, I'd be happy to assist.

Cheers
Reply With Quote
Reply

Tags
canon, f17, f18, mg5460, mg8120, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Canon CAPT printer drivers dont work on FC12 x86_64 for canon printer (LBP5050n) mattywix Hardware & Laptops 5 19th December 2011 11:42 AM
Scanner problem Canon MG8120 tcrank472 Hardware & Laptops 0 12th June 2011 03:20 AM
Canon PIXMA MG8120/MG8150 David Batson Hardware & Laptops 3 1st February 2011 09:20 PM
Canon Pixma iP1800 not working after installed Driver. RajuTiwari Hardware & Laptops 4 29th December 2007 05:48 AM
Canon MPC 190 tiberiu Hardware & Laptops 0 26th December 2004 06:26 PM


Current GMT-time: 18:05 (Wednesday, 23-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat