It’s working fine for me as well in macOS Ventura. I just needed to add an ellipsis (…) character to the “Save as PDF…” keyboard shortcut in System Settings. On macOS Monterey, the menu item is “Save as PDF”, without the ellipsis.
On a US keyboard, you can type the ellipsis character using ⌥ (option) + ;. Typing three “.” characters seems to work as well.