Package Details: cnijfilter-mg6200 3.60-5

Git Clone URL: (read-only, click to copy)
Package Base: cnijfilter-mg6200
Description: Canon IJ Printer Driver (for mg6200 series)
Upstream URL:
Licenses: custom
Submitter: Lopo
Maintainer: Lopo
Last Packager: Lopo
Votes: 7
Popularity: 0.000000
First Submitted: 2012-03-07 10:13 (UTC)
Last Updated: 2022-05-01 14:00 (UTC)

Latest Comments

eho commented on 2020-12-10 23:02 (UTC)


I could fix the compile simply by replacing <sys/sysctl.h> with <unistd.h> in cngpijmon/cnijnpr/cnijnpr/cnijnpr.c The driver seems to work fine after that, the printer was autodetected and the test page printed correctly. I only tried on 5.9 kernel though, with an MG6250 over ethernet.

Lopo commented on 2020-11-27 05:59 (UTC)

yeah, I know. But that's not reason to mark package as out of date. That's not my problem ...

Fixing is nothing easy, as it's kernel dependency thing (or I can just set dependency on old kernel)

Airon90 commented on 2020-11-20 11:03 (UTC)

It seems that I cannot compile this package, as it relies on <sys/sysctl.h> library, which has been removed since Linux 5.5 as far as I can find on internet.

neTpK commented on 2013-12-14 23:16 (UTC)

Hi, this also works fine with Canon MG4100-series (or atleast mg4150) if the line "_model=mg6200" is replaced with "mg4100" in the PKGBUILD.

Lopo commented on 2013-06-17 07:52 (UTC)

hi DaveCode, My printer is connected through wifi and Device URI is cnijnet:/XX-XX-XX-XX-XX-XX where XX... is MAC of printer Never got any problem

DaveCode commented on 2013-06-15 10:08 (UTC)

Lopo, thank you so very much for this package. What's the printer URI? I know the IP addy, enabled LPD on board, and see the built-in web page from my browser when I use the IP addy. Yet CUPS can't get a print job over. Some discussions say Canon uses nonstandard protocols with odd URI prefixes like cnij:// but I don't quite get it. Have you any ideas? Thanks.

fhs commented on 2013-04-01 20:53 (UTC)

Needs to run ldconfig, otherwise you get this in cups debug error log: /usr/bin/cifmg6200: symbol lookup error: /usr/lib/ undefined symbol: BJESInitiate

Lopo commented on 2012-09-08 15:06 (UTC)

@jay7 thanks, updated

jay7 commented on 2012-08-13 21:02 (UTC)

Build was failed with following error: gcc -DHAVE_CONFIG_H -I. -I.. -DUSE_LIB_GLASE -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -O2 -Wall -MT bjcupsmon_cups.o -MD -MP -MF .deps/bjcupsmon_cups.Tpo -c -o bjcupsmon_cups.o bjcupsmon_cups.c bjcupsmon_cups.c: In function 'checkPrinterState': bjcupsmon_cups.c:218:11: error: dereferencing pointer to incomplete type I've found solution in comment here: Please update cups.patch to following: diff -aur cnijfilter-source-3.60-1.orig/backend/src/cnij_backend_common.c cnijfilter-source-3.60-1/backend/src/cnij_backend_common.c --- cnijfilter-source-3.60-1.orig/backend/src/cnij_backend_common.c 2011-02-14 10:27:08.000000000 +0300 +++ cnijfilter-source-3.60-1/backend/src/cnij_backend_common.c 2012-08-14 00:56:52.770280251 +0400 @@ -38,6 +38,7 @@ // CUPS Header #include <cups/cups.h> #include <cups/ipp.h> +#include <cups/ppd.h> // Header file for CANON #include "cnij_backend_common.h" diff -aur cnijfilter-source-3.60-1.orig/cngpij/cngpij/bjcups.c cnijfilter-source-3.60-1/cngpij/cngpij/bjcups.c --- cnijfilter-source-3.60-1.orig/cngpij/cngpij/bjcups.c 2011-03-22 12:57:29.000000000 +0300 +++ cnijfilter-source-3.60-1/cngpij/cngpij/bjcups.c 2012-08-14 00:57:42.568463402 +0400 @@ -21,6 +21,7 @@ #include <config.h> #endif // HAVE_CONFIG_H +#define _IPP_PRIVATE_STRUCTURES 1 #include <cups/cups.h> #include <cups/language.h> #include <cups/ppd.h> diff -aur cnijfilter-source-3.60-1.orig/cngpijmon/src/bjcupsmon_cups.c cnijfilter-source-3.60-1/cngpijmon/src/bjcupsmon_cups.c --- cnijfilter-source-3.60-1.orig/cngpijmon/src/bjcupsmon_cups.c 2011-03-01 08:52:18.000000000 +0300 +++ cnijfilter-source-3.60-1/cngpijmon/src/bjcupsmon_cups.c 2012-08-14 00:58:02.791059278 +0400 @@ -18,8 +18,10 @@ */ /*** Includes ***/ +#define _IPP_PRIVATE_STRUCTURES 1 #include <cups/cups.h> #include <cups/language.h> +#include <cups/ppd.h> #include <sys/types.h> #include <unistd.h> #include <pwd.h>