Can you explain a little bit. Things like:
- what is a "foreign" IP-address
- where did you try to remove it from
- what is the netstat method
- "search and cortana application" isn't an IP-address
- how do you mean "populating"
- what is the relation between an IP-address and a PID

What happens if you turn the laptop off while connecting the printer? Then anything you do or did on the laptop doesn't have any consequences, assuming the printer has to connect to your wireless router.