Commit Graph

188 Commits

Author SHA1 Message Date
Ircama
b6ffcbce71 Fix version message 2024-11-04 11:02:37 +01:00
Ircama
e1f77eab8b Fix small glitches 2024-11-04 10:42:03 +01:00
Ircama
cff5de2f02 Merge branch 'main' of https://github.com/Ircama/epson_print_conf 2024-11-03 13:15:42 +01:00
Ircama
6304a02a83 UI menu bar, import/export conf files from the UI, exclude L3250 2024-11-03 13:13:56 +01:00
julienlancia
3a07fd6a89 add alias XP-225 to XP-422 as per https://codeberg.org/atufi/reinkpy/src/branch/main/reinkpy/epson.toml (#34) 2024-10-30 20:11:24 +01:00
Ircama
1f993d77a2 Refinements 2024-10-24 01:55:45 +02:00
Ircama
e9620c0d94 Refinements 2024-10-24 00:55:00 +02:00
Ircama
1b7c538df7 Refinements 2024-10-24 00:49:56 +02:00
Ircama
bc0b9195bb Appropriate management of issues 2024-10-24 00:36:43 +02:00
Ircama
611bad3918 Disable blank issues 2024-10-23 23:50:09 +02:00
Ircama
f87ef1cbb0 Update software-bug-report.md 2024-10-22 22:48:26 +02:00
Ircama
1ac48ecc7c Update issue templates 2024-10-22 22:45:24 +02:00
Ircama
bfde81a9f8 Update issue templates 2024-10-22 22:43:54 +02:00
Ircama
9bc564afc5 TOML usage 2024-10-22 08:41:36 +02:00
Ircama
6bab3a0591 Fix F3 error when no address is selected 2024-10-21 10:26:48 +02:00
Ircama
0eb4f79582 Manage exceptions and defaults in parse_devices.py 2024-10-21 10:11:18 +02:00
Ircama
c83205d2ea Improved TOML support 2024-10-21 08:46:05 +02:00
Ircama
4a65352c89 Process TOML format
Ref #32

Example:

Input file epson.toml

```
[[EPSON]]
rkey = 0x364A
wkey = "Bsboujgp"
wkey1 = "Arantifo"
models = ["ET-2850", "ET-2851", "ET-2853", "ET-2855", "L4260", "L4261", "L4263", "L4265", "L4266", "L4267", "L4268", "L4269", "Workforce ST-C2100"]
mem = [
{ addr = [0x1C,0x34,0x35,0x36,0x37,0xFF] , desc = "Waste counters (?)" , reset = [0x00,0x00,0x00,0x5E,0x5E,0x5E] },
{ addr = [0x2F] , desc = "Waste counter" },
{ addr = [0x30,0x31] , desc = "Waste counter" },
{ addr = [0x32,0x33] , desc = "Waste counter" },
{ addr = [0xFC,0xFD] , desc = "Waste counter" },
{ addr = [0xFE] , desc = "Waste counter" },
]
rlen = 2
wlen = 2
mem_high = 0x7FF
```

Command:

```
python3 parse_devices.py -T -c epson.toml -i -l 200
```

Conversion:
```
    PRINTER_CONFIG = {
        "ET-2850": {
            "read_key": [74, 54],
            "write_key": b"Arantifo",
            "raw_waste_reset": {28: 0, 52: 0, 53: 0, 54: 94, 55: 94, 255: 94, 47: 0, 48: 0, 49: 0, 50: 0, 51: 0, 252: 0, 253: 0, 254: 0},
            "alias": ["ET-2851", "ET-2853", "ET-2855", "L4260", "L4261", "L4263", "L4265", "L4266", "L4267", "L4268", "L4269", "Workforce ST-C2100"],
            "stats": {
                "Maintenance required level of 1st waste ink counter": [54],
                "Maintenance required level of 2nd waste ink counter": [55],
                "Maintenance required level of 3rd waste ink counter": [255],
            },
        }
    }
```
2024-10-21 06:45:53 +02:00
Ircama
adcbffd72b Allow chaining the detection of keys and configuration 2024-10-20 17:37:24 +02:00
Ircama
253c45bbc8 Add "brand_name" and "model_name" configuration attributes
Improve documentation

Fix some issue
2024-10-20 15:11:05 +02:00
Ircama
f09eff6b98 Code additions for version 4.0
- Detect the printer configuration
- Change the printer WiFi MAC address and the printer serial number
- Special features allow showing the internal configuration settings
2024-10-20 13:10:42 +02:00
Ircama
c863a4c3f0 Remove Python 3.7 from syntax checker and add 3.11 and 3.12 2024-10-13 23:59:23 +02:00
Ircama
bf0b7d74e5 Add comment 2024-10-13 23:55:50 +02:00
Ircama
9ec3dbb367 Add write_key detection
ref #26
ref #29
2024-10-13 23:52:41 +02:00
Ircama
7b51cd444d Add web interface and firmware version buttons 2024-10-06 14:46:18 +02:00
Ircama
cc0510aae3 Add read_key detection in the GUI 2024-10-06 08:23:00 +02:00
Ircama
27433686ec Dynamically disable EEPROM buttons 2024-10-05 17:45:04 +02:00
Ircama
aa6dc225b4 Explanation on how to perform a reverse operation 2024-10-05 16:23:59 +02:00
Ircama
ea059cbde9 Handle printer model error when reading EEPROM values; add read/write EEPROM
ref #26
2024-10-05 15:31:33 +02:00
Ircama
4f3027f972 Better labels 2024-10-03 11:22:55 +02:00
Ircama
526e5d07d4 Add dump of the current EEPROM values before confirming new values
Ref #26
2024-10-03 11:09:09 +02:00
Ircama
41c20abf04 Revise printer definition and improve UI 2024-09-29 10:19:21 +02:00
Ircama
aeca76efa9 Fix "write_key" error for printer L366
Resolve #21
2024-09-20 12:26:15 +02:00
Ircama
e15d9b3126 Fix missing newline in warning message 2024-09-20 11:15:28 +02:00
Ircama
350ca81474 Fix importing black when building exe with pyinstaller 2024-09-20 10:34:13 +02:00
Ircama
69a6e9bf06 Improving exception messages
ref #21
2024-09-20 08:35:28 +02:00
Ircama
2b77c8065a Add black to requirements and improve UI
fix #22
2024-09-20 07:51:02 +02:00
Ircama
4293959e3a Use version 9 of the stale workflow 2024-09-19 05:27:34 +02:00
Ircama
249ee446ab v2.2 - bug fixing and UI improvements 2024-09-19 04:49:14 +02:00
Ircama
f2e4955725 Added R2000, fixed XP-820 and XP-850 2024-09-05 22:03:04 +02:00
Ircama
8238b5226b Adding example to integrate new printers 2024-09-05 09:17:00 +02:00
Ircama
a64fea1ec7 Add ET-4700
Resolves #12
2024-08-30 12:26:00 +02:00
Ircama
2d81571e32 Remove ping
Ref #12
2024-08-30 11:48:57 +02:00
Ircama
114184913b Fix some bugs and add PX720WD printer
Resolves #11
2024-08-30 09:18:47 +02:00
Ircama
3d9f21f140 Added some printers
Resolves #8
2024-08-23 11:11:25 +02:00
Ircama
dfef926599 Add github version 2024-08-13 23:22:25 +02:00
Ircama
58dbd5cfd8 Improvements 2024-08-13 18:12:27 +02:00
Ircama
b9048b5bcd Support of L3151, L3160, L3166, L3168
Closes #7
2024-08-12 09:16:31 +02:00
Ircama
902fd1bf2c New comments 2024-08-09 23:22:32 +02:00
Ircama
18b26d3896 Description of @BDC ST2 2024-08-09 16:44:30 +02:00