Is your printer connected via a USB cable from your computer to the printer? Or... is it connected wirelessly to your router?
Sounds like you or somebody have set the printer up to do both. Select the correct Printer in the control panel which reflects your setup. Now try.