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.