S-D31 Automatic Irregular End Lining and Drying Machine, equipped with twin lining stations and twin drying ovens, is designed for non-round end (tin or aluminium end). Curled end is separated by a pair of separating knives on the end magazine; then, end is smoothly fed forward via two end pushing bars sliding on liner bearings. End is lifted up by a lower chuck and two sets of electronic lining guns are to evenly spray compound along the end fringe. Guns turn along end fringe according to a cam contour. Lined ends are pushed into oven by end feeding bars and carried up and down by two transfer screws inside the drying oven. Dried ends drop out at the oven bottom. Heating air is created and recycled through electric heaters and blowers. Simple structure and multiple safety devices, easy for operation and maintenance.