Package Details: cnijfilter2 6.30-1

Git Clone URL: (read-only, click to copy)
Package Base: cnijfilter2
Description: Canon IJ Printer Driver for Linux
Upstream URL:
Keywords: Canon Driver Printer
Licenses: GPL, custom:canon
Conflicts: cnijfilter, cnijfilter-mg3600
Provides: cnijlgmon3, tocanonij, tocnpwg
Submitter: iAndrewT
Maintainer: unit73e
Last Packager: unit73e
Votes: 32
Popularity: 0.42
First Submitted: 2016-12-22 12:46 (UTC)
Last Updated: 2022-01-02 21:24 (UTC)

Latest Comments

TuxThePenguin76 commented on 2022-03-22 16:27 (UTC)

Now fixed with an update to glibc

TuxThePenguin76 commented on 2022-03-11 12:51 (UTC)

I'm getting segfaults in cnijlgmon3 against glibc 2.35-2 on kernel 5.16.13-zen1-1-zen Is anyone else encountering issues?

unit73e commented on 2022-01-02 21:24 (UTC) (edited on 2022-01-02 21:24 (UTC) by unit73e)

@mikex thanks. Updated to 6.30.

mikex commented on 2021-12-16 00:30 (UTC)

Hello, version 6.30

unit73e commented on 2021-11-21 18:47 (UTC)

@ruahcra thanks. Updated and tested. I had to reconfigure my printer with

@mikex apparently the link was moved somewhere else. I haven't figured out the offical link for these source files though.

@derieck updated the conflicts. Not sure how many conflict but at least these two are covered.

mikex commented on 2021-11-21 02:24 (UTC)

@unit73e didn't realize that was a temporary dl link sorry. Thanks for becoming maintainer.

ruahcra commented on 2021-11-20 23:18 (UTC)

unit73e commented on 2021-11-20 22:45 (UTC)

@mikex not sure were you got 6.20 but it doesn't seem to exist anymore.

unit73e commented on 2021-11-20 22:28 (UTC)

Still have a canon printer. I will maintain the package.

zerophase commented on 2021-11-20 02:51 (UTC)

No longer have this printer. If someone wants to adopt the package they're welcome to.

mikex commented on 2021-11-20 00:10 (UTC)

dreieck commented on 2021-10-26 15:01 (UTC)

cnijfilter and cnijfilter2-mg3600 conflict:

error: failed to commit transaction (conflicting files)
cnijfilter2: /usr/bin/cnijlgmon3 exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/bin/tocanonij exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/bin/tocnpwg exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/lib/bjlib2/cnnet.ini exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/lib/cups/backend/cnijbe2 exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/lib/cups/filter/cmdtocanonij2 exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/lib/cups/filter/rastertocanonij exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/lib/ exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/cmdtocanonij2/autoalign.utl exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/cmdtocanonij2/cleaning.utl exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/cmdtocanonij2/nozzlecheck.utl exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/cnijlgmon3/cnb_cnijlgmon2.res exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/locale/de/LC_MESSAGES/ exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/locale/fr/LC_MESSAGES/ exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/locale/ja/LC_MESSAGES/ exists in filesystem (owned by cnijfilter2-mg3600)
cnijfilter2: /usr/share/locale/zh/LC_MESSAGES/ exists in filesystem (owned by cnijfilter2-mg3600)
Errors occurred, no packages were upgraded.

Please add appropriate conflicts-entries (e.g. by conflicting agains cnijfilter-common and also adding it to provides?)

Thanks for maintaining!

jfk commented on 2021-09-15 12:29 (UTC)


Thanks for the tip. I'll try that.

blufinney commented on 2021-09-13 18:18 (UTC)


I had the same issue with my old MG6120, it was annoying and only happened with my Linux boxes (using this driver) and not Windows.

When I upgraded my printer to a G6020 I used the CUPS IPP Everywhere functionality. It works great and exhibits none of the issues this driver had in my experience.

I believe the IPP Everywhere functionality will work with your G7050.

jfk commented on 2021-09-11 12:24 (UTC) (edited on 2021-09-11 12:26 (UTC) by jfk)

I use this with my G7050. But sometimes, especially when I shut down and restart the printer while my Gnome session runs, it won't print: the task goes to the queue, the printer seems to receive the order as it starts cleaning but the printing itself doesn't start. I have to disconnect the electrical plug in order to do (I guess) some kind of resetting and then it works again. This is quite annoying. Is anyone else experiencing this behavior? (It's connected through ipp).

andryandrew commented on 2021-08-17 10:49 (UTC)

I can confirm my Canon Pixma G3560 works with the G3060 series PPD included in this package. USB printing worked straight away; in order to print wirelessly, I had to add it as a direct socket connection. Any other network option (IPP via DNS-SD) did discover the printer but the jobs could never print.

SanskritFritz commented on 2021-04-23 20:30 (UTC) (edited on 2021-04-23 20:31 (UTC) by SanskritFritz)

According to the ppd folder in the package, yes. Yes, I mean the keywords. But that could be strange, I know.

zerophase commented on 2021-04-22 22:46 (UTC)

@sanskritfritz you mean the keywords? You sure all those printers work with this version?

zerophase commented on 2021-04-22 22:44 (UTC)

Switched to https. Didn't update the release version so people already installed don't need to install again.

TuxThePenguin76 commented on 2021-04-22 14:40 (UTC)

a172 - Its the URL I extracted from the cannon website serving the request. I didn't think to try the https version.

a172 commented on 2021-04-22 13:41 (UTC)

Any reason in particular the source link went from https to http? The https link seems to work fine with 6.10.

SanskritFritz commented on 2020-11-02 13:20 (UTC)

An idea: update the tag list with the following: "E200 E300 E3100 E3300 E4200 E450 E470 E480 G3000 G3010 G4000 G4010 G5000 G5080 G6000 G6080 G7000 G7080 GM2000 GM2080 GM4000 GM4080 iB4000 iB4100 iP110 MB2000 MB2100 MB2300 MB2700 MB5000 MB5100 MB5300 MB5400 MG2900 MG3000 MG3600 MG5600 MG5700 MG6600 MG6700 MG6800 MG6900 MG7500 MG7700 MX490 TR4500 TR703 TR7500 TR7530 TR8500 TR8530 TR8580 TR9530 TS200 TS300 TS3100 TS3300 TS5000 TS5100 TS5300 TS5380 TS6000 TS6100 TS6130 TS6180 TS6200 TS6230 TS6280 TS6300 TS6330 TS6380 TS700 TS708 TS7330 TS8000 TS8100 TS8130 TS8180 TS8200 TS8230 TS8280 TS8300 TS8330 TS8380 TS9000 TS9100 TS9180 TS9500 TS9580 XK50 XK60 XK70 XK80" so a search for those printers would find this package?

zerophase commented on 2020-07-22 19:34 (UTC) (edited on 2020-07-22 19:36 (UTC) by zerophase)

@depau yeah, I'll update it. What is the issue you're trying to fix. I'm guessing adding -fcommon to the CFLAGS is the right solution.

Depau commented on 2020-07-22 11:20 (UTC)

@zerophase can you please update the package to implement the patch suggested below or something equivalent?

Thank you

Amethyste69 commented on 2020-06-22 15:44 (UTC)

@daviddoan Works fine ! Many thanks for your help

daviddoan commented on 2020-06-20 02:30 (UTC) (edited on 2020-06-20 02:31 (UTC) by daviddoan)

I added "sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c'" to PKGBUILD as follows and it worked

build() { cd "$pkgname-source-$pkgver-1" sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c' pushd cmdtocanonij2

Amethyste69 commented on 2020-06-19 20:08 (UTC)

Got the same problem than Jochidd here. Don't understand severach idea with sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c' Anybody can explain please ? Many thanks.

severach commented on 2020-05-28 06:26 (UTC)

sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c'

Adding -fcommon to CFLAGS will also work but I couldn't figure out where to put it.

blufinney commented on 2020-05-28 06:08 (UTC)

@jochidd - I get the same linker error. How did you fix it?

jochidd commented on 2020-05-23 11:23 (UTC)

I needed to fix the following linker error manually (extern declaration):

libtool: link: gcc -O2 -Wall -I/usr/include/libusb-1.0 -I./common -I/usr/include/libxml2 -o cnijlgmon3 cnijcomif.o cnijifusb.o cnijlgmon3.o cnijifnet.o keytext.o cnijifnet2.o cnijutil.o -L../../com/libs_bin64 -ldl -lusb-1.0 -lcnnet2 -lxml2 -lcnbpcnclapicom2 -lcnbpnet30 -lcups /usr/bin/ld: cnijifnet2.o:(.bss+0x0): multiple definition of `GET_PROTOCOL'; cnijlgmon3.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:402: cnijlgmon3] Fehler 1

Otherwise works nicely. Tested with Canon Pixma TS6350 (scanning + printing).

zerophase commented on 2019-12-19 04:40 (UTC)

Sorry, I'm back to updating. I can add a co-maintainer to help keep this package up to date.

tschertel commented on 2019-12-18 16:49 (UTC)

Any chance to see this package updated?? Is it time to orphan it?

KI9N commented on 2019-11-29 13:22 (UTC)

I found cnijfilter2 version 5.90: I built it on my system using the same PKGBUILD without issues.

Redrield commented on 2018-10-10 23:38 (UTC)

A dependency on ghostscript should be specified, as the -bin version of this package has. My Canon MG2920 failed to print because I had removed Ghostscript (transient dependency of another driver) when I installed this.

livix commented on 2018-09-23 16:50 (UTC)

I've found version 5.70 at

anne commented on 2018-07-07 01:24 (UTC)

So close and yet so far! I can makepkg and install this (though there are compilation warnings), and CUPS now finds my printers as (e.g.) "cnijbe2://Canon/?port=usb&serial=123456" instead of just "usb://Canon/G2000%20series?serial=123456&interface=1", but nothing happens when I try print the CUPS test page to the "cnijbe2:" version of the printer; systemd logs "Started Process Core Dump". Invoking "cnijlgmon3" causes this to be shown:

direct cnijbe2://Canon/?port=usb&serial=123456 "Canon G2000 series" "USB Printer #1 with status readback for Canon IJ"

but nothing happens, and the exit status is 2. There are no manpages, and I'm at a loss as to how to debug this. I'm a decent sysadmin but definitely no C programmer. Is this software known to work on a 64-bit machine?

(The "standard" (Gutenprint?) driver and PPD file work, but the photo colours are dull.)

prurigro commented on 2018-05-16 03:27 (UTC)

@zerophase: I'm getting it in the print dialog under "status" -- maybe it's only required/used by certain printers? I have a canon TR8520.

zerophase commented on 2018-04-24 16:50 (UTC)

@prurigro When are you getting that error? I'll add cmdtocanonij3 to the package, but I'm not having any issues with printing currently.

prurigro commented on 2018-04-24 02:21 (UTC)

I'm getting the following error: File "/usr/lib/cups/filter/cmdtocanonij3" not available: No such file or directory

It's caused because a new part of the upstream isn't included in the package, and it's resolved by adding cmdtocanonij3 equivalents to each occurrence of cmdtocanonij2, as in the following PKGBUILD update:

Thanks for the package!

zerophase commented on 2018-03-15 06:34 (UTC)

Let me see if the new version works with my printer. If it doesn't I'll pass ownership to whoever needs the current driver.

reenen commented on 2018-02-04 22:37 (UTC)

Appears to work fine with the Canon PIXMA G4200 inktank printer. Installed package, start CUPS, add printer from http://localhost:631/

boina commented on 2017-07-05 08:03 (UTC)

Sigo el ejemplo de blx. Muchas gracias!!!! Finalmente puedo imprimir!!! Following the example of blx. Thanks a lot for this package!!! I'm finally printing!!

blx32 commented on 2017-06-08 17:01 (UTC)

Eu quero agradecer em meu idioma e em inglês. Somente com esse pacote eu fui capaz de imprimir com a Canon G3100 Series. Muito obrigado! I want to thank you in my language and in English. Only with this package I was able to print with the Canon G3100 Series. Thank you very much!

zerophase commented on 2017-05-25 10:18 (UTC)

No problem.

d-sha commented on 2017-05-24 07:31 (UTC)

Great work, Thanks! I now have my Canon mg2900 series printer working. Cheers

zerophase commented on 2017-04-04 01:16 (UTC)

I have the PKGBUILD updated for version 5.40. Would you be interested in it?