Computer-implemented method for controlling a screen printing machine with a) at least one electric squeegee drive for translating a squeegee of the screen printing machine relative to a screen of the screen printing machine at least along an X-axis which is parallel to the screen, b) at least one electric plate drive for shifting of a printing plate of the screen printing machine at least along the X-axis relative to the screen and c) at least one computer device communicatively connected to the squeegee drive and the plate drive, comprising the following steps: d) fixing a substrate on the printing plate, e) automated printing of a printing paste with the squeegee through the screen for producing a print image on the substrate after the fixing, e1) wherein the computer device pulls the squeegee with the squeegee drive with a squeegee speed (v P) along the X-axis over the screen, f) removing the substrate from the screen after the printing, g) determining at least one deviation (Δx) of an actual dimension (x i) of the print image along the X-axis from a corresponding target dimension (x s) of the print image after the printing and after the removing of the substrate from the screen, h) calculating at least one plate speed (v P) of the printing plate for compensating the deviation (Δx) by the computer device and i) shifting of the printing plate with the plate drive with the at least one plate speed (v P) along the X-axis by the computer device during a further printing operation, j) wherein the determining of the deviation (Δx) of the actual dimension (x i) of the print image from the corresponding target dimension (x s) comprises the following steps: j1) identifying the actual dimension (x i) of the print image along the X-axis after the printing automatically by the computer device with the aid of a sensor system of the screen printing machine which is communicatively connected with the computer device and j2) calculating the deviation (Δx) as a difference (x i - x s) between the target dimension (x s) and the actual dimension (x i). a) at least one electric squeegee drive for translating a squeegee of the screen printing machine relative to a screen of the screen printing machine at least along an X-axis which is parallel to the screen, b) at least one electric plate drive for shifting of a printing plate of the screen printing machine at least along the X-axis relative to the screen and c) at least one computer device communicatively connected to the squeegee drive and the plate drive, d) fixing a substrate on the printing plate, e) automated printing of a printing paste with the squeegee through the screen for producing a print image on the substrate after the fixing, e1) wherein the computer device pulls the squeegee with the squeegee drive with a squeegee speed (v P) along the X-axis over the screen, f) removing the substrate from the screen after the printing, g) determining at least one deviation (Δx) of an actual dimension (x i) of the print image along the X-axis from a corresponding target dimension (x s) of the print image after the printing and after the removing of the substrate from the screen, h) calculating at least one plate speed (v P) of the printing plate for compensating the deviation (Δx) by the computer device and i) shifting of the printing plate with the plate drive with the at least one plate speed (v P) along the X-axis by the computer device during a further printing operation, j) wherein the determining of the deviation (Δx) of the actual dimension (x i) of the print image from the corresponding target dimension (x s) comprises the following steps: j1) identifying the actual dimension (x i) of the print image along the X-axis after the printing automatically by the computer device with the aid of a sensor system of the screen printing machine which is communicatively connected with the computer device and j2) calculating the deviation (Δx) as a difference (x i - x s) between the target dimension (x s) and the actual dimension (x i). j1) identifying the actual dimension (x i) of the print image along the X-axis after the printing automatically by the computer device with the aid of a sensor system of the screen printing machine which is communicatively connected with the computer device and j2) calculating the deviation (Δx) as a difference (x i - x s) between the target dimension (x s) and the actual dimension (x i).