Last active
January 4, 2024 07:11
-
-
Save calli23/2fb251bbf60ad2c8ad7ac9471cf618c1 to your computer and use it in GitHub Desktop.
Reset Epson XP-442 printer waste ink counter to 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use Windows/Linux/MacOS Command Line and make sure that snmpget is available. | |
If so, execute the following commands to reset waste ink counter to 0 for EPSON XP-442. | |
(Replace [printer ip] with your local printer ip) | |
Other Models can be also reset with different values. Therefore use Wireshark and wicreset to get the right values. | |
Explanation for this example: | |
1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1 is static eeprom_link | |
124.124.16.0 is eeprom write mode / 124.124.7.0 is read mode | |
1.5 is model specific password | |
66.189.33 is static when using write commands via SNMP to epson printers | |
24/25/26/27 is model specific object id (oid) that stores waste ink counter values (pairwise 24/25 and 26/27) | |
0 is a fix value | |
second 0 is the value to write to the printer | |
84.118.115.98.101.118 is a model specific secret to write values to the printer | |
For any other models try to use wicreset and sniff snmp-packages with wireshark to find out the right values. | |
Read the waste ink counters in wicreset to get the right object ids and model specific password. | |
If you have already reset the waste ink counter with wicreset, use the free read and write function for the | |
serial number instead and sniff the packages (serial number oids are 192-201). There you can find the secret to write to the printer. | |
Feel free to comment, if you need help for any other model. | |
*/ | |
Windows Commands: | |
snmpget.exe -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.24.0.0.84.118.115.98.110.98.101.118 | |
snmpget.exe -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.25.0.0.84.118.115.98.110.98.101.118 | |
snmpget.exe -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.26.0.0.84.118.115.98.110.98.101.118 | |
snmpget.exe -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.27.0.0.84.118.115.98.110.98.101.118 | |
Linux/MacOS Commands: | |
snmpget -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.24.0.0.84.118.115.98.110.98.101.118 | |
snmpget -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.25.0.0.84.118.115.98.110.98.101.118 | |
snmpget -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.26.0.0.84.118.115.98.110.98.101.118 | |
snmpget -Oa -v1 -c public [printer ip] 1.3.6.1.4.1.1248.1.2.2.44.1.1.2.1.124.124.16.0.1.5.66.189.33.27.0.0.84.118.115.98.110.98.101.118 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment