Finding and using them on immutable distributions
Gnome does a great job of finding network printers, but flatpaks can’t print to the printer installed by GNOME.
I have not been successful in using flatseal to manipulate each flatpak app to be able to have access to our network printer.
The remaining options were:
1) Have the flatpak print-to-pdf (or download)
which allows me to print from the filesystem.
(works, but cumbersome)
2) Configure the print-server CUPS to handle the printing <-Winner!
which the flatpaks all seem to play-well-with.
The admin page of the cups interface (localhost:631/admin
) is how printers are added and managed via cups, and typically requires a login.
Many systems default to allowing members of the root
, sys
, and wheel
groups to log into the cups admin page, but some require additional configuration before a user login is permitted.
/etc/cups/cups-files.conf
--------------------
SystemGroup root wheel
# Create a group specifically for printer administration
sudo groupadd -g 999 lpadmin
# Append 'lpadmin' group to someUser
sudo usermod -aG lpadmin someUser
/etc/cups/cups-files.conf
--------------------
SystemGroup root wheel lpadmin
localhost:631/admin
with my user credentialsUse as needed to direct apps to the cups socket.
CUPS config file editing learned from the archWiki for CUPS