When I first got my wireless printer from Samsung, it had no problems on Windows. Ubuntu Linux 18 and 20 auto-discovered the printer, but when I tried to print a simple page on it, reams of paper came out, with just a few garbage characters on each page.
The procedure outlined below worked for me. I don’t even know whether they are optimum or not. Would similar steps work for other printers, or even other Samsungs? I don’t know, maybe?