Added displayPrinter functionality