Labeling machine for flat surface