Hi, thanks for posting here in Microsoft community, it sounds like a network authentication issue rather than incorrect credentials. This can happen if Windows updates or network settings changed.
I suggest, First, Ensure Password Protected Sharing is enabled in Network and Sharing Center.
Then, Verify the user account exists on the host PC and has permission for printer sharing.
Also, try accessing the shared printer using the format, \ComputerName\PrinterName and credentials of the host PC.
If recent updates were installed, check if SMB protocol settings or network profile changed.
Also, have you recently installed any Windows updates or changed network settings on either PC? This will help isolate if the issue is update-related or configuration-based.
I hope this helps you, let me know how it goes.
Chard