What's next? Scanners only working under a subscription? Your Wi-Fi router or switches only working when a license is active (even your LAN)? Your chargers, PSUs or UPSes only being allowed to work for 6 months, before you're forced to buy a newer model? Needing a monthly subscription to use your OS or browser? I don't even know anymore...
The printer example feels like it shouldn't be legal. The whole printer ink situation feels a lot like that. The companies are probably going to get away with this, because they're the ones setting the rules, you're free to not use their services and instead turn to the non-existent companies that will put the users over maximizing profits.
Edit: Louis suggests Brother as a brand that doesn't do this. However, what guarantees are there that they won't?