Device for affixing an edge profile (2,2') to a narrow face (3a, 3a') of a plate-like material, in particular an edge gluing device, - having a plate carrier for receiving a plate-like material, wherein the plate carrier has a plate carrier upper side which extends in a plane (E 1), - having an edge profile supply device for supplying an edge profile (2, 2') and - having an edge profile guide for guiding the edge profile (2,2') on which or by which the edge profile (2, 2') which can be supplied by the edge profile supply device can be guided along, - wherein the edge profile guide as guide means (7, 7') has an upper guide portion and a lower guide portion, respectively, between which the edge profile (2, 2') which can be supplied by the edge profile supply device can be guided along, wherein the upper guide portion and the lower guide portion can be moved relative to the plate carrier in a direction (X 1) which extends at an angle to the plane (E 1) in which the plate carrier upper side extends, characterised - in that a control device is provided which controls the position of each guide means (7, 7'), in particular the upper guide portion and the lower guide portion, - in that the device has at least one sensor, in particular at least one optical sensor, which is connected to the control device, and - in that the control device is constructed in such a manner that it controls the position of each guide means (7, 7') in dependence of sensor data transmitted by the respective sensor, in particular controls in such a manner that the extent of a marking (10,10') provided over the length of the edge profile (2, 2') is oriented parallel to the plane (E 1) in which the plate carrier upper side extends or parallel to the plane (E 2) in which the upper side of the plate-like material extends. - having a plate carrier for receiving a plate-like material, wherein the plate carrier has a plate carrier upper side which extends in a plane (E 1), - having an edge profile supply device for supplying an edge profile (2, 2') and - having an edge profile guide for guiding the edge profile (2,2') on which or by which the edge profile (2, 2') which can be supplied by the edge profile supply device can be guided along, - wherein the edge profile guide as guide means (7, 7') has an upper guide portion and a lower guide portion, respectively, between which the edge profile (2, 2') which can be supplied by the edge profile supply device can be guided along, wherein the upper guide portion and the lower guide portion can be moved relative to the plate carrier in a direction (X 1) which extends at an angle to the plane (E 1) in which the plate carrier upper side extends, - in that a control device is provided which controls the position of each guide means (7, 7'), in particular the upper guide portion and the lower guide portion, - in that the device has at least one sensor, in particular at least one optical sensor, which is connected to the control device, and - in that the control device is constructed in such a manner that it controls the position of each guide means (7, 7') in dependence of sensor data transmitted by the respective sensor, in particular controls in such a manner that the extent of a marking (10,10') provided over the length of the edge profile (2, 2') is oriented parallel to the plane (E 1) in which the plate carrier upper side extends or parallel to the plane (E 2) in which the upper side of the plate-like material extends.