added log entries to failures.
implemented action for buttons to control the printer.