I was finally able to find the right driver
https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-universal-print-driver-series-for-windows/503548/model/3271552/swItemId/ds-99374-25
And I can confirm that the 20+ years old HP LaserJet 4000 is perfectly compatible with Windows 11 64-bit.
The printer is working fine with Windows 10 64-bit on another recent computer and it's such a good printer I'd love to have it work with Window 11.
There's probably a driver working with it.
I just bought a laptop with Windows 11 64-bit (EZbook S5, Celeron N4000 2.8GHz, Windows 11, 12GB LPDDR4 256GB SSD, Intel UHD 600)
I added my old HP LaserJet 4000 through TCP/IP and used the generic/text only driver provided by Windows.
When I try to print text in French with accented...