Control unit for printing machines