Color register and/or register errors are detected in a printing machine
by using triangles serving as register marks. A first triangle is printed
onto a sheet near the leading edge and a second triangle is printed onto
a sheet near its trailing edge. The first triangle and the second
triangle are detected by a sensor and a displacement of the sheet at
right angles to the travel direction of the sheet and/or an angular
displacement of the sheet is/are determined.