An invasion of ants sounds more like influx although I assume what came out of those eggs also found a way out. It's the first time I hear that a printer is destroyed by ants! They must have had an averse against electronics. I hope the ants are safe? LOL
It may seem unusual. But the truth is that it has happened to me at least twice. With a Wiffi antenna. Here are some big ants with wings. They love warm places and ants look for magnetic fields. Are they experts in geophysics or electronics? They attach their eggs with a sticky liquid that damages electronic components. It's like dropping acid.