created Printer to manage the tracking of characters printed