After a day troubleshooting problems with Windows auto-detect printer, connecting printer to raspberry pi, I finally did it.
Few words from me tho.
I didn't want it to be a pain in the rear seat to add CUPS shared printer for my rommates who are not "computers nerds". I want windows machines to automatically find and add driver for my printer. Tutorials that I was using weren't helpful enough and AI just spits words that have no sense I had to do it myself.
I'm not an expert, just a guy who has a really old printer HP LaserJet P2014 and want it to use it over WiFi.
So I present to you a really short and easy to follow guide how to setup a HP printer.
Setup:
System: Raspberry Pi 4
OS: Raspbian LITE 64bit
Printer: HP LaserJet P2014 connected with USB.
Step 1.
Update your system.
sudo apt update && apt upgrade -y
Step 2.
Install CUPS.
sudo apt install cups
Step 3.
add your user to an admin list (It prevents system from cutting you of from admin settings in CUPS)
usermod -a -G lpadmin…