When we bought my iMac 4 years ago, we were able to get an all-in-one printer HP Photosmart Plus B210 Series. It worked for about 1-1/2 years and then died. The scanner still works, though, which is the only reason why I kept it since I hope to scan all of our old photos someday.
On the other hand, the HP Photosmart D7300 inkjet printer that my husband had before we were married (so it’s at least 7 years old) is a workhorse! When I started using it again after the other one died, it still worked great even with the ink that had been left with it. The only downside is that it is a wired printer. I use our old laptop (and Dropbox) to print color documents with it.
I bought a black and white laser printer Brother HL-2270DW a couple of years ago and I love it! It does duplex which I think is pretty cool (I impress easily). I just replaced the toner a week or so ago, so the ink is relatively inexpensive compared to inkjet. Plus it’s wireless which is awesome! Unfortunately, we live in a small house and there is no room for the printer by my iMac so I have it in another room. Even so, it is a great machine!
I hope to get a color laser printer when the workhorse printer dies. That might be a while, though!