Microsoft Has fixed all the issue related to Printer Sharing
September 14, 2021—KB5005565 (OS Builds 19041.1237, 19042.1237, and 19043.1237)
Release Date: 9/14/2021
Version: OS Builds 19041.1237, 19042.1237, and 19043.1237
Windows 10 2004. 20H2 and 21H1KB2310138
Now try with printer sharing as per link
http://www.coimbatore-biz.com/blog/techsupport/Windowsp0st1229