Follow the steps below to resolve the issue:
- Click Control Panel.

- Click Hardware and Sound.

- Click Change default printer.

- Right click on the printer icon, select Run as administrator, and then click on Properties.

- If the User Account Control prompt is displayed, click Continue.

- Click on the Ports tab.

- Click Configure Port...

- Change the Protocol to Row.

- Click OK.