Connect to a network printer in Yast

Hi,
I have a printer shared via CUPS on Leap 15.4, I can easily configure windows clients to connect by setting http://192.168.88.100:631/printers/samsungml1520 but it is a nighmare on opensuse clients. Now, after two years I’ve upgraded my notebook from Leap 15.6 to Slowroll but I am unable to make successful configuration again even it was set up two years ago (I remember that time it was also a pain spending days to add it in yast printer module).
What I’ve tried up to now:
If I choose option “TCP port” specifying IP and port, I get Successful connection test, printer is created in yast as socket://192.168.88.100:631 but printing test page is unsuccessful with error “Brokent pipe”:

E [15/Feb/2026:15:11:42 +0100] [Job 8] Unable to write print data: Broken pipe
W [15/Feb/2026:15:11:42 +0100] [Job 8] Backend socket returned status 1 (failed)

If I add it as an IPP printer with ipp://192.168.88.100:631/printers/samsungml1520 I got the following error:

[15/Feb/2026:15:16:46 +0100] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name is not activatable
W [15/Feb/2026:15:16:46 +0100] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name is not activatable

Choosing Printing via CUPS server, I am not able to make a successful test connection, even if I specify name of the print que as “samsungml1520”, “/printers/samsungml1520” or “printers/samsungml1520” . Network discovery also doesn’t work, client machine is in the same subnet, aélso with deactivated firewall.

Connection possible to IPP port 631 on host ‘192.168.88.100’
Testing queue ‘/printers/samsungml1520’ on host ‘192.168.88.100’:
/usr/bin/lp: Error - The printer or class does not exist.
Queue ‘/printers/samsungml1520’ on host ‘192.168.88.100’ does not accept print jobs (queue may not exist or queueing disabled?)
Status of the queue ‘/printers/samsungml1520’ (possibly empty or not available):

Can anybody help how to set up this printer? It would be nice to simplify yast printer module as well.
Thanks.

splix is installed?

zypper se -si splix

Welcome to openSUSE Forums.

These days, mDNS/DNS-SD is often used for discovery of network printing services, and CUPS requires avahi-daemon to be active for IPP discovery. Legacy CUPS environments can also make use of cups-browsedfor bridging IPP network printers into local queues.

As sauerland mentioned, make sure you have the splix package installed to support this printer.

BTW, YaST is slowly being deprecated…best to use the native CUPS web UI and/or lpadmin for administrator configuration.

I had some adventures with installing network printer on OpenSuse.
What I had to do was:

  • disable firewall (in Yast)
  • install printer
  • add Printer IP to firewall → firewall-cmd --zone=trusted --add-source=192.168.x.x --permanent
  • start/restart firewall
    And now it works.
1 Like

Yes, that is essentially all that is needed for driverless printing to work. The OP is using a legacy printer. The Samsung ML-1520 does not natively support the modern driverless printing protocol, so a driver will need to be installed first, and manual configuration applied.

Yes, deactivating firewall for scanner and printer detection and then reactivation afterwards, is usually the fast way and hassle free way to configure network printers with Opensuse.

And delete all prior installation trials.

Thanks for all of you for the answers. Splix package was of course installed, disabling the firewall was also tried but none of them worked with yast printer module.
I totally forgot about localhost:631, thanks for suggesting it, now I remember finally it was always the right way to make the printer work with the previous installs.
Now tried it and it worked for the first try, printer is is working now, added as ipp://192.168.88.100:631/printers/samsungml1520, even with enabled client side firewall.

Thanks for the update. The firewall doesn’t prevent solicited traffic initiated from the client, so not impacting here.

Just a note: I’ve been a SuSE user for +20yrs and like Slowroll very much, but Yast has been a great tool for system setup and I am really sorry that it slowly looses its functionality (printers, firewall…).

Printer management is handled natively by CUPS web UI, and both GNOME and KDE Plasma include desktop print management utilities that do the same job. In addition, the reality is that most modern printers now support driverless printing (IPP Everywhere/AirPrint), so often no explicit configuration is required, (beyond allowing network discovery through the firewall).

See the updated wiki page:

https://en.opensuse.org/SDB:Installing_a_Printer

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.