You are not logged in.

#1 2016-12-31 15:51:15

avery
Member
Registered: 2016-12-31
Posts: 8

Missing Print Filter Canon MG2200 series

Hello, I have a Canon MG2200 series printer.  Previously I had been able to print fine, but after a recent re-installation of Arch I get an error message telling me that I have a missing print filter.  I have the correct drivers and everything so I'm not sure what's wrong.  I debugged it and got this:

Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7f51083b1588>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.CheckLocalServerPublishing.CheckLocalServerPublishing object at 0x7f51083b1898>):
{'local_server_exporting_printers': False}
Page 3 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f51083b1160>):
{'cups_dest': <cups.Dest Canon-MG2200-series (default)>,
 'cups_instance': None,
 'cups_queue': 'Canon-MG2200-series',
 'cups_queue_listed': True}
Page 4 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f51083b1b38>):
{'cups_device_uri_scheme': 'usb',
 'cups_printer_dict': {'device-uri': 'usb://Canon/MG2200%20series?serial=217AFC&interface=1',
                       'printer-info': 'Canon MG2200 series',
                       'printer-is-shared': True,
                       'printer-location': 'localhost',
                       'printer-make-and-model': 'Canon MG2200 series Ver.3.80',
                       'printer-state': 3,
                       'printer-state-message': 'File '
                                                '"/usr/lib/cups/filter/pstocanonij" '
                                                'not available: No such file '
                                                'or directory',
                       'printer-state-reasons': ['cups-missing-filter-warning'],
                       'printer-type': 8556556,
                       'printer-uri-supported': 'ipp://localhost/printers/Canon-MG2200-series'},
 'cups_printer_remote': False,
 'is_cups_class': False,
 'local_cups_queue_attributes': {'charset-configured': 'utf-8',
                                 'charset-supported': ['us-ascii', 'utf-8'],
                                 'color-supported': True,
                                 'compression-supported': ['none', 'gzip'],
                                 'copies-default': 1,
                                 'copies-supported': (1, 9999),
                                 'cups-version': '2.2.1',
                                 'device-uri': 'usb://Canon/MG2200%20series?serial=217AFC&interface=1',
                                 'document-format-default': 'application/octet-stream',
                                 'document-format-supported': ['application/octet-stream',
                                                               'application/pdf',
                                                               'application/postscript',
                                                               'application/vnd.adobe-reader-postscript',
                                                               'application/vnd.cups-command',
                                                               'application/vnd.cups-pdf',
                                                               'application/vnd.cups-pdf-banner',
                                                               'application/vnd.cups-postscript',
                                                               'application/vnd.cups-raster',
                                                               'application/vnd.cups-raw',
                                                               'application/x-cshell',
                                                               'application/x-csource',
                                                               'application/x-perl',
                                                               'application/x-shell',
                                                               'image/gif',
                                                               'image/jpeg',
                                                               'image/png',
                                                               'image/pwg-raster',
                                                               'image/tiff',
                                                               'image/urf',
                                                               'image/x-bitmap',
                                                               'image/x-photocd',
                                                               'image/x-portable-anymap',
                                                               'image/x-portable-bitmap',
                                                               'image/x-portable-graymap',
                                                               'image/x-portable-pixmap',
                                                               'image/x-sgi-rgb',
                                                               'image/x-sun-raster',
                                                               'image/x-xbitmap',
                                                               'image/x-xpixmap',
                                                               'image/x-xwindowdump',
                                                               'text/css',
                                                               'text/html',
                                                               'text/plain'],
                                 'finishings-default': 3,
                                 'finishings-supported': [3],
                                 'generated-natural-language-supported': ['en-us'],
                                 'ipp-features-supported': ['subscription-object'],
                                 'ipp-versions-supported': ['1.0',
                                                            '1.1',
                                                            '2.0',
                                                            '2.1'],
                                 'ippget-event-life': 15,
                                 'job-cancel-after-default': 10800,
                                 'job-cancel-after-supported': (0, 2147483647),
                                 'job-creation-attributes-supported': ['copies',
                                                                       'finishings',
                                                                       'ipp-attribute-fidelity',
                                                                       'job-hold-until',
                                                                       'job-name',
                                                                       'job-priority',
                                                                       'job-sheets',
                                                                       'media',
                                                                       'media-col',
                                                                       'multiple-document-handling',
                                                                       'number-up',
                                                                       'output-bin',
                                                                       'orientation-requested',
                                                                       'page-ranges',
                                                                       'print-color-mode',
                                                                       'print-quality',
                                                                       'printer-resolution',
                                                                       'sides'],
                                 'job-hold-until-default': 'no-hold',
                                 'job-hold-until-supported': ['no-hold',
                                                              'indefinite',
                                                              'day-time',
                                                              'evening',
                                                              'night',
                                                              'second-shift',
                                                              'third-shift',
                                                              'weekend'],
                                 'job-ids-supported': True,
                                 'job-k-limit': 0,
                                 'job-k-octets-supported': (0, 15350768),
                                 'job-page-limit': 0,
                                 'job-priority-default': 50,
                                 'job-priority-supported': [100],
                                 'job-quota-period': 0,
                                 'job-settable-attributes-supported': ['copies',
                                                                       'finishings',
                                                                       'job-hold-until',
                                                                       'job-name',
                                                                       'job-priority',
                                                                       'media',
                                                                       'media-col',
                                                                       'multiple-document-handling',
                                                                       'number-up',
                                                                       'output-bin',
                                                                       'orientation-requested',
                                                                       'page-ranges',
                                                                       'print-color-mode',
                                                                       'print-quality',
                                                                       'printer-resolution',
                                                                       'sides'],
                                 'job-sheets-default': ('none', 'none'),
                                 'job-sheets-supported': ['none',
                                                          'classified',
                                                          'confidential',
                                                          'form',
                                                          'secret',
                                                          'standard',
                                                          'topsecret',
                                                          'unclassified'],
                                 'jpeg-k-octets-supported': (0, 15350768),
                                 'jpeg-x-dimension-supported': (0, 65535),
                                 'jpeg-y-dimension-supported': (1, 65535),
                                 'marker-change-time': 0,
                                 'media-bottom-margin-supported': [500,
                                                                   0,
                                                                   3250],
                                 'media-col-default': '(unknown IPP value tag '
                                                      '0x34)',
                                 'media-col-supported': ['media-bottom-margin',
                                                         'media-left-margin',
                                                         'media-right-margin',
                                                         'media-size',
                                                         'media-source',
                                                         'media-top-margin',
                                                         'media-type'],
                                 'media-default': 'iso_a4_210x297mm',
                                 'media-left-margin-supported': [640,
                                                                 0,
                                                                 340,
                                                                 560],
                                 'media-right-margin-supported': [630,
                                                                  35,
                                                                  357,
                                                                  330,
                                                                  343,
                                                                  340,
                                                                  323,
                                                                  561,
                                                                  567,
                                                                  573],
                                 'media-size-supported': ['(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)'],
                                 'media-source-supported': ['front2'],
                                 'media-supported': ['na_letter_8.5x11in',
                                                     'om_letter-bl_216.25x279.75mm',
                                                     'na_legal_8.5x14in',
                                                     'iso_a5_148x210mm',
                                                     'iso_a4_210x297mm',
                                                     'om_a-4-bl_210.26x297.39mm',
                                                     'jis_b5_182x257mm',
                                                     'oe_4-x-6_4x6in',
                                                     'om_4-x-6-bl_101.95x152.75mm',
                                                     'oe_5-x-7_5x7in',
                                                     'om_5-x-7-bl_127.35x178.15mm',
                                                     'oe_8-x-10_8x10in',
                                                     'om_8-x-10-bl_203.55x254.35mm',
                                                     'oe_l_3.5x5in',
                                                     'om_l-bl_89.25x127.35mm',
                                                     'om_2l_127x178.15mm',
                                                     'om_2l-bl_127.35x178.51mm',
                                                     'om_postcard_99.84x148.17mm',
                                                     'om_postcard-bl_100.19x148.52mm',
                                                     'om_postdbl_200.03x148.17mm',
                                                     'om_envelop10p_104.78x241.3mm',
                                                     'om_envelopdlp_110.07x220.13mm',
                                                     'om_envj4p_105.13x234.95mm',
                                                     'om_envj6p_98.07x190.15mm',
                                                     'custom_min_89x127mm',
                                                     'custom_max_215.9x676mm'],
                                 'media-top-margin-supported': [300,
                                                                35,
                                                                290,
                                                                304,
                                                                318,
                                                                315,
                                                                317,
                                                                800,
                                                                814,
                                                                795,
                                                                815],
                                 'media-type-supported': ['stationery',
                                                          'photographic-glossy',
                                                          'proplatinum',
                                                          'luster',
                                                          'semigloss',
                                                          'photographic-glossy',
                                                          'photographic-matte',
                                                          'envelope',
                                                          'postcardaddress',
                                                          'ijpostcard',
                                                          'photographic-glossy',
                                                          'postcard',
                                                          'highres',
                                                          'tshirt',
                                                          'otherphoto'],
                                 'multiple-document-handling-supported': ['separate-documents-uncollated-copies',
                                                                          'separate-documents-collated-copies'],
                                 'multiple-document-jobs-supported': True,
                                 'multiple-operation-time-out': 300,
                                 'multiple-operation-time-out-action': 'process-job',
                                 'natural-language-configured': 'en-us',
                                 'notify-attributes-supported': ['printer-state-change-time',
                                                                 'notify-lease-expiration-time',
                                                                 'notify-subscriber-user-name'],
                                 'notify-events-default': ['job-completed'],
                                 'notify-events-supported': ['job-completed',
                                                             'job-config-changed',
                                                             'job-created',
                                                             'job-progress',
                                                             'job-state-changed',
                                                             'job-stopped',
                                                             'printer-added',
                                                             'printer-changed',
                                                             'printer-config-changed',
                                                             'printer-deleted',
                                                             'printer-finishings-changed',
                                                             'printer-media-changed',
                                                             'printer-modified',
                                                             'printer-restarted',
                                                             'printer-shutdown',
                                                             'printer-state-changed',
                                                             'printer-stopped',
                                                             'server-audit',
                                                             'server-restarted',
                                                             'server-started',
                                                             'server-stopped'],
                                 'notify-lease-duration-default': 86400,
                                 'notify-lease-duration-supported': (0,
                                                                     2147483647),
                                 'notify-max-events-supported': [100],
                                 'notify-pull-method-supported': ['ippget'],
                                 'notify-schemes-supported': ['dbus',
                                                              'mailto',
                                                              'rss'],
                                 'number-up-default': 1,
                                 'number-up-supported': [1, 2, 4, 6, 9, 16],
                                 'operations-supported': [2,
                                                          4,
                                                          5,
                                                          6,
                                                          8,
                                                          9,
                                                          10,
                                                          11,
                                                          12,
                                                          13,
                                                          16,
                                                          17,
                                                          18,
                                                          19,
                                                          20,
                                                          21,
                                                          22,
                                                          23,
                                                          24,
                                                          25,
                                                          26,
                                                          27,
                                                          28,
                                                          34,
                                                          35,
                                                          37,
                                                          38,
                                                          56,
                                                          57,
                                                          59,
                                                          16385,
                                                          16386,
                                                          16387,
                                                          16388,
                                                          16389,
                                                          16390,
                                                          16391,
                                                          16392,
                                                          16393,
                                                          16394,
                                                          16395,
                                                          16396,
                                                          16397,
                                                          16398,
                                                          16399,
                                                          16423,
                                                          14],
                                 'orientation-requested-default': None,
                                 'orientation-requested-supported': [3,
                                                                     4,
                                                                     5,
                                                                     6],
                                 'output-bin-default': 'face-down',
                                 'output-bin-supported': ['face-down'],
                                 'page-ranges-supported': True,
                                 'pages-per-minute': 1,
                                 'pages-per-minute-color': 1,
                                 'pdf-k-octets-supported': (0, 15350768),
                                 'pdf-versions-supported': ['adobe-1.2',
                                                            'adobe-1.3',
                                                            'adobe-1.4',
                                                            'adobe-1.5',
                                                            'adobe-1.6',
                                                            'adobe-1.7',
                                                            'iso-19005-1_2005',
                                                            'iso-32000-1_2008',
                                                            'pwg-5102.3'],
                                 'pdl-override-supported': ['attempted'],
                                 'port-monitor': 'none',
                                 'port-monitor-supported': ['none'],
                                 'print-color-mode-default': 'color',
                                 'print-color-mode-supported': ['monochrome',
                                                                'color'],
                                 'print-quality-default': 4,
                                 'print-quality-supported': [4],
                                 'printer-commands': ['AutoConfigure',
                                                      'Clean',
                                                      'PrintSelfTestPage'],
                                 'printer-config-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-config-change-time': 1479701482,
                                 'printer-current-time': '(IPP_TAG_DATE)',
                                 'printer-dns-sd-name': None,
                                 'printer-error-policy': 'stop-printer',
                                 'printer-error-policy-supported': ['abort-job',
                                                                    'retry-current-job',
                                                                    'retry-job',
                                                                    'stop-printer'],
                                 'printer-geo-location': '(unknown IPP value '
                                                         'tag 0x12)',
                                 'printer-get-attributes-supported': ['document-format'],
                                 'printer-icons': 'http://localhost/icons/Canon-MG2200-series.png',
                                 'printer-info': 'Canon MG2200 series',
                                 'printer-is-accepting-jobs': True,
                                 'printer-is-shared': True,
                                 'printer-is-temporary': False,
                                 'printer-location': 'localhost',
                                 'printer-make-and-model': 'Canon MG2200 '
                                                           'series Ver.3.80',
                                 'printer-more-info': 'http://localhost/printers/Canon-MG2200-series',
                                 'printer-name': 'Canon-MG2200-series',
                                 'printer-op-policy': 'default',
                                 'printer-op-policy-supported': ['authenticated',
                                                                 'default'],
                                 'printer-organization': '',
                                 'printer-organizational-unit': '',
                                 'printer-resolution-default': (600, 600, 3),
                                 'printer-resolution-supported': [(600,
                                                                   600,
                                                                   3)],
                                 'printer-settable-attributes-supported': ['printer-geo-location',
                                                                           'printer-info',
                                                                           'printer-location',
                                                                           'printer-organization',
                                                                           'printer-organizational-unit'],
                                 'printer-state': 3,
                                 'printer-state-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-state-change-time': 1483198451,
                                 'printer-state-message': 'File '
                                                          '"/usr/lib/cups/filter/pstocanonij" '
                                                          'not available: No '
                                                          'such file or '
                                                          'directory',
                                 'printer-state-reasons': ['cups-missing-filter-warning'],
                                 'printer-type': 8556556,
                                 'printer-up-time': 1483198831,
                                 'printer-uri-supported': ['ipp://localhost/printers/Canon-MG2200-series'],
                                 'printer-uuid': 'urn:uuid:f1039f64-9a51-3117-5f7a-894903fd6b2f',
                                 'pwg-raster-document-resolution-supported': [(600,
                                                                               600,
                                                                               3)],
                                 'pwg-raster-document-type-supported': ['black_1',
                                                                        'sgray_8',
                                                                        'srgb_8'],
                                 'queued-job-count': 3,
                                 'server-is-sharing-printers': True,
                                 'sides-default': 'one-sided',
                                 'sides-supported': ['one-sided'],
                                 'uri-authentication-supported': ['requesting-user-name'],
                                 'uri-security-supported': ['none'],
                                 'which-jobs-supported': ['completed',
                                                          'not-completed',
                                                          'aborted',
                                                          'all',
                                                          'canceled',
                                                          'pending',
                                                          'pending-held',
                                                          'processing',
                                                          'processing-stopped']}}
Page 5 (<troubleshoot.CheckPPDSanity.CheckPPDSanity object at 0x7f51083b1b00>):
{'cups_printer_ppd_defaults': {'*CNBorderless': {'CNExtension': '2'},
                               '*CNColorAdjust': {'CNBalanceC': '0',
                                                  'CNBalanceM': '0',
                                                  'CNBalanceY': '0',
                                                  'CNContrast': '0',
                                                  'CNDensity': '0',
                                                  'CNGamma': '1.8'},
                               '*CNGeneral': {'CNInkCartridgeSettings': 'bkcolor',
                                              'ColorModel': 'rgb',
                                              'Resolution': '600dpi'},
                               '*CNMain': {'CNGrayscale': 'False',
                                           'CNQuality': '3',
                                           'InputSlot': 'front2',
                                           'MediaType': 'plain'},
                               '*CNPagesetup': {'PageRegion': 'A4',
                                                'PageSize': 'A4'}},
 'cups_printer_ppd_valid': True}
Page 6 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f51083b9748>):
{'printer_is_remote': False}
Page 7 (<troubleshoot.DeviceListed.DeviceListed object at 0x7f51083b9f28>):
{'cups_device_dict': {'device-class': 'direct',
                      'device-id': 'MFG:Canon;CMD:BJL,BJRaster3,BSCCe,IVEC,IVECPLI;MDL:MG2200 '
                                   'series;CLS:PRINTER;DES:Canon MG2200 '
                                   'series;VER:1.040;STA:10;FSI:00;HRI:2;MSI:AOFF,B240,DAT,E3,HFSF,JOFF,K21000700,LOFF;PDR:3;PSE:LWXB80221;CID:CA_BJR386_IJP;',
                      'device-info': 'Canon MG2200 series',
                      'device-make-and-model': 'Canon MG2200 series'}}
Page 8 (<troubleshoot.CheckUSBPermissions.CheckUSBPermissions object at 0x7f51083b9f98>):
{'getfacl_output': [('/dev/usb/lp2',
                     ['# file: dev/usb/lp2',
                      '# owner: root',
                      '# group: lp',
                      'user::rw-',
                      'group::rw-',
                      'other::---'])]}
Page 9 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f51083986a0>):
{'printer-state-message': 'File "/usr/lib/cups/filter/pstocanonij" not '
                          'available: No such file or directory',
 'printer-state-reasons': ['cups-missing-filter-warning']}
Page 10 (<troubleshoot.Locale.Locale object at 0x7f51083607f0>):
{'printer_page_size': 'A4',
 'system_locale_lang': 'en_US',
 'user_locale_ctype': None,
 'user_locale_messages': None}

Please help.

Last edited by avery (2017-01-01 04:01:58)

Offline

#2 2016-12-31 22:45:11

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: Missing Print Filter Canon MG2200 series

avery wrote:

Hello, I have a Canon MG2200 series printer.  Previously I had been able to print fine, but after a recent re-installation of Arch I get an error message telling me that I have a missing print filter.  I have the correct drivers and everything so I'm not sure what's wrong.

Which print drivers? Have you downloaded something from Canon or did you do the right thing and install the relevant package from the AUR?
This one for instance - https://aur.archlinux.org/packages/cano … 0-complete

BTW - please read the code of conduct for posting: you should edit your original post and put your output into code tags.

Offline

#3 2017-01-01 04:26:44

avery
Member
Registered: 2016-12-31
Posts: 8

Re: Missing Print Filter Canon MG2200 series

paulkerry wrote:
avery wrote:

Hello, I have a Canon MG2200 series printer.  Previously I had been able to print fine, but after a recent re-installation of Arch I get an error message telling me that I have a missing print filter.  I have the correct drivers and everything so I'm not sure what's wrong.

Which print drivers? Have you downloaded something from Canon or did you do the right thing and install the relevant package from the AUR?
This one for instance - https://aur.archlinux.org/packages/cano … 0-complete

BTW - please read the code of conduct for posting: you should edit your original post and put your output into code tags.

Thank you for the information.  I had originally installed this through drivers I downloaded through canon but now I've installed the package you mentioned.  Nothing prints now, though.  However, when I go to register my printer with lpadmin I get this.

lpadmin: File device URIs have been disabled. To enable, see the FileDevice directive in "/etc/cups/cups-files.conf".

I unmarked FileDevice and changed the tag to Yes but still nothing prints.

Offline

#4 2017-01-01 19:27:29

pypi
Wiki Maintainer
Registered: 2014-04-22
Posts: 250

Re: Missing Print Filter Canon MG2200 series

It looks like the AUR package does not install the filter. However, you could also install cnijfilter-common from AUR which should provide the missing file.

Offline

#5 2017-01-01 20:13:42

avery
Member
Registered: 2016-12-31
Posts: 8

Re: Missing Print Filter Canon MG2200 series

pypi wrote:

It looks like the AUR package does not install the filter. However, you could also install cnijfilter-common from AUR which should provide the missing file.

I tried that but during the install it says:

error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'etc/udev/rules.d/81-canonij_prn.rules'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cngpij'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cngpijmnt'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cnijnetprn'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cnijnpr'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/bjlib/cnnet.ini'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/backend/cnijnet'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/backend/cnijusb'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/filter/pstocanonij'

I think this is what I did in my first install.
Thanks for all of the help, though wink.

Offline

#6 2017-01-01 22:22:43

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: Missing Print Filter Canon MG2200 series

A little confused here as your last output @avery has...

error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/filter/pstocanonij'

so the filter has been installed by canon-pixma-mg2200-complete otherwise trying to install cnijfilter-common wouldn't want to replace it.


After you installed canon-pixma-mg2200-complete, did you try to add your printer using http://localhost:631 as you mention "when I go to register my printer with lpadmin..." but not the actual commands that you did use.

Offline

#7 2017-01-02 00:00:23

avery
Member
Registered: 2016-12-31
Posts: 8

Re: Missing Print Filter Canon MG2200 series

paulkerry wrote:

A little confused here as your last output @avery has...

error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/filter/pstocanonij'

so the filter has been installed by canon-pixma-mg2200-complete otherwise trying to install cnijfilter-common wouldn't want to replace it.


After you installed canon-pixma-mg2200-complete, did you try to add your printer using http://localhost:631 as you mention "when I go to register my printer with lpadmin..." but not the actual commands that you did use.

sudo lpadmin -p MG2200 -m canonmg2200.ppd -v /dev/usb/lp2 -E

I think that's what I meant.
The filter was installed by canon-pixma-mg2200-complete but it won't print anything.

Offline

#8 2017-01-02 06:35:04

pypi
Wiki Maintainer
Registered: 2014-04-22
Posts: 250

Re: Missing Print Filter Canon MG2200 series

avery wrote:
pypi wrote:

It looks like the AUR package does not install the filter. However, you could also install cnijfilter-common from AUR which should provide the missing file.

I tried that but during the install it says:

error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'etc/udev/rules.d/81-canonij_prn.rules'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cngpij'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cngpijmnt'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cnijnetprn'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cnijnpr'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/bjlib/cnnet.ini'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/backend/cnijnet'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/backend/cnijusb'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/filter/pstocanonij'

I think this is what I did in my first install.
Thanks for all of the help, though wink.

Ah - it looks like I misinterpreted the error message. What is the output of

# ldd /usr/lib/cups/filter/pstocanonij

It might need an old version of some library - most should be packaged in the AUR.

Offline

#9 2017-01-02 15:25:26

avery
Member
Registered: 2016-12-31
Posts: 8

Re: Missing Print Filter Canon MG2200 series

pypi wrote:
avery wrote:
pypi wrote:

It looks like the AUR package does not install the filter. However, you could also install cnijfilter-common from AUR which should provide the missing file.

I tried that but during the install it says:

error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'etc/udev/rules.d/81-canonij_prn.rules'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cngpij'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cngpijmnt'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cnijnetprn'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/bin/cnijnpr'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/bjlib/cnnet.ini'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/backend/cnijnet'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/backend/cnijusb'
error: file owned by 'canon-pixma-mg2200-complete' and 'cnijfilter-common': 'usr/lib/cups/filter/pstocanonij'

I think this is what I did in my first install.
Thanks for all of the help, though wink.

Ah - it looks like I misinterpreted the error message. What is the output of

# ldd /usr/lib/cups/filter/pstocanonij

It might need an old version of some library - most should be packaged in the AUR.

	linux-gate.so.1 (0xf77a9000)
	libcups.so.2 => /usr/lib32/libcups.so.2 (0xf76e7000)
	libc.so.6 => /usr/lib32/libc.so.6 (0xf752e000)
	libgnutls.so.30 => /usr/lib32/libgnutls.so.30 (0xf73d0000)
	libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf73b3000)
	libm.so.6 => /usr/lib32/libm.so.6 (0xf735e000)
	libcrypt.so.1 => /usr/lib32/libcrypt.so.1 (0xf732c000)
	libz.so.1 => /usr/lib32/libz.so.1 (0xf7315000)
	/lib/ld-linux.so.2 (0xf77ab000)
	libp11-kit.so.0 => /usr/lib32/libp11-kit.so.0 (0xf72b3000)
	libidn.so.11 => /usr/lib32/libidn.so.11 (0xf727f000)
	libtasn1.so.6 => /usr/lib32/libtasn1.so.6 (0xf726a000)
	libnettle.so.6 => /usr/lib32/libnettle.so.6 (0xf722a000)
	libhogweed.so.4 => /usr/lib32/libhogweed.so.4 (0xf71f4000)
	libgmp.so.10 => /usr/lib32/libgmp.so.10 (0xf716a000)
	libffi.so.6 => /usr/lib32/libffi.so.6 (0xf7161000)
	libdl.so.2 => /usr/lib32/libdl.so.2 (0xf715c000)

Offline

#10 2017-01-02 17:48:09

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: Missing Print Filter Canon MG2200 series

avery wrote:

sudo lpadmin -p MG2200 -m canonmg2200.ppd -v /dev/usb/lp2 -E

Why "-v /dev/usb/lp2" when earlier you said your debug produced...

avery wrote:

'cups_printer_dict': {'device-uri': 'usb://Canon/MG2200%20series?serial=217AFC&interface=1',

Offline

#11 2017-01-03 00:44:55

avery
Member
Registered: 2016-12-31
Posts: 8

Re: Missing Print Filter Canon MG2200 series

paulkerry wrote:
avery wrote:

sudo lpadmin -p MG2200 -m canonmg2200.ppd -v /dev/usb/lp2 -E

Why "-v /dev/usb/lp2" when earlier you said your debug produced...

avery wrote:

'cups_printer_dict': {'device-uri': 'usb://Canon/MG2200%20series?serial=217AFC&interface=1',

What?  It's a usb printer on lp2 I assume.  I'm not sure what you mean by this.  If you have a recommendation please tell me. smile

Offline

#12 2017-01-03 19:12:58

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: Missing Print Filter Canon MG2200 series

man lpadmin
-v "device-uri"
Sets the device-uri attribute of the printer queue.  Use the -v option with the lpinfo(8) command to get a list of supported device URIs and schemes.

so did you get "/dev/usb/lp2" from the output of lpinfo? I'm just trying to understand why you aren't using the usb://Canon... as the URI.

Did you try adding the printer from http://localhost:631 like I suggested earlier?

Offline

#13 2017-01-03 22:52:37

avery
Member
Registered: 2016-12-31
Posts: 8

Re: Missing Print Filter Canon MG2200 series

paulkerry wrote:
man lpadmin
-v "device-uri"
Sets the device-uri attribute of the printer queue.  Use the -v option with the lpinfo(8) command to get a list of supported device URIs and schemes.

so did you get "/dev/usb/lp2" from the output of lpinfo? I'm just trying to understand why you aren't using the usb://Canon... as the URI.

Did you try adding the printer from http://localhost:631 like I suggested earlier?

Oh ok, I understand where the confusion is now.  The URI changed after I installed that canon driver package through the repos instead of compiling from source.  The new URI info is in /dev/usb/lp2.  Sorry for not making that clear.

Offline

#14 2017-01-04 21:22:03

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: Missing Print Filter Canon MG2200 series

So did you try adding the printer via http://localhost:631 ?

Probably a good idea to change LogLevel to debug in /etc/cups/cupsd.conf, restart cups, try and print something and then post the /var/log/cups/error_log

Offline

#15 2017-01-05 00:59:50

avery
Member
Registered: 2016-12-31
Posts: 8

Re: Missing Print Filter Canon MG2200 series

paulkerry wrote:

So did you try adding the printer via http://localhost:631 ?

Probably a good idea to change LogLevel to debug in /etc/cups/cupsd.conf, restart cups, try and print something and then post the /var/log/cups/error_log

That was what my first post was.

Offline

#16 2017-01-06 17:02:55

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: Missing Print Filter Canon MG2200 series

avery wrote:

That was what my first post was.

Really? /var/log/cups/error_log has a series of fields: status code, datestamp, job id, filter messages, process ID's etc, etc which I don't see in your first post.

Also didn't you post your first message before you installed the package from AUR?

Offline

Board footer

Powered by FluxBB