Printer functionality added