How to add print support

To add printing support in Arch linux and derivatives, with printer auto-detection capability, the following must be installed:

sudo pacman -S cups cups-pk-helper gutenprint foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-db-gutenprint-ppds foomatic-db-ppds foomatic-db-nonfree-ppds splix gsfonts hplip python-pyqt5 python-gobject nss-mdns pacredir cups-pdf gutenprint usbutils python-pycups python-pycurl system-config-printer samsung-unified-driver

Activate the printing service with:

sudo systemctl enable --now cups.service

Alternatively use socket activation to only start CUPS when a program wants to use the service (cups provides a cups.socket unit. If cups.socket is enabled -and cups.service is disabled-, systemd will not start CUPS immediately; it will just listen to the appropriate sockets. Then, whenever a program attempts to connect to one of these CUPS sockets, systemd will start cups.service and transparently hand over control of these ports to the CUPS process):

sudo systemctl enable --now cups.socket



NOTE: Use one of these two activation methods, depending on how you want cups to work on your system.