Personally, I have a multifunction printer “Samsung CLX-3305” - but the method has been proven and confirmed by many.
In AUR repositories we can find;
foo2zjs-nightly - foo2zjs Printer Drivers (automatically updated). Includes also foo2hp, foo2hbpl, foo2oak, foo2xqx, foo2qpdl, foo2slx, foo2hiperc and foo2lava drivers
install with a command from the console
and at the end
Removal of leftover packages from AUR installation
yay -Sc --aur
… of course after that restart the system (most often required).