First thought was pad printing, due to the ink (+ catalyst) required to print on an elastomer. I looked it up, and they also suggested screen printing.
Are you sure they're latex? With all the issues of allergies, I would assume they might be silicone or nitrile.
JB
Printing silicone swim caps? Boston Industrial Solutions has the perfect silicone ink for printing on silicone swimming caps.
www.bostonindustrialsolutions.com