Device for affixing an edge profile to a narrow face 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 and - having an edge profile guide for guiding the edge profile on which or by which the edge profile which can be supplied by the edge profile supply device can be guided along, - wherein the edge profile guide as guide means has an upper guide portion and a lower guide portion , respectively, between which the edge profile 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 , 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 in dependence of sensor data transmitted by the respective sensor , in particular controls in such a manner that the extent of a marking provided over the length (L) of the edge profile 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 and - having an edge profile guide for guiding the edge profile on which or by which the edge profile which can be supplied by the edge profile supply device can be guided along, - wherein the edge profile guide as guide means has an upper guide portion and a lower guide portion , respectively, between which the edge profile 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 , 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 in dependence of sensor data transmitted by the respective sensor , in particular controls in such a manner that the extent of a marking provided over the length (L) of the edge profile 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. <EOS>