Package Details: cnijfilter-mp250 3.40.1-5.1

Git Clone URL: https://aur.archlinux.org/cnijfilter-mp250.git (read-only, click to copy)
Package Base: cnijfilter-mp250
Description: Canon IJ Printer Driver (MP250 series)
Upstream URL: http://support-au.canon.com.au/contents/AU/EN/0100302002.html
Licenses: custom
Conflicts: cnijfilter-common
Submitter: LunaSquee
Maintainer: None
Last Packager: LunaSquee
Votes: 2
Popularity: 0.000000
First Submitted: 2017-02-26 12:27 (UTC)
Last Updated: 2017-02-26 12:33 (UTC)

Latest Comments

lucas.oliveira commented on 2022-04-09 11:27 (UTC) (edited on 2022-04-09 11:28 (UTC) by lucas.oliveira)

An alternative to install Canon MP 250 in Arch is using:

pacman -S gutenprint cups system-config-printer

and installing the driver in software gui, with the printer connected.

PowaBanga commented on 2021-02-21 13:51 (UTC) (edited on 2021-05-13 15:58 (UTC) by PowaBanga)

same error that allencch for me... does anybody found how to fix that ?

[edit] fixed by adding this in prepare

  sed -i 's/char                   \*pPrinter = NULL;                      \/\/ Pointer to printer name\./const char               \*pPrinter = NULL;                      \/\/ Pointer to printer name\./g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/char            \*pDUri = NULL;             \/\/ Pointer to Device uri\./const char     \*pDUri = NULL;             \/\/ Pointer to Device uri\./g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pRequest->request\.op\.operation_id = CUPS_GET_PRINTERS;/ippSetOperation(pRequest, CUPS_GET_PRINTERS);/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pRequest->request\.op\.request_id   = 1;/ippSetRequestId(pRequest, 1);/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/if (pResponse->request\.status\.status_code > IPP_OK_CONFLICT) {/if (ippGetStatusCode(pResponse) > IPP_OK_CONFLICT) {/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pAttribute = pResponse->attrs;/pAttribute = ippFirstAttribute(pResponse);/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pAttribute->group_tag/ippGetGroupTag(pAttribute)/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pAttribute = pAttribute->next;/pAttribute = ippNextAttribute(pResponse);/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/strcmp(pAttribute->name/strcmp(ippGetName(pAttribute)/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pAttribute->value_tag/ippGetValueTag(pAttribute)/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pPrinter = pAttribute->values\[0\]\.string\.text;/pPrinter = ippGetString(pAttribute, 0, NULL);/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/pDUri = pAttribute->values\[0\]\.string\.text;/pDUri = ippGetString(pAttribute, 0, NULL);/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/bjcups.c
  sed -i 's/size_t len;/socklen_t len;/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij/cngpij/getipc.c
  sed -i 's/sys\/sysctl.h/linux\/sysctl.h/g' ${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpijmon/cnijnpr/cnijnpr/cnijnpr.c

https://bbs.archlinux.org/viewtopic.php?pid=1972506#p1972506

tool666schism commented on 2020-07-09 17:05 (UTC)

Same error as @allencch. Doesn't look like this is being maintained.

archetypalsxe commented on 2020-04-14 19:53 (UTC)

Having the same issue as allencch.... since his comment is over two months old, might be rolling up my sleeves and trying to resolve this myself

allencch commented on 2020-01-26 14:12 (UTC)

Having error when building

bjcups.c:692:11: error: dereferencing pointer to incomplete type ‘ipp_t’ {aka ‘struct _ipp_s’}
  692 |   pRequest->request.op.operation_id = CUPS_GET_PRINTERS;
      |           ^~
bjcups.c:710:45: error: dereferencing pointer to incomplete type ‘ipp_attribute_t’ {aka ‘struct _ipp_attribute_s’}
  710 |      while (pAttribute != NULL && pAttribute->group_tag != IPP_TAG_PRINTER) {

Can help on this?