Hi Oswin,
To restore printer sharing on Windows 11 24H2, you need to make sure your PC is actually advertising its printer over the network and that nothing is blocking incoming SMB or IPP connections.
First, open Services (press Win + R, type services.msc) and set "Function Discovery Provider Host" and "Function Discovery Resource Publication" to Automatic. Then start both. Next, verify that your "Print Spooler" service is running and Automatic as well.
Go into Settings > Network & Internet, click your network (Wi-Fi or Ethernet) and switch the profile to "Private" so Windows will allow discovery.
Open Windows Defender Firewall, choose Allow an app through firewall, find File and Printer Sharing (SMB-In) and make sure it’s checked for the Private profile.
Now go to Settings > Bluetooth & devices > Printers & scanners, select your local printer, click Printer properties, open the Sharing tab, enable Share this printer and give it a simple name (no spaces or special characters). On your Windows clients you should now be able to browse to \YourPCName\ShareName or add that path manually. If Mac clients still can’t see it, return to Windows Features (Turn Windows features on or off), expand Print and Document Services, enable both Internet Printing Client and Internet Printing Server, then add port 631 (IPP) inbound in the firewall.
On the Mac add a new printer using IPP at http://Your-PC-IP:631/printers/ShareName
Let me know if anything goes south during this process.