This was harder than it should have been, and yet easier than I was expecting.
apt install cups cups-browsed libcupsimage2 -y
Didn’t work using the GNOME 3 Printer UI.
Remember to open a port in the firewall
ufw allow out to $PrinterIPAddress port 631 proto tcp comment 'Allow out to printer ipp'
Find Samsung printer drivers
Where would you find Linux drivers for a Samsung printer?
On the HP website…
Download the “Samsung Print Driver for Linux”, extract, and run
sudo bash ./install-printer.sh.
The installation was a pain, as you have to go line by line through the licence, but if you go one line too far, you miss the prompt to “accept” the licence, and have to start again. It’s a dreadful UI.
Configure via CUPS
I went to CUPS:
and attempted to add a printer.
So I added my user to the group
sudo usermod -a -G lpadmin neil
I went through the printer setup, and printed a test page.