Hi and welcome to Linux Questions!
You don't say which Linux distribution you're using which is important. Most distributions have
hplip (HP Linux Imaging and Printing)already installed which handles printing from their various
printers, check link for those covered. The M28a is on the list, honest! You just need to scroll down quite a bit.
hplip should also be available in your Distro's repositories and available to install using your software manager though, as I mentioned, it'll probably already be installed.
Play Bonny!