In labeling machines, sensors detect containers to be labeled. It is decisive that the containers are detected in a precise and timely manner. The O-21 series miniature retro reflective sensor can be operated with very small reflectors. Functionally reliable, space-saving triggering can thereby be realized in the narrow installation space of the label dispenser.