Combination of a device for printing on plate-like workpieces, in particular in the region of an edge, and sensors or measuring devices, which device comprises: a plurality of pretreatment modules, a printing device, in particular an ink jet printing device, for printing with a desired pattern on a pretreated section which is to be printed on, and - a control device, wherein the pretreatment modules can be set in operation selectively as a function of the material and/or the surface properties of the section to be printed on, and the pretreatment modules (10, 20, 30, 40) and preferably also the printing device and/or the conveying device are connected to the control device, characterised by a conveying device for moving a workpiece to be printed on past the plurality of pretreatment modules (10, 20, 30, 40) as well as the printing device, wherein the conveying device is a continuous conveying device which conveys the plate-like workpieces to be printed on past or through the pretreatment modules (10, 20, 30, 40) and/or the printing device, wherein the pretreatment modules and the printing device are arranged stationarily, wherein the plurality of pretreatment modules (10, 20, 30, 40) are selected from a precleaning module, degreasing module, module for improving the adhesive and wetting properties and module for reducing the electrostatic charge, wherein information on the nature, number, material and surface properties of the workpiece to be printed on is delivered to the control device, which information is collected by the sensors or measuring devices disposed upstream of the device and forwarded to the control device. a plurality of pretreatment modules, a printing device, in particular an ink jet printing device, for printing with a desired pattern on a pretreated section which is to be printed on, and - a control device, - a control device, wherein the pretreatment modules can be set in operation selectively as a function of the material and/or the surface properties of the section to be printed on, and the pretreatment modules (10, 20, 30, 40) and preferably also the printing device and/or the conveying device are connected to the control device, a conveying device for moving a workpiece to be printed on past the plurality of pretreatment modules (10, 20, 30, 40) as well as the printing device, wherein the conveying device is a continuous conveying device which conveys the plate-like workpieces to be printed on past or through the pretreatment modules (10, 20, 30, 40) and/or the printing device, wherein the pretreatment modules and the printing device are arranged stationarily, wherein the conveying device is a continuous conveying device which conveys the plate-like workpieces to be printed on past or through the pretreatment modules (10, 20, 30, 40) and/or the printing device, wherein the pretreatment modules and the printing device are arranged stationarily, wherein the plurality of pretreatment modules (10, 20, 30, 40) are selected from a precleaning module, degreasing module, module for improving the adhesive and wetting properties and module for reducing the electrostatic charge, wherein information on the nature, number, material and surface properties of the workpiece to be printed on is delivered to the control device, which information is collected by the sensors or measuring devices disposed upstream of the device and forwarded to the control device.