Canon PIXMA MG8120

Canon PIXMA MG8120

Postby David_Batson » Aug 3rd, '11, 06:33

I was trying to install my Canon PIXMA MG8120 as a network printer. Ran into a couple of issues.

I installed this printer first in Fedora 15 using the install,sh script included in the extracted rpm file: cnijfilter-mg8100series-3.40-1-rpm.tar.gz. Worked like a charm.

On the same laptop I tried the script in Mageia 1, and the script ran ok except at the end it couldn't create the proper URI. I tried using the APPSocket/HP JetDirect URI that worked in Fedora for my Brother printer, just changing the IP address to the Canon printer's IP address, but then I was getting an error about accessing the filter driver /usr/lib/cups/filter/pstocanonij. I tried running the script again. I tried running the rpms in the tar archive (cnijfilter-common-3.40-1.x86_64.rpm & cnijfilter-mg8100series-3.40-1.x86_64.rpm), but nothing was putting the file pstocanonij in the filter folder. I even tried the following.

Code: Select all
$ rpm -qlp cnijfilter-common-3.40-1.x86_64.rpm
/usr/lib/cups/backend/cnijnet
/usr/lib/cups/backend/cnijusb
/usr/lib/cups/filter/pstocanonij
/usr/lib64/bjlib/cnnet.ini
/usr/lib64/cups/backend/cnijnet
/usr/lib64/cups/backend/cnijusb
/usr/lib64/cups/filter/pstocanonij
/usr/lib64/libcnnet.so.1.2.0
/usr/local/bin/cngpij
/usr/local/bin/cnijnetprn
/usr/local/bin/cnijnpr
/usr/share/doc/cnijfilter-common-3.40
/usr/share/doc/cnijfilter-common-3.40/LICENSE-cnijfilter-3.40EN.txt
/usr/share/doc/cnijfilter-common-3.40/LICENSE-cnijfilter-3.40FR.txt
/usr/share/doc/cnijfilter-common-3.40/LICENSE-cnijfilter-3.40JP.txt
/usr/share/doc/cnijfilter-common-3.40/LICENSE-cnijfilter-3.40SC.txt


Seeing the above, I tried this next.
Code: Select all
[root@localhost packages]# rpm -qlp cnijfilter-common-3.40-1.x86_64.rpm | grep pstocanonij
/usr/lib/cups/filter/pstocanonij
/usr/lib64/cups/filter/pstocanonij
[root@localhost packages]# rpm2cpio cnijfilter-common-3.40-1.x86_64.rpm | cpio -ivd /usr/lib/cups/filter/pstocanonij
944 blocks
[root@localhost packages]# rpm2cpio cnijfilter-common-3.40-1.x86_64.rpm | cpio -ivd /usr/lib64/cups/filter/pstocanonij
944 blocks


Yet the file pstocanonij was not placed in /usr/lib/cups/filter or /usr/lib64/cups/filter. Finally I ended up just copying the file from my Fedora installation to Mageia in the usr/lib/cups/filter directory. It then showed up in the /usr/lib64/cups/filter directory as that was a symbolic link.

I still could not do a test print. Finally after trial and error I found that setting up the URI as an LPD printer worked.
Code: Select all
lpd://192.168.0.6


I have no idea why the Canon rpms were not installing the pstocanonij file.
David_Batson
 
Posts: 128
Joined: May 1st, '11, 05:19

Canon PIXMA MG5150

Postby kamil » Aug 23rd, '11, 09:01

I have the same problem with my printer PIXMA MG5150

I have compiled my driver (after manual fixings an error in a translation file):
Code: Select all
$rpmbuild -tb cnijfilter-source-3.40-1.tar.gz --define="MODEL mg5100" --define="MODEL_NUM 373" --with build_common_package


Here is the build log http://pastebin.com/9q54KVr9

Code: Select all
$ rpm -qlp cnijfilter-common-3.40-1.x86_64.rpm
/usr/lib/cups/backend/cnijnet
/usr/lib/cups/backend/cnijusb
/usr/lib/cups/filter/pstocanonij
/usr/lib64/bjlib/cnnet.ini
/usr/lib64/cups/backend/cnijnet
/usr/lib64/cups/backend/cnijusb
/usr/lib64/cups/filter/pstocanonij
/usr/lib64/libcnnet.so
/usr/lib64/libcnnet.so.1.2.0
/usr/local/bin/cngpij
/usr/local/bin/cnijnetprn
/usr/local/bin/cnijnpr
/usr/share/doc/cnijfilter-common
/usr/share/doc/cnijfilter-common/LICENSE-cnijfilter-3.40EN.txt
/usr/share/doc/cnijfilter-common/LICENSE-cnijfilter-3.40FR.txt
/usr/share/doc/cnijfilter-common/LICENSE-cnijfilter-3.40JP.txt
/usr/share/doc/cnijfilter-common/LICENSE-cnijfilter-3.40SC.txt


And now the rpm doesn't installl files at least in the /usr/lib64/cups
Please help.
kamil
 
Posts: 5
Joined: Aug 14th, '11, 20:45

Re: Canon PIXMA MG8120

Postby nash30 » Apr 10th, '12, 10:25

any updates for solutions on this issue??
nash30
 
Posts: 9
Joined: Oct 8th, '11, 09:30

Re: Canon PIXMA MG8120

Postby Ken-Bergen » Apr 10th, '12, 10:42

nash30 wrote:any updates for solutions on this issue??
Unless one of those who are affected files a bug report it's doubtful it will be fixed. :shock:
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Canon PIXMA MG8120

Postby doktor5000 » Apr 10th, '12, 23:31

Well, those printers should be supported by gutenprint drivers, just look at http://sourceforge.net/projects/gimp-pr ... 5.2/5.2.7/
No need for canons cnijfilter driver.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon PIXMA MG8120

Postby David_Batson » Sep 30th, '13, 21:50

I just tried the Gutenprint drivers in Mageai 3 for my Canon MG8120. Used the CUPS+Gutenprint v5.2.9 8100 series driver.

Basically I had to install "task-printing-canon".
Here is the full list of printer files I have installed:
Code: Select all
[root@localhost ~]# rpm -qa *print*
gutenprint-cups-5.2.9-2.mga3
lib64gutenprint2-5.2.9-2.mga3
system-config-printer-libs-1.3.12-6.mga3
gutenprint-common-5.2.9-2.mga3
kipi-plugins-printimages-3.1.0-2.mga3
task-printing-misc-2011-2.mga3
gutenprint-ijs-5.2.9-2.mga3
gutenprint-foomatic-5.2.9-2.mga3
lib64kprintutils4-4.10.5-1.1.mga3
task-printing-server-2011-2.mga3
task-printing-canon-2011-2.mga3
printer-testpages-2006-8.mga3
printer-tools-2008-9.mga3
system-config-printer-udev-1.3.12-6.mga3
task-printing-hp-2011-2.mga3
system-config-printer-1.3.12-6.mga3
lib64chromaprint0-0.7-6.mga3


I used the following for my network URI: lpd://192.168.0.5/LPT1

Found that changing default settings from RGB to CMYK results in much better output.

EDIT: Got the scanner working with XScanImage. Had to open the firewall ports "8610:8614/tcp 8610:8614/udp".
David_Batson
 
Posts: 128
Joined: May 1st, '11, 05:19


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest