I worked at a shelving company during Uni and they powder coated metal, I think that the paint is applied with a static charge to make it stick evenly to the metal .. not totally sure and that might be on an industrial scale.