Depends on the level of restriction. Worst case the ping will still resolve the IP address but not get a response back. I've not seen a printer set that securely here but I imagine I can be done as easily as a pc.
It's just a general question thank youMake and model printer?