this method only applies if windows 11 22H2 as a client, if as a printer sharing server then there are additional settings that must be done
if your windows 11 22H2 is a printer sharing server, then you should try to enable these 2 ways
Configure RPC listener settings => change protocol : RPC over named pipes and TCP
Printer Browsing
good luck...