Windows 10 / 11 Printer sharing Setting.
If you have annoying issue with sharing printer by network, maybe you can try use this.
Run this registry file on both main pc (PC connected with printer) and second pc.
After run that registry. Restart your computer. Then try connect it.
Click link below for download.