1
Open the old Control Panel.
Go to Programs and Features - Turn Windows Features on or off.
Disable the 'Microsoft Print to PDF' feature, then restart (not shut down) your PC and re-enable that feature to test if that resolves the problem.
2
If that does not resolve the problem.
Open Command Prompt by right clicking its icon and select 'Run as Administrator'.
Paste this command into Command Prompt and press Enter.
dism /Online /Enable-Feature /FeatureName:"Printing-PrintToPDFServices-Features" /NoRestart
When the command completes, close Command Prompt and restart (not shut down) your PC to apply the change.