My question is as following:
There are two subnets, 192.168.1.0/24 and 18.104.22.168/24. The two subnets can ping each other.
I have a Windows 7 PC. When the PC gets IP address from DHCP in the subnet 192.168.1/24, I can print to the printer with 192.168.1.10 address. When I move my PC to the other subnet and get an IP address from DHCP of 192.168.200.0 subsnet, how can I setup or run a scrip automatically to block the PC to print to the printer which is setup as default printer on my PC?