If the feature is enabled but still not showing up, you can add the printer manually:
Here’s a to add a PDF printer (Microsoft Print to PDF) on Windows 11. how to add pdf printer to windows 11