This open-source printer you can repair yourself is powered by a Raspberry Pi Zero W
(www.xda-developers.com)
Despite their shady firmware and atrocious software, HP do make some good quality hardware.
The Razorblade model of proprietary ink coupled with restrictive firmware falls apart when you role-your-own firmware.