I followed the instructions for installing CUPS and then activate org.cups.cupsd.service and org.cups.cupsd.socket (https://wiki.archlinux.org/index.php/CUPS#Installation)
Then I followed the instuctions for installing avahi to scan for network printer (https://wiki.archlinux.org/index.php/CUPS#Connection_Interfaces ->
Next is the troublesome part - installing the printer drivers which comes in only DEB and RPM packages from the manufacturer Canon.
This is the link to the Canon Linux driver. Autodetected for the Linux 64 bit.2dd
When I first tried debtap on the deb packages I encountered the following error which was posted to AUR. https://aur.archlinux.org/packages/debtap/
Error: You must run at least once “debtap -u” with root privileges (preferably recently), before running this script
sudo debtap -u
==> Synchronizing pkgfile database… :: Updating 5 repos… extra is up to date core is up to date multilib is up to date download complete: archlabs_repo [ 26.0 B 109B/s 1 remaining] error: failed to create archive reader for archlabs_repo: Invalid or incomplete multibyte or wide character download complete: community [ 18.7 MiB 17.1M/s 0 remaining] :: download complete in 1.09s < 18.7 MiB 17.1M/s 2 files > :: waiting for 1 process to finish repacking repos… Synchronization failed. Exiting…
debtap officially supports only Arch. If you want to use it with an Arch derivative, comment the extra repos of your distro in /etc/pacman.conf, then synchronize debtap, then uncomment those repos.
Following those instructions solved that particular issue and the arch packages were generated. However when I tried to install the newly created Arch package I get the falling error:
sudo pacman -U cndrvcups-common-4.10-1-x86_64.pkg.tar.xz
loading packages… resolving dependencies… warning: cannot resolve “cupsys”, a dependency of “cndrvcups-common” warning: cannot resolve “gs-esp”, a dependency of “cndrvcups-common” :: The following package cannot be upgraded due to unresolvable dependencies: cndrvcups-common
I then follow your excellent suggestion and tried this: (I used yay - which goes in the fakeroot environment)
Using system-config-printer I get the following:
looking into error log in http://localhost:631/admin/log/error_log
E [14/Mar/2019:13:12:48 -0400] [Client 27] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon-MF8200C-Series) from localhost.
E [14/Mar/2019:13:12:48 -0400] [CGI] Cannot connect to remote printer ipp://Canon52fc10.local:80/ipp/print (Canon52fc10.local:80)
E [14/Mar/2019:13:12:48 -0400] copy_model: empty PPD file
E [14/Mar/2019:13:12:48 -0400] [Client 19] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon-MF8200C-Series) from localhost.