Explanation on how to perform a reverse operation

This commit is contained in:
Ircama 2024-10-05 16:23:59 +02:00
parent ea059cbde9
commit aa6dc225b4
2 changed files with 8 additions and 2 deletions

View file

@ -116,6 +116,12 @@ optional arguments:
epson_print_conf GUI 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 ### Using the command-line tool
``` ```

4
ui.py
View file

@ -28,7 +28,7 @@ from epson_print_conf import EpsonPrinter
from find_printers import PrinterScanner from find_printers import PrinterScanner
VERSION = "2.2" VERSION = "2.3"
NO_CONF_ERROR = ( NO_CONF_ERROR = (
"[ERROR] Please select a printer model and a valid IP address," "[ERROR] Please select a printer model and a valid IP address,"
@ -1232,7 +1232,7 @@ class EpsonPrinterUI(tk.Tk):
except Exception as e: except Exception as e:
self.handle_printer_error(e) self.handle_printer_error(e)
self.status_text.insert( self.status_text.insert(
tk.END, f"[WARNING] Write EEPROM completed.\n" tk.END, f"[INFO] Write EEPROM completed.\n"
) )
self.config(cursor="") self.config(cursor="")
self.update_idletasks() self.update_idletasks()