a method of operating a digital printer comprises printing a machine - readable code and at least one test patch on at least one sheet . the photosensor detects the machine readable code on the moving sheet , and , in response to the detecting , initiates the photosensor reading the test patch on the moving sheet . the test patches can be distributed over many sheets , depending on the nature of the desired test routine and the type of sheet that has recently been output by the printer .