Please follow the instructions below to Troubleshoot printing issues.
Troubleshoot printing issues - Community
You are probably using an Edge web browser and the browser changed the file extension on the PDF download to a .txt. Rename the file extension to .pdf