In an embodiment, a runtime callback function is a part of a code that is invoked upon execution of an associated function. This device is characterized in that the ring is covered by a sleeve secured to the front end of the body of the handpiece and which, with the ring, delimits an ejection chamber. A dispenser to dispense the polymer solution over the substrate extends into the coating chamber.