Last night I set up a Raspberry Pi 2 as a print server for our 13 year old (!) Brother HL 2040 printer at home.
The rPi is running Fedora Server 31 so it's getting regular updates, and provides a nice web-based management UI through Cockpit.
I relied on https://gist.github.com/leafstorm/b2e91b9c9b66c82732e3d483fd90aa9f for the bulk of the printer setup info.
Should have been working on my research but was in a mood to solve this long-standing problem.
I had been using a convoluted approach with an rPi 1 to provide a Google Cloud Print interface, but this is far better.
And Google Cloud Print is going away, of course: https://support.google.com/chrome/a/answer/9633006
code4lib.social is a GLAM-themed Mastodon Instance.