Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new printer on ET series #26

Open
MWMatthieuBR opened this issue Oct 2, 2024 · 8 comments
Open

Add new printer on ET series #26

MWMatthieuBR opened this issue Oct 2, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@MWMatthieuBR
Copy link

MWMatthieuBR commented Oct 2, 2024

Hello,
First of all thank you for your program, you saved one of my 2 printers !!!
I followed your instructions to add a new printer with the link on Codeberg, because my first printer is an ET-2756 but the second is an ET-2856 and it is not in your program.

The command only gives me parameters on ET-2851 ET-2853 ET-2855 for the 2850 series, I tried to reset the counter with that but it doesn't work, when I restart my printer I get error E-11.

Can you help me to understand why ? Thank you !

@Ircama
Copy link
Owner

Ircama commented Oct 2, 2024

Good to know that the ET-2756 is working well. However, I'm not familiar with the ET-2856 printer, so I recommend against testing unfamiliar models. Also, please be aware that this program doesn't save the old values before replacing them. If possible, you could try reading the following addresses from another printer of the same model and then save them on yours: 48, 49, 47, 52, 53, 54, 50, 51, 55, 28.

@MWMatthieuBR
Copy link
Author

Hello, i view your commit and git reset to have it.
The config given by codeberg is :

 "ET-2850": {
            "alias": ["ET-2853", "ET-2855", "ET-2851"],
            "read_key": [74, 54],
            "write_key": b'Arantifo',
            "main_waste": {"oids": [48, 49, 47], "divider": 109.13},
            "borderless_waste": {"oids": [50, 51, 47], "divider": 16.31},
            "third_waste": {"oids": [252, 253, 254], "divider": 15.3},
            "raw_waste_reset": {
                48: 0, 49: 0, 47: 0, 52: 0, 53: 0, 54: 94, 50: 0,
                51: 0, 55: 94, 28: 0, 252: 0, 253: 0, 254: 0, 255: 94
            },
            "stats": {
                "Total print pass counter": [133, 132, 131, 130],
                "Total print page counter - rear": [755, 754, 753, 752],
                "Total print page counter - duplex": [763, 762, 761, 760],
                "Total scan counter": [1843, 1842, 1841, 1840],
                "Ink replacement counter %-- Black": [554],
                "Ink replacement counter %-- Cyan": [555],
                "Ink replacement counter %-- Magenta": [556],
                "Ink replacement counter %-- Yellow": [557]
            },
            "serial_number": range(1604, 1614),
        }
     

But with the new code I get an error because he received none for the values :
[ERROR] int() can't convert non-string with explicit base
Traceback (most recent call last):
File "C:\Users***\Desktop\epson_print_conf\ui.py", line 678, in get_current_eeprom_values
org_values = ', '.join(

File "C:\Users***\Desktop\epson_print_conf\ui.py", line 679, in
f"{k}: {int(v, 16)}" for k, v in zip(

TypeError: int() can't convert non-string with explicit base


[NOTE] Current EEPROM values for Raw waste reset: 48: None.
[NOTE] Current EEPROM values for Main waste reset: 48: None.
[NOTE] Current EEPROM values for Borderless waste reset: 50: None.

@Ircama
Copy link
Owner

Ircama commented Oct 5, 2024

But with the new code I get an error because he received none for the values :

This is because you are using a wrong printer model, with a different "read_key" or "write_key" than the interfaced printer and the SNMP requests fail. Now appropriate error messages are produced instead of the Traceback.

@MWMatthieuBR
Copy link
Author

I test with your new version of the project and your answer is good i don't have the good read_key :
ex :

  ADDRESS: 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.7.0.74.54.65.190.160.54.0
  OID: 54=0x36
DEBUG:root:  TAG: OctetString
  RESPONSE: b'\x00||:41:NA;\x0c'
INFO:root:Invalid read key.

But i don't know how to get it. Do you know how ? thanks !

Ircama added a commit that referenced this issue Oct 13, 2024
@Ircama
Copy link
Owner

Ircama commented Oct 13, 2024

But i don't know how to get it. Do you know how ? thanks !

Version 3 includes the "Detect Access Keys" button, which attempts to discover the read_key and write_key of the printer.

Ircama added a commit that referenced this issue Oct 13, 2024
@Ircama Ircama added the answered An answer has been given label Oct 21, 2024
@Ircama Ircama removed the answered An answer has been given label Nov 1, 2024
@PUN-app
Copy link

PUN-app commented Nov 13, 2024

For the ET 2850 using v5.1(IP present but hidden with x)...
[INFO] Detecting printers... (this might take a while)
[INFO] Found printer 'EPSON ET-2850 Series' at x.x.x.x (hostname: Unknown)
[ERROR] Printer model unknown.
[INFO] Starting the access key detection, please wait for many minutes...
[INFO] Detecting the read_key...
[ERROR] Could not detect read_key.

@MWMatthieuBR
Copy link
Author

Same as @PUN-app using the last version, can't detect the read_key..

@Ircama Ircama added the enhancement New feature or request label Nov 18, 2024
@nannys-hedgehog
Copy link

nannys-hedgehog commented Jan 19, 2025

@Ircama I'm just here to report success on an Epson ET-2825, which is the same modell as ET-2820. Thank you for all the effort you took into this project.
To get it working with the ET-2825 I had first to FW downgrade the printer to FW XE18MB from XE120B via WicResetUtility (printer has to be connected via USB for this), since FW XE120B does not support EEPROM access via WIFI but FW XE18MB does. Got the printer definitions imported into epson_print_conf from Codeberg via toml file.

Actually I did reset it at first via Linux and the https://codeberg.org/atufi/reinkpy project. Afterwards I got carried away and explored if it isn't possible via epson_print_conf.exe too (I'm running it on a Win7 machine and used epson_print_conf.exe v5.3.6) and found the solution via firmware downgrade. The WicResetUtility I used was version 5.90.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants