Set up Paperless-ng on your server, generally with Docker, and map the Consume folder to wherever you want. Expose that on the network as a Samba or FTP share depending on your printer.
Printers with a bit more than basic features allow you to “scan to target” and it’s basically designed to set up a Public share folder on windows and scan and your document just shows up on the computer. Same deal but map it to the consume folder on the server. Paperless automatically picks up and intakes anything dropped in the consume folder.
So you end up just hitting Scan on the printer, the printer will dump the output into consume share via either samba or ftp, and Paperless automatically picks it up and puts it in the Inbox for ya.
It’s not big enough until the window manager crashes