I managed to use an “ancient” printer with VoidLinux: Canon PIXMA iP2702 (inkjet) https://www.usa.canon.com/internet/portal/us/home/support/details/printers/support-inkjet-printer/ip-series/pixma-ip2702
I am posting this up in case anyone could use this info. Here are the steps I followed:
xbps-install -S xcups cups-filters foomatic-db foomatic-db-nonfree system-config-printer gutenprint ln -s /etc/sv/cupsd /var/service/ system-config-printer # GUI to add the Canon printer. Run as root
The most important package is
gutenprint. Without it, you won’t be able to properly configure the printer.
Background info: I believe
gutenprint is what allows GNOME & Ubuntu environments to make printing easy. But,
gutenprint is not mentioned in the VoidLinux CUPS/printing wiki: https://wiki.voidlinux.eu/CUPS
Maybe someone can clean my info, add to it, and update the VoidLinux CUPS/printing wiki section?