It's a known issue. No fix has been released yet.
Source: Microsoft Edge known issues | Microsoft Learn
| 154 | In Microsoft Edge version 154, some users may experience printing failures when attempting to print from Microsoft Edge, including through both the standard print experience (Ctrl+P) and the Windows system print dialog (Ctrl+Shift+P). Symptoms include print dialogs failing to appear, closing unexpectedly, or printing operations failing with error messages, exclusively when using the "Microsoft Print to PDF" printer. |
|---|
- Customers using the Microsoft Edge standard print experience (Ctrl+P) can choose the "Save As PDF" printer instead of choosing the "Microsoft Print to PDF" printer. This workaround is not applicable to the Windows system print dialog (Ctrl+Shift+P).
- Customers experiencing this issue can also temporarily roll back to Microsoft Edge version 153.