From aa6dc225b4feaa53707f2ffa61e7deae489efb78 Mon Sep 17 00:00:00 2001 From: Ircama Date: Sat, 5 Oct 2024 16:23:59 +0200 Subject: [PATCH] Explanation on how to perform a reverse operation --- README.md | 6 ++++++ ui.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5cf1ce..edd3a31 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,12 @@ optional arguments: epson_print_conf GUI ``` +### How to revert a change performed through the GUI + +The GUI displays a `[NOTE]` in the status box before performing any change, specifying the current EEPROM values before the rewrite operation. This line can be copied and pasted as is into the text box that appears when the "Write EEPROM" button is pressed; the execution of the related action reverts the changes to their original values. + +It is recommended to copy the status history and keep it in a safe place after making changes, so that a reverse operation can be performed when needed. + ### Using the command-line tool ``` diff --git a/ui.py b/ui.py index 3f9302f..950f6fd 100644 --- a/ui.py +++ b/ui.py @@ -28,7 +28,7 @@ from epson_print_conf import EpsonPrinter from find_printers import PrinterScanner -VERSION = "2.2" +VERSION = "2.3" NO_CONF_ERROR = ( "[ERROR] Please select a printer model and a valid IP address," @@ -1232,7 +1232,7 @@ class EpsonPrinterUI(tk.Tk): except Exception as e: self.handle_printer_error(e) self.status_text.insert( - tk.END, f"[WARNING] Write EEPROM completed.\n" + tk.END, f"[INFO] Write EEPROM completed.\n" ) self.config(cursor="") self.update_idletasks()