Though the faffing about it took to get Windows 11 on a friend's laptop to speak to my tame Laserjet 4050 suggests that 'consumer-grade' may also be redundant. I think the mistake we made there was trusting the HP website.
Actually, I've just remembered trying to get it to work on barakta's $ork-1 laptop, which was too locked down to install drivers. Does Windows have a generic lowest-common-denominator Postscript or PCL driver available? Of course it doesn't.
So I just installed the drivers for my 4050 on my locked-down work lapdog here.
The level of lock-down may vary.
I started here:
https://support.hp.com/us-en/drivers/selfservice/hp-laserjet-4050-printer-series/25475(wow! that link seems to land at random locations sometimes! Try it again if it does not lead to the driver download page.)
I downloaded the Universal Print Driver for PCL6(64-BIT), V 7.1.0.25570
That got me a file called 'upd-pcl6-x64-7.1.0.25570.exe'.
Running it just self-unzipped into 'c:\HP Universal Print Driver\pcl6-x64-7.1.0.25570', which is what I expected.
Unexpectedly, an HP Universal Printing wizard popped up, and I decided to follow it.
(Normally, I'd expect to manually go through the Windows 'Add A Printer' thing, and then point it to the drivers in this folder.)
Select 'Traditional Mode'.
'Add a printer using an IP Address or hostname'
Device type = TCP/IP Device, enter IP address.
Port Name is set to the same.
Do not select Query Printer...
Select one of the 2 driver options offered: HP Universal Printing PCL 6. I have no idea what the second option is for.
Give it a name.
Let it install.