The printing machine can print the colors on the material. The PLC with electronic CAM function and servo system rolling the roller with colors swatch on the material through the coupling of master-slave axes. The principle is print one color on the plate. Then cover this plate on another one, make the plate frame conincided, at last print another kind of color, by now the product printing is completed with two colors.