Honeywell Interview Question

Some algorithm about a printer reporting failure.