Adding Wireless Canon Printer

I am trying for the first time to add.
So I tried to follow up as on https://discovery.endeavouros.com/printers/printers/2021/03/
and
Add Printer
The printer is MF212w
Trying to add the printer (wireless and for wreless printing) I see only drivers for MF210.

Here is a summary of what I did til now:

[limo@asus ~]$ sudo pacman -S cups cups-filters cups-pdf system-config-printer --needed
[sudo] password for limo: 
warning: cups-1:2.4.2-3 is up to date -- skipping
warning: cups-filters-1.28.17-1 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...

Package (4)                  New Version  Net Change  Download Size

extra/python-pycups          2.0.1-5        0.19 MiB       0.06 MiB
extra/python-pycurl          7.45.2-1       0.34 MiB       0.10 MiB
extra/cups-pdf               3.0.1-7        0.19 MiB       0.02 MiB
extra/system-config-printer  1.5.18-1       6.92 MiB       1.10 MiB

Total Download Size:   1.28 MiB
Total Installed Size:  7.64 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 cups-pdf-3.0.1-7-x86_64                23.6 KiB  52.5 KiB/s 00:00 [------------------------------------] 100%
 python-pycups-2.0.1-5-x86_64           59.8 KiB   111 KiB/s 00:01 [------------------------------------] 100%
 python-pycurl-7.45.2-1-x86_64         101.4 KiB   166 KiB/s 00:01 [------------------------------------] 100%
 system-config-printer-1.5.18-1-x...  1122.6 KiB   637 KiB/s 00:02 [------------------------------------] 100%
 Total (4/4)                          1307.4 KiB   718 KiB/s 00:02 [------------------------------------] 100%
(4/4) checking keys in keyring                                     [------------------------------------] 100%
(4/4) checking package integrity                                   [------------------------------------] 100%
(4/4) loading package files                                        [------------------------------------] 100%
(4/4) checking for file conflicts                                  [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 3838
:: Processing package changes...
(1/4) installing cups-pdf                                          [------------------------------------] 100%
-------------------------------------------------
To use cups-pdf, restart cups and visit the cups
web interface at http://localhost:631/

You can now add a "Virtual Printer (PDF Printer)"
and use the Postscript/Generic postscript color
printer driver.

Note that cups-pdf has a configuration
file in /etc/cups. The default location for
pdf output is /var/spool/cups-pdf/$username.
-------------------------------------------------
(2/4) installing python-pycups                                     [------------------------------------] 100%
(3/4) installing python-pycurl                                     [------------------------------------] 100%
(4/4) installing system-config-printer                             [------------------------------------] 100%
Optional dependencies for system-config-printer
    libsecret: password management [installed]
    python-pysmbc: SMB browser support
    cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges
:: Running post-transaction hooks...
(1/6) Reloading system manager configuration...
(2/6) Reloading device manager configuration...
(3/6) Arming ConditionNeedsUpdate...
(4/6) Reloading system bus configuration...
(5/6) Updating the desktop file MIME type cache...
(6/6) Performing snapper post snapshots for the following configurations...
==> root: 3839
[limo@asus ~]$ sudo pacman -S print-manager --needed
warning: print-manager-22.12.1-1 is up to date -- skipping
 there is nothing to do
[limo@asus ~]$ sudo systemctl enable --now cups.socket
Created symlink /etc/systemd/system/sockets.target.wants/cups.socket → /usr/lib/systemd/system/cups.socket.
[limo@asus ~]$ sudo systemctl enable --now cups.service
Created symlink /etc/systemd/system/printer.target.wants/cups.service → /usr/lib/systemd/system/cups.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cups.service → /usr/lib/systemd/system/cups.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cups.path → /usr/lib/systemd/system/cups.path.
[limo@asus ~]$ systemctl status avahi-daemon
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
     Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; preset: disabled)
     Active: active (running) since Tue 2023-01-31 10:37:50 EET; 2min 36s ago
TriggeredBy: ● avahi-daemon.socket
   Main PID: 499 (avahi-daemon)
     Status: "avahi-daemon 0.8 starting up."
      Tasks: 2 (limit: 23783)
     Memory: 1.5M
        CPU: 26ms
     CGroup: /system.slice/avahi-daemon.service
             ├─499 "avahi-daemon: running [asus.local]"
             └─508 "avahi-daemon: chroot helper"

Jan 31 10:37:55 asus avahi-daemon[499]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe8>
Jan 31 10:37:55 asus avahi-daemon[499]: New relevant interface wlan0.IPv6 for mDNS.
Jan 31 10:37:55 asus avahi-daemon[499]: Registering new address record for fe80::cc54:237e:8c6f:f48f on wlan0>
Jan 31 10:37:55 asus avahi-daemon[499]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192>
Jan 31 10:37:55 asus avahi-daemon[499]: New relevant interface wlan0.IPv4 for mDNS.
Jan 31 10:37:55 asus avahi-daemon[499]: Registering new address record for 192.168.1.100 on wlan0.IPv4.
Jan 31 10:37:57 asus avahi-daemon[499]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe8>
Jan 31 10:37:57 asus avahi-daemon[499]: Joining mDNS multicast group on interface wlan0.IPv6 with address fdb>
Jan 31 10:37:57 asus avahi-daemon[499]: Registering new address record for fdb4:f58e:15ed:a500:1076:b0f6:11b:>
Jan 31 10:37:57 asus avahi-daemon[499]: Withdrawing address record for fe80::cc54:237e:8c6f:f48f on wlan0.

[limo@asus ~]$ yay -S hplip cups cups-filters cups-pdf system-config-printer --needed
warning: cups-1:2.4.2-3 is up to date -- skipping
warning: cups-filters-1.28.17-1 is up to date -- skipping
warning: cups-pdf-3.0.1-7 is up to date -- skipping
warning: system-config-printer-1.5.18-1 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...

Package (16)                     New Version   Net Change  Download Size

extra/foomatic-db-engine         4:20220521-1    0.79 MiB       0.20 MiB
extra/net-snmp                   5.9.1-5         7.79 MiB       1.75 MiB
extra/perl-alien-build           2.77-1          0.76 MiB       0.37 MiB
extra/perl-alien-libxml2         0.19-1          0.01 MiB       0.01 MiB
extra/perl-capture-tiny          0.48-6          0.03 MiB       0.02 MiB
extra/perl-dbi                   1.643-4         1.88 MiB       0.69 MiB
extra/perl-ffi-checklib          0.31-2          0.03 MiB       0.02 MiB
community/perl-file-chdir        0.1011-4        0.01 MiB       0.01 MiB
extra/perl-file-which            1.27-2          0.02 MiB       0.01 MiB
community/perl-path-tiny         0.144-1         0.14 MiB       0.05 MiB
extra/perl-xml-libxml            2.0208-1        0.68 MiB       0.26 MiB
extra/perl-xml-namespacesupport  1.12-5          0.02 MiB       0.01 MiB
extra/perl-xml-sax               1.02-1          0.10 MiB       0.04 MiB
extra/perl-xml-sax-base          1.09-5          0.16 MiB       0.02 MiB
community/python-distro          1.8.0-2         0.16 MiB       0.03 MiB
extra/hplip                      1:3.22.10-3    34.18 MiB      21.13 MiB

Total Download Size:   24.61 MiB
Total Installed Size:  46.77 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 perl-xml-libxml-2.0208-1-x86_64       263.6 KiB   356 KiB/s 00:01 [------------------------------------] 100%
 perl-alien-build-2.77-1-any           374.8 KiB   421 KiB/s 00:01 [------------------------------------] 100%
 foomatic-db-engine-4:20220521-1-...   209.1 KiB   675 KiB/s 00:00 [------------------------------------] 100%
 perl-path-tiny-0.144-1-any             46.2 KiB   330 KiB/s 00:00 [------------------------------------] 100%
 perl-xml-sax-1.02-1-any                41.8 KiB   418 KiB/s 00:00 [------------------------------------] 100%
 python-distro-1.8.0-2-any              31.8 KiB   398 KiB/s 00:00 [------------------------------------] 100%
 perl-dbi-1.643-4-x86_64               708.0 KiB   478 KiB/s 00:01 [------------------------------------] 100%
 perl-xml-sax-base-1.09-5-any           23.5 KiB   196 KiB/s 00:00 [------------------------------------] 100%
 perl-capture-tiny-0.48-6-any           17.7 KiB   252 KiB/s 00:00 [------------------------------------] 100%
 perl-ffi-checklib-0.31-2-any           15.8 KiB   226 KiB/s 00:00 [------------------------------------] 100%
 perl-file-which-1.27-2-any             12.1 KiB   151 KiB/s 00:00 [------------------------------------] 100%
 perl-xml-namespacesupport-1.12-5-any   11.7 KiB   146 KiB/s 00:00 [------------------------------------] 100%
 perl-file-chdir-0.1011-4-any           10.6 KiB   152 KiB/s 00:00 [------------------------------------] 100%
 perl-alien-libxml2-0.19-1-any           9.3 KiB   116 KiB/s 00:00 [------------------------------------] 100%
 net-snmp-5.9.1-5-x86_64              1794.6 KiB   801 KiB/s 00:02 [------------------------------------] 100%
 hplip-1:3.22.10-3-x86_64               21.1 MiB  1708 KiB/s 00:13 [------------------------------------] 100%
 Total (16/16)                          24.6 MiB  1980 KiB/s 00:13 [------------------------------------] 100%
(16/16) checking keys in keyring                                   [------------------------------------] 100%
(16/16) checking package integrity                                 [------------------------------------] 100%
(16/16) loading package files                                      [------------------------------------] 100%
(16/16) checking for file conflicts                                [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 3840
:: Processing package changes...
( 1/16) installing python-distro                                   [------------------------------------] 100%
( 2/16) installing net-snmp                                        [------------------------------------] 100%
Optional dependencies for net-snmp
    perl-term-readkey: for snmpcheck application
    perl-tk: for snmpcheck and tkmib applications
    python: for the python modules [installed]
( 3/16) installing perl-capture-tiny                               [------------------------------------] 100%
( 4/16) installing perl-ffi-checklib                               [------------------------------------] 100%
( 5/16) installing perl-file-chdir                                 [------------------------------------] 100%
( 6/16) installing perl-file-which                                 [------------------------------------] 100%
( 7/16) installing perl-path-tiny                                  [------------------------------------] 100%
( 8/16) installing perl-alien-build                                [------------------------------------] 100%
( 9/16) installing perl-alien-libxml2                              [------------------------------------] 100%
(10/16) installing perl-xml-sax-base                               [------------------------------------] 100%
(11/16) installing perl-xml-namespacesupport                       [------------------------------------] 100%
(12/16) installing perl-xml-sax                                    [------------------------------------] 100%
(13/16) installing perl-xml-libxml                                 [------------------------------------] 100%
:: Installing SAX XML Parsers
(14/16) installing perl-dbi                                        [------------------------------------] 100%
(15/16) installing foomatic-db-engine                              [------------------------------------] 100%
Optional dependencies for foomatic-db-engine
    foomatic-db: linuxprinting.org xml files database to create ppd driver files
(16/16) installing hplip                                           [------------------------------------] 100%
Optional dependencies for hplip
    cups: for printing support [installed]
    sane: for scanner support
    xsane: sane scanner frontend
    python-pillow: for commandline scanning support [installed]
    python-reportlab: for pdf output in hp-scan [installed]
    rpcbind: for network support [installed]
    python-pyqt5: for running GUI and hp-toolbox [installed]
    libusb: for advanced usb support [installed]
    wget: for network support [installed]
:: Running post-transaction hooks...
(1/6) Reloading system manager configuration...
(2/6) Reloading device manager configuration...
(3/6) Arming ConditionNeedsUpdate...
(4/6) Warn about old perl modules
(5/6) Updating the desktop file MIME type cache...
(6/6) Performing snapper post snapshots for the following configurations...
==> root: 3841
[limo@asus ~]$ sudo systemctl enable --now cups.service avahi

Failed to enable unit: Unit file avahi.service does not exist.
[limo@asus ~]$ yay -S avahi

warning: avahi-0.8+22+gfd482a7-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version        New Version        Net Change

extra/avahi  0.8+22+gfd482a7-3  0.8+22+gfd482a7-3    0.00 MiB

Total Installed Size:  1.85 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 3842
:: Processing package changes...
(1/1) reinstalling avahi                                           [------------------------------------] 100%
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
(3/7) Arming ConditionNeedsUpdate...
(4/7) Reloading system bus configuration...
(5/7) Checking which packages need to be rebuilt
(6/7) Updating the desktop file MIME type cache...
(7/7) Performing snapper post snapshots for the following configurations...
==> root: 3843
[limo@asus ~]$ sudo systemctl enable --now avahi-daemon.service
[limo@asus ~]$ 






Any suggestions!

Read the wiki. :wink:

https://discovery.endeavouros.com/printers/printers/2021/03/

I read it again. Tried troubleshooting at https://discovery.endeavouros.com/printers/printers/2021/03/#:~:text=enable%20avahi-daemon-,Troubleshooting,-%3A

I edited the nnswitch file https://discovery.endeavouros.com/printers/printers/2021/03/#:~:text=Then%2C%20edit%20the%20file%20/etc/nsswitch.conf%20and%20change%20the%20hosts%20line%20to%20include%20mdns_minimal%20[NOTFOUND%3Dreturn]%20before%20resolve%20and%20dns%3A

Tried to add the printer again… no luck.
This is what I have now.

Sorry, you know I am not that techie.

Check your firewall settings.

I did the command

system-config-printer

Adding printer I see only “Canon MF210 Series” not MF210

That seems funny. Isn’t MF210 part of MF210 Series?

Should be as there are a number of models as there always are.

Even if 212W isn’t shown, I’d give it a try, if I were them.

Sorry for my typo, my printer is “The printer is MF212w”

Else, check here:

https://in.canon/en/support/imageCLASS%20MF212w/model

Yes it has a linux driver here if one can understand how to install it.

Edit: If you download it. Wouldn’t it be to install? :thinking:

pacman -U linux-UFRII-drv-v570-us-05.tar.gz

I think we are getting closer.
I opened a text file → Print, Printer icon apperas in tool bar.
Says printing then says print job cancelled at printer!
I checked firewall as per Discovery and checked that checkboxes are selected.

Downloaded from the website.
What next?

This is where I downloaded the gz
How to install it?

What does this mean?
Cancelled at printer means my laptop can see the printer! But why/how the printer “cancel” the print job?

Download the file linux-UFRII-drv-v560-m17n-10.tar.gz and extract it. In there, you will find directions on how to install the driver, I suppose.

It has an install script.