Abstract: The device comprises a fluid-tight and flexible reservoir for a pasty substance fixed in a fluid-tight housing, the outlet orifice from this reservoir for the pasty substance including a cut-off valve which can be opened by contact with the surface of an article. The housing is connected to a source of pressurized gas. The housing includes a cylinder and a piston. Apparatus are provided to control the sliding of this piston to the end of a cylinder, so as to extend the nozzle outwards and a spring is provided to bring back the piston into the housing. The invention is useful for marking mass-produced articles.