Open the old Control Panel, not the Settings app.
At the top of the old Control Panel, set View to large icons.
Open the Programs and Features applet.
Click 'Turn Windows Features on or off' on the left side.
In the resulting list, enable 'Microsoft Print to PDF', or if it is already enabled, disable it, restart (not shut down) your PC and then re-enable 'Microsoft Print to PDF'.