I'm running Kubuntu 17.10
I connected the printer to the computer by USB and, in the Printers System Settings, click on Add Printer.
It detects my printer on the list, under Local Printers, and installs beautifully.
When I click on Maintenance > Print Test Page, the printer blinks and spins up!
But none of the test pages are ever printed. The Printers properties page shows its status as "In Use - 'Rendering completed'".
Later, if I unplug the printer from the PC, it prints out the following lines:
SPL ERROR - Incomplete Session by time out
POSITION : 0Xa0 (160)
SYSTEM: h6fw_5.57/os_hook
LINE: 1425
VERSION: SPL 5.57 01-12-2012
(The position changes each time.)
To make things worse, Samsung's printer support site seems to have been badly merged into HP's, because I can't even access certain links I find, such as http://www.samsung.com/br/support/model/ML-2165W/XAZ
But the printer works! Through USB on a Windows 10 laptop, and through WiFi on that laptop and even my phone! Just not on this machine...