[Zn:1].[Sn].S(=O)(=O)([O-])N.[Zn+2].S(=O)(=O)([O-])N.[S:14]([O-:18])([O-:17])(=[O:16])=[O:15].[Sn+4:19].[S:20]([O-:24])([O-:23])(=[O:22])=[O:21].S(=O)(=O)(O)N>>[S:14]([O-:18])([O-:17])(=[O:16])=[O:15].[Sn+4:19].[S:20]([O-:24])([O-:23])(=[O:22])=[O:21].[S:14]([O-:18])([O-:17])(=[O:16])=[O:15].[Zn+2:1]A method of preparing a steel surface for painting or enamelling which comprises the step of coating the surface with a tin-zinc alloy by electrodeposition from an aqueous electrolyte containing zinc sulphamate, tin sulphate and sulphamic acid, the proportion of tin sulphate to zinc sulphate being such as to provide a weight ratio of not less than 20:80 and not more than 60:40 between the tin and the zinc present in the solution.