A method for producing a decorative surface on a workpiece, comprising the following steps: - feeding of the workpiece coated with a liquid layer which is polymerizable by electromagnetic radiation to a digital printing station; - application of an agent at least on a partial area of the surface of the liquid layer by the digital printing station, wherein the agent is adapted to at least partially absorbing electromagnetic radiation to reduce the intensity of electromagnetic radiation on the surface of the liquid layer, or which, in contact with the surface, produces a reaction product which is adapted to at least partially absorbing electromagnetic radiation to reduce the intensity of electromagnetic radiation on the surface of the liquid layer; irradiation of the surface of the liquid layer and of the agent with electromagnetic radiation having a wavelength of less than 300 nm, wherein the formation of a microstructure or nanostructure is carried out by the irradiation of the surface of the liquid layer with the electromagnetic radiation in the surface of the uppermost partial area of the liquid layer, which in the later use of the workpiece scatters light reflection and thus results in an optically more matte impression, wherein areas of the liquid layer, which were not covered by the agent are polymerized more strongly as areas, which were covered by the agent, irradiation of the surface of the liquid layer and of the agent with electromagnetic radiation having a variable wavelength for curing of the layer with electromagnetic radiation. - feeding of the workpiece coated with a liquid layer which is polymerizable by electromagnetic radiation to a digital printing station; - application of an agent at least on a partial area of the surface of the liquid layer by the digital printing station, wherein the agent is adapted to at least partially absorbing electromagnetic radiation to reduce the intensity of electromagnetic radiation on the surface of the liquid layer, or which, in contact with the surface, produces a reaction product which is adapted to at least partially absorbing electromagnetic radiation to reduce the intensity of electromagnetic radiation on the surface of the liquid layer; irradiation of the surface of the liquid layer and of the agent with electromagnetic radiation having a wavelength of less than 300 nm, wherein the formation of a microstructure or nanostructure is carried out by the irradiation of the surface of the liquid layer with the electromagnetic radiation in the surface of the uppermost partial area of the liquid layer, which in the later use of the workpiece scatters light reflection and thus results in an optically more matte impression, wherein areas of the liquid layer, which were not covered by the agent are polymerized more strongly as areas, which were covered by the agent, irradiation of the surface of the liquid layer and of the agent with electromagnetic radiation having a variable wavelength for curing of the layer with electromagnetic radiation. irradiation of the surface of the liquid layer and of the agent with electromagnetic radiation having a wavelength of less than 300 nm, wherein the formation of a microstructure or nanostructure is carried out by the irradiation of the surface of the liquid layer with the electromagnetic radiation in the surface of the uppermost partial area of the liquid layer, which in the later use of the workpiece scatters light reflection and thus results in an optically more matte impression, wherein areas of the liquid layer, which were not covered by the agent are polymerized more strongly as areas, which were covered by the agent, irradiation of the surface of the liquid layer and of the agent with electromagnetic radiation having a variable wavelength for curing of the layer with electromagnetic radiation.