Implements a printer for directing output to a user interface.