I was unable to use the System Settings in KDE Plasma 5.27 to add a network printer on a fresh install of openSUSE Leap 15.6 (SUSE Linux Enterprise 15). I got the “Failed to get a list of devices: ‘Forbidden’” error message.
This is how I resolved the issue:
sudo firewall-cmd –add-service=mdns
sudo firewall-cmd –add-service=mdns –permanent
Used YaST to add the printer: YaST Control Center → Printer → Add → Detect More
KDE System Settings → Printers should show the new printer.
I didn’t need to install the system-config-printer package.