hi, after several trials and errors combining several fixes people suggested here, this is how i got mine to work.
For host (printer server)
1. use the gpedit fix by opening gpedit then go to Computer Configuratino > Administrative Templates > Printers :
a. configure RPC connection settings, select enabled and choose RPC over named pipes
if using Windows 11 Home Edition, open regedit then go to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC
add new > DWORD(32), RpcUseNamedPipeProtocol value data : 1
b. configure RPC listener settings, select enabled and choose RPC over named pipes and TCP
if using Windows 11 Home Edition, open regedit then go to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC
add new > DWORD(32), RpcProtocols value data : 7
2. open regedit then :
a. in HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint
add new > DWORD(32), RestrictDriverInstallationToAdministrators value data: 0
b. in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print
add new > DWORD(32), RpcAuthnLevelPrivacyEnabled value data: 0
3. reboot PC
For client side
1. use the gpedit fix by opening gpedit then go to Computer Configuratino > Administrative Templates > Printers :
a. configure RPC connection settings, select enabled and choose RPC over named pipes
b. if using Windows 11 Home Edition, open regedit then go to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC
add new > DWORD(32), RpcUseNamedPipeProtocol value data : 1
2. reboot PC
that's all, i'm using Canon G2010 printer, both machines are running windows 11 22h2, hope this help.