What should be illegal is only when deceptive practices are used. For example, they should be required to make it clear on the packaging when the new printer does not include a full-capacity cartridge.
Sustainability concerns seem like a valid ethical reason to create laws and attempt to minimise things like this: https://news.ycombinator.com/item?id=12742974
I suppose, the ban on disposable products in food service and shopping (styrofoam and plastic bags) already is.