The printer will need to be reconnected to the wireless network.
Please refer to your firewall vendor's documentation for instructions on opening these ports. If the printer responds to print commands after the firewall is disabled, you will need to open ports used by the printer for network communication.