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
Find out the type of ink used for Printing on silicone swimming caps. Learn how to figure out if a swim cap is made of silicone or not.
www.bostonindustrialsolutions.com