When the print dialog appears, look at the printer name. If it says Microsoft Print to PDF, Microsoft XPS Document Writer, or OneNote, just choose your actual printer from the dropdown.
Settings → Bluetooth & devices → Printers & scanners.
Turn off “Let Windows manage my default printer”.
Click your real printer and choose Set as default.
Open Notepad, press Ctrl+P, select your printer, and print. If it prints, the problem was just the default or port setting.