« Epson RAZ compteur » : différence entre les versions
Aucun résumé des modifications |
|||
| (2 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
EN TRAVAUX | EN TRAVAUX | ||
=Le sujet= | |||
Les fabricants d'imprimantes (et EPSON en particulier) versent l'encre usagée (?) dans un bac. | Les fabricants d'imprimantes (et EPSON en particulier) versent l'encre usagée (?) dans un bac. | ||
Lorsqu'ils estiment que le bac est plein (par comptage), l'imprimante se bloque et il faut apporter l'imprimante à une société de services qui change le bac et remet le compteur à zéro, le tout gratuitement. | Lorsqu'ils estiment que le bac est plein (par comptage), l'imprimante se bloque et il faut apporter l'imprimante à une société de services qui change le bac et remet le compteur à zéro, le tout gratuitement. | ||
| Ligne 6 : | Ligne 7 : | ||
Sachant que l'on trouve sur des sites spécialisés, de quoi changer le papier buvard qui remplit le bac et que ce bac est facile à démonter (bien que se trouvant sous l'imprimante), le sujet est donc : comment remettre à zéro le compteur du bac d'encre usagée. | Sachant que l'on trouve sur des sites spécialisés, de quoi changer le papier buvard qui remplit le bac et que ce bac est facile à démonter (bien que se trouvant sous l'imprimante), le sujet est donc : comment remettre à zéro le compteur du bac d'encre usagée. | ||
Et c'est ce qui a été fait. | Et c'est ce qui a été fait. | ||
=L'état de l'art= | |||
Après le remplacement (ou nettoyage) du tampon encreur, il faut remettre le(s) compteur(s) à zéro. | Après le remplacement (ou nettoyage) du tampon encreur, il faut remettre le(s) compteur(s) à zéro. | ||
| Ligne 22 : | Ligne 25 : | ||
Il se passe que lorsqu'on lance les commandes de lecture de l'EPROM, l'imprimante répond que la connexion est occupée. | Il se passe que lorsqu'on lance les commandes de lecture de l'EPROM, l'imprimante répond que la connexion est occupée. | ||
On a eu beau arrêter cups, cela n'a rien fait. | On a eu beau arrêter cups, cela n'a rien fait. | ||
=Remettre à zéro les compteurs du réservoir d’encre usagée d’imprimantes EPSON sous Linux = | |||
Imprimante XP-900 connectée en USB | |||
Plusieurs liens sur Internet : | |||
- epson_print_conf : pour une imprimante en réseau ; intéressant aussi pour les nombreuses références en bas de page ; | |||
- reink : très complet, un peu compliqué et il faut compiler le programme ; | |||
- reinkpy : réalisé à partir du précédent, il a seulement pour objet de remettre à zéro les compteurs du tampon d’encre usagée | |||
Procédure utilisée : | |||
# Detect Printers | |||
[INFO] Detecting printers... (this might take a while) | |||
[INFO] Found 2 printers: | |||
[WARNING] Cannot contact printer 192.168.2.5 (hostname: Z390). | |||
[WARNING] Cannot contact printer 192.168.122.1 (hostname: Z390). | |||
[INFO] Starting the access key detection, please wait for many minutes... | |||
[INFO] Detecting the read_key... | |||
[INFO] Detected read_key: [20, 4]. | |||
[INFO] Detecting the serial number... | |||
[INFO] Detected serial number "X2EF022683" at address 216. | |||
[NOTE] Current EEPROM value for the last byte of the serial number: 225: 51. | |||
[INFO] Detecting the write_key, do not power off the printer now... | |||
[INFO] Detected write_key: b'Firmiana' | |||
[ERROR] The selected write key b'Irisgarm' is different from the detected one, which will be used to go on. | |||
[INFO] Models with same read_key: ['XP-540', 'XP-960'] | |||
[INFO] Models with same write_key: ['XP-540'] | |||
[INFO] Models with same access keys: ['XP-540'] | |||
[INFO] Found data: {'read_key': [20, 4], 'serial_number': range(216, 226), 'write_key': b'Firmiana'}. | |||
[INFO] Detect operation completed. | |||
## ==> choix XP-540 | |||
# Printer Status 0 | |||
"XP-540": { | |||
"cartridge_information": [ | |||
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"}, | |||
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"}, | |||
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"}, | |||
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"}, | |||
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"}, | |||
], | |||
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"], | |||
"device_identification": { | |||
"Manufacturer": ["EPSON"], | |||
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"], | |||
"Model": ["XP-900 Series"], | |||
"Class": ["PRINTER"], | |||
"Description": ["EPSON XP-900 Series"], | |||
"CID": ["EpsonRGB"], | |||
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"], | |||
"RID": ["40"], | |||
"DDS": ["022500"], | |||
"ELG": ["0D05"], | |||
"SN": ["583245463032323683"], | |||
}, | |||
"firmware_version": "PK21I9 21 Sep 2018", | |||
"printer_status": { | |||
"ready": True, | |||
"status": (4, "Idle (ready to print)"), | |||
"warning_code": ["Black print mode"], | |||
"paper_path": b"\x01\x01", | |||
"replace_cartridge": "00011111", | |||
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)], | |||
"cancel_code": "No request", | |||
"jobname": "Not defined", | |||
"unknown": [ | |||
("0x1b", b"\x00"), | |||
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"), | |||
("0x24", b"\x1f\x1f"), | |||
("0x39", b"\x00"), | |||
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"), | |||
], | |||
"maintenance_box_1": "not full (0)", | |||
"maintenance_box_reset_count_1": 0, | |||
"maintenance_box_2": "not full (0)", | |||
"maintenance_box_reset_count_2": 0, | |||
"serial_number_info": "X2EF022683", | |||
}, | |||
"serial_number": "X2EF022683", | |||
"snmp_info": { | |||
"Model": "EPSON XP-900 Series", | |||
"Epson Printer Name": "XP-900 Series", | |||
"Model short": "XP-900 Series", | |||
"Epson Personal Name": "XP-900 Series", | |||
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22", | |||
"Epson Version number": "20.22.PK21I9.FY16", | |||
"Descr": "EPSON Built-in 11b/g/n Print Server", | |||
"UpTime": "22:28:31", | |||
"Name": "EPSON192C93", | |||
"MAC Address": "9C-AE-D3-19-2C-93", | |||
"Print input": "Auto sheet feeder", | |||
"Lang 1": "unknown", | |||
"Lang 2": "ESCPL2", | |||
"Lang 3": "BDC", | |||
"Lang 4": "D4", | |||
"Lang 5": "ESCPR2", | |||
"Emulation 1": "unknown", | |||
"Emulation 2": "ESC/P2", | |||
"Emulation 3": "BDC", | |||
"Emulation 4": "other", | |||
"Emulation 5": "other", | |||
"Total printed pages": "0", | |||
"IP Address": "", | |||
"IPP_URL": "http://192.168.2.100:631/ipp/print", | |||
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU", | |||
"Driver": "EPSON192C93 XP-900 Series", | |||
"WiFi": "TP-Link_Glaviot", | |||
"MAC Addr": "9C-AE-D3-19-2C-93", | |||
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Power Off Timer": "\x00ot:;\x0c", | |||
}, | |||
"stats": { | |||
"Timer cleaning counter": 3, | |||
"Total print pass counter": 60270, | |||
"Total scan counter": 1651, | |||
"Maintenance required level of 1st waste ink counter": 94, | |||
"Maintenance required level of 2nd waste ink counter": 94, | |||
}, | |||
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36}, | |||
} | |||
# Detect Configuration | |||
"Printer configuration": { | |||
"serial_name[0]": "X2EF022683", | |||
"serial_number[0]": range(216, 226), | |||
"po_time": None, | |||
"Maintenance required level[0]": [52], | |||
"Maintenance required level[1]": [53], | |||
"wifi_mac_address[0]": range(234, 240), | |||
"read_key": [20, 4], | |||
"write_key": b"Firmiana", | |||
} | |||
# Temporary reset of the ink waste counter. | |||
The ink waste counters track the amount of ink discarded during maintenance tasks to prevent | |||
overflow in the waste ink pads. Once the counters indicate that one of the printer pads is full, | |||
the printer will stop working to avoid potential damage or ink spills. | |||
The "Printer status" button includes information showing the levels of the waste ink tanks; | |||
specifically, two sections are relevant: "Maintenance box information" ("maintenance_box_...") | |||
and "Waste Ink Levels" ("waste_ink_levels"). | |||
"maintenance_box_1": "not full (0)", | |||
"maintenance_box_reset_count_1": 0, | |||
"maintenance_box_2": "not full (0)", | |||
"maintenance_box_reset_count_2": 0, | |||
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36}, | |||
The former has a counter associated for each tank, which indicates the number of temporary | |||
resets performed by the user to temporarily restore a disabled printer. | |||
The feature to temporarily reset the ink waste counter is effective if the Maintenance box | |||
information reports that the Maintenance Box is full; it temporarily bypasses the ink waste tank | |||
full warning, which would otherwise disable printing. It is important to know that this setting | |||
is reset upon printer reboot (it does not affect the EEPROM) and can be repeated. Each time the | |||
Maintenance box status switches from "full" to "not full", the "ink replacement cleaning | |||
counter" is increased. A pad maintenance or tank replacement has to be programmed meanwhile. | |||
# Reset the ink waste counter. | |||
This feature permanently resets the ink waste counter. | |||
Resetting the ink waste counter extends the printer operation while a physical pad maintenance | |||
or tank replacement is programmed (operation that shall necessarily be pefromed). | |||
# Temporary Reset Waste Ink Levels | |||
[INFO] Waste ink levels have been temporarily bypassed. You can now print. | |||
# Printer Status 1 | |||
"XP-540": { | |||
"cartridge_information": [ | |||
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"}, | |||
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"}, | |||
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"}, | |||
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"}, | |||
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"}, | |||
], | |||
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"], | |||
"device_identification": { | |||
"Manufacturer": ["EPSON"], | |||
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"], | |||
"Model": ["XP-900 Series"], | |||
"Class": ["PRINTER"], | |||
"Description": ["EPSON XP-900 Series"], | |||
"CID": ["EpsonRGB"], | |||
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"], | |||
"RID": ["40"], | |||
"DDS": ["022500"], | |||
"ELG": ["0D05"], | |||
"SN": ["583245463032323683"], | |||
}, | |||
"firmware_version": "PK21I9 21 Sep 2018", | |||
"printer_status": { | |||
"ready": True, | |||
"status": (4, "Idle (ready to print)"), | |||
"warning_code": ["Black print mode"], | |||
"paper_path": b"\x01\x01", | |||
"replace_cartridge": "00011111", | |||
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)], | |||
"cancel_code": "No request", | |||
"jobname": "Not defined", | |||
"unknown": [ | |||
("0x1b", b"\x00"), | |||
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"), | |||
("0x24", b"\x1f\x1f"), | |||
("0x39", b"\x00"), | |||
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"), | |||
], | |||
"maintenance_box_1": "not full (0)", | |||
"maintenance_box_reset_count_1": 0, | |||
"maintenance_box_2": "not full (0)", | |||
"maintenance_box_reset_count_2": 0, | |||
"serial_number_info": "X2EF022683", | |||
}, | |||
"serial_number": "X2EF022683", | |||
"snmp_info": { | |||
"Model": "EPSON XP-900 Series", | |||
"Epson Printer Name": "XP-900 Series", | |||
"Model short": "XP-900 Series", | |||
"Epson Personal Name": "XP-900 Series", | |||
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22", | |||
"Epson Version number": "20.22.PK21I9.FY16", | |||
"Descr": "EPSON Built-in 11b/g/n Print Server", | |||
"UpTime": "23:20:21", | |||
"Name": "EPSON192C93", | |||
"MAC Address": "9C-AE-D3-19-2C-93", | |||
"Print input": "Auto sheet feeder", | |||
"Lang 1": "unknown", | |||
"Lang 2": "ESCPL2", | |||
"Lang 3": "BDC", | |||
"Lang 4": "D4", | |||
"Lang 5": "ESCPR2", | |||
"Emulation 1": "unknown", | |||
"Emulation 2": "ESC/P2", | |||
"Emulation 3": "BDC", | |||
"Emulation 4": "other", | |||
"Emulation 5": "other", | |||
"Total printed pages": "0", | |||
"IP Address": "", | |||
"IPP_URL": "http://192.168.2.100:631/ipp/print", | |||
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU", | |||
"Driver": "EPSON192C93 XP-900 Series", | |||
"WiFi": "TP-Link_Glaviot", | |||
"MAC Addr": "9C-AE-D3-19-2C-93", | |||
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Power Off Timer": "\x00ot:;\x0c", | |||
}, | |||
"stats": { | |||
"Timer cleaning counter": 3, | |||
"Total print pass counter": 60270, | |||
"Total scan counter": 1651, | |||
"Maintenance required level of 1st waste ink counter": 94, | |||
"Maintenance required level of 2nd waste ink counter": 94, | |||
}, | |||
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36}, | |||
} | |||
"XP-540": { | |||
"cartridge_information": [ | |||
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"}, | |||
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"}, | |||
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"}, | |||
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"}, | |||
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"}, | |||
], | |||
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"], | |||
"device_identification": { | |||
"Manufacturer": ["EPSON"], | |||
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"], | |||
"Model": ["XP-900 Series"], | |||
"Class": ["PRINTER"], | |||
"Description": ["EPSON XP-900 Series"], | |||
"CID": ["EpsonRGB"], | |||
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"], | |||
"RID": ["40"], | |||
"DDS": ["022500"], | |||
"ELG": ["0D05"], | |||
"SN": ["583245463032323683"], | |||
}, | |||
"firmware_version": "PK21I9 21 Sep 2018", | |||
"printer_status": { | |||
"ready": True, | |||
"status": (4, "Idle (ready to print)"), | |||
"warning_code": ["Black print mode"], | |||
"paper_path": b"\x01\x01", | |||
"replace_cartridge": "00011111", | |||
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)], | |||
"cancel_code": "No request", | |||
"jobname": "Not defined", | |||
"unknown": [ | |||
("0x1b", b"\x00"), | |||
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"), | |||
("0x24", b"\x1f\x1f"), | |||
("0x39", b"\x00"), | |||
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"), | |||
], | |||
"maintenance_box_1": "not full (0)", | |||
"maintenance_box_reset_count_1": 0, | |||
"maintenance_box_2": "not full (0)", | |||
"maintenance_box_reset_count_2": 0, | |||
"serial_number_info": "X2EF022683", | |||
}, | |||
"serial_number": "X2EF022683", | |||
"snmp_info": { | |||
"Model": "EPSON XP-900 Series", | |||
"Epson Printer Name": "XP-900 Series", | |||
"Model short": "XP-900 Series", | |||
"Epson Personal Name": "XP-900 Series", | |||
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22", | |||
"Epson Version number": "20.22.PK21I9.FY16", | |||
"Descr": "EPSON Built-in 11b/g/n Print Server", | |||
"UpTime": "23:20:21", | |||
"Name": "EPSON192C93", | |||
"MAC Address": "9C-AE-D3-19-2C-93", | |||
"Print input": "Auto sheet feeder", | |||
"Lang 1": "unknown", | |||
"Lang 2": "ESCPL2", | |||
"Lang 3": "BDC", | |||
"Lang 4": "D4", | |||
"Lang 5": "ESCPR2", | |||
"Emulation 1": "unknown", | |||
"Emulation 2": "ESC/P2", | |||
"Emulation 3": "BDC", | |||
"Emulation 4": "other", | |||
"Emulation 5": "other", | |||
"Total printed pages": "0", | |||
"IP Address": "", | |||
"IPP_URL": "http://192.168.2.100:631/ipp/print", | |||
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU", | |||
"Driver": "EPSON192C93 XP-900 Series", | |||
"WiFi": "TP-Link_Glaviot", | |||
"MAC Addr": "9C-AE-D3-19-2C-93", | |||
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Power Off Timer": "\x00ot:;\x0c", | |||
}, | |||
"stats": { | |||
"Timer cleaning counter": 3, | |||
"Total print pass counter": 60270, | |||
"Total scan counter": 1651, | |||
"Maintenance required level of 1st waste ink counter": 94, | |||
"Maintenance required level of 2nd waste ink counter": 94, | |||
}, | |||
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36}, | |||
} | |||
## no change in status | |||
[Z390:jean-pierre]$ diff status-{before,after}-trwil.txt | |||
55c55 | |||
< "UpTime": "22:28:31", | |||
--- | |||
> "UpTime": "23:20:21", | |||
[Z390:jean-pierre]$ | |||
# Reset Waste Ink Levels | |||
## ...several warnings for end user... | |||
[NOTE] Current EEPROM values for Raw waste reset: 16: 84, 17: 29, 6: 0, 52: 94, 20: 0, 21: 0, 18: 77, 19: 9, 53: 94, 493: 0. | |||
[NOTE] Current EEPROM values for Main waste: 16: 84, 17: 29, 6: 0. | |||
[NOTE] Current EEPROM values for Borderless waste: 18: 77, 19: 9, 6: 0. | |||
[INFO] Waste ink levels have been reset. Perform a power cycle of the printer now. | |||
## ==> performed a power cycle | |||
# Printer Status 2 | |||
"XP-540": { | |||
"cartridge_information": [ | |||
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"}, | |||
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"}, | |||
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"}, | |||
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"}, | |||
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"}, | |||
], | |||
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"], | |||
"device_identification": { | |||
"Manufacturer": ["EPSON"], | |||
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"], | |||
"Model": ["XP-900 Series"], | |||
"Class": ["PRINTER"], | |||
"Description": ["EPSON XP-900 Series"], | |||
"CID": ["EpsonRGB"], | |||
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"], | |||
"RID": ["40"], | |||
"DDS": ["022500"], | |||
"ELG": ["0D05"], | |||
"SN": ["583245463032323683"], | |||
}, | |||
"firmware_version": "PK21I9 21 Sep 2018", | |||
"printer_status": { | |||
"ready": True, | |||
"status": (4, "Idle (ready to print)"), | |||
"warning_code": ["Black print mode"], | |||
"paper_path": b"\x01\x01", | |||
"replace_cartridge": "00011111", | |||
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)], | |||
"cancel_code": "No request", | |||
"jobname": "Not defined", | |||
"unknown": [ | |||
("0x1b", b"\x00"), | |||
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"), | |||
("0x24", b"\x1f\x1f"), | |||
("0x39", b"\x00"), | |||
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"), | |||
], | |||
"maintenance_box_1": "not full (0)", | |||
"maintenance_box_reset_count_1": 0, | |||
"maintenance_box_2": "not full (0)", | |||
"maintenance_box_reset_count_2": 0, | |||
"serial_number_info": "X2EF022683", | |||
}, | |||
"serial_number": "X2EF022683", | |||
"snmp_info": { | |||
"Model": "EPSON XP-900 Series", | |||
"Epson Printer Name": "XP-900 Series", | |||
"Model short": "XP-900 Series", | |||
"Epson Personal Name": "XP-900 Series", | |||
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22", | |||
"Epson Version number": "20.22.PK21I9.FY16", | |||
"Descr": "EPSON Built-in 11b/g/n Print Server", | |||
"UpTime": "00:05:37", | |||
"Name": "EPSON192C93", | |||
"MAC Address": "9C-AE-D3-19-2C-93", | |||
"Print input": "Auto sheet feeder", | |||
"Lang 1": "unknown", | |||
"Lang 2": "ESCPL2", | |||
"Lang 3": "BDC", | |||
"Lang 4": "D4", | |||
"Lang 5": "ESCPR2", | |||
"Emulation 1": "unknown", | |||
"Emulation 2": "ESC/P2", | |||
"Emulation 3": "BDC", | |||
"Emulation 4": "other", | |||
"Emulation 5": "other", | |||
"Total printed pages": "0", | |||
"IP Address": "", | |||
"IPP_URL": "http://192.168.2.100:631/ipp/print", | |||
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU", | |||
"Driver": "EPSON192C93 XP-900 Series", | |||
"WiFi": "TP-Link_Glaviot", | |||
"MAC Addr": "9C-AE-D3-19-2C-93", | |||
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;", | |||
"Power Off Timer": "\x00ot:;\x0c", | |||
}, | |||
"stats": { | |||
"Timer cleaning counter": 3, | |||
"Total print pass counter": 60270, | |||
"Total scan counter": 1651, | |||
"Maintenance required level of 1st waste ink counter": 94, | |||
"Maintenance required level of 2nd waste ink counter": 94, | |||
}, | |||
"waste_ink_levels": {"main_waste": 0.0, "borderless_waste": 0.0}, | |||
} | |||
## Counters have been reset! | |||
[Z390:jean-pierre-]$ diff status-after-{t,}rwil.txt | |||
55c55 | |||
< "UpTime": "23:20:21", | |||
--- | |||
> "UpTime": "00:05:37", | |||
87c87 | |||
< "waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36}, | |||
--- | |||
> "waste_ink_levels": {"main_waste": 0.0, "borderless_waste": 0.0}, | |||
[Z390:jean-pierre]$ | |||
Dernière version du 23 janvier 2026 à 22:09
EN TRAVAUX
Le sujet
Les fabricants d'imprimantes (et EPSON en particulier) versent l'encre usagée (?) dans un bac. Lorsqu'ils estiment que le bac est plein (par comptage), l'imprimante se bloque et il faut apporter l'imprimante à une société de services qui change le bac et remet le compteur à zéro, le tout gratuitement. Cette société est à Lyon...
Sachant que l'on trouve sur des sites spécialisés, de quoi changer le papier buvard qui remplit le bac et que ce bac est facile à démonter (bien que se trouvant sous l'imprimante), le sujet est donc : comment remettre à zéro le compteur du bac d'encre usagée. Et c'est ce qui a été fait.
L'état de l'art
Après le remplacement (ou nettoyage) du tampon encreur, il faut remettre le(s) compteur(s) à zéro. Plusieurs sites proposent, pour ce faire, des exécutables gratuitement ou pour 10 $.
Regarde ces pages: https://github.com/Ircama/epson_print_conf (je pense que c'est ce que j'avais du faire) ou https://resetkey.net/wicreset-linux
Il concerne plutôt les imprimantes en réseau alors que la mienne est connectée en USB. Mais il y a plein de liens intéressants et j'ai trouvé celui-ci : https://codeberg.org/atufi/reinkpy que je vais essayer de creuser. L'initiateur de tous semble https://github.com/lion-simba/reink qui permet de passer toute l'imprimante en revue.
site de https://codeberg.org/atufi/reinkpy Il se passe que lorsqu'on lance les commandes de lecture de l'EPROM, l'imprimante répond que la connexion est occupée. On a eu beau arrêter cups, cela n'a rien fait.
Remettre à zéro les compteurs du réservoir d’encre usagée d’imprimantes EPSON sous Linux
Imprimante XP-900 connectée en USB
Plusieurs liens sur Internet : - epson_print_conf : pour une imprimante en réseau ; intéressant aussi pour les nombreuses références en bas de page ; - reink : très complet, un peu compliqué et il faut compiler le programme ; - reinkpy : réalisé à partir du précédent, il a seulement pour objet de remettre à zéro les compteurs du tampon d’encre usagée
Procédure utilisée :
- Detect Printers
[INFO] Detecting printers... (this might take a while) [INFO] Found 2 printers: [WARNING] Cannot contact printer 192.168.2.5 (hostname: Z390). [WARNING] Cannot contact printer 192.168.122.1 (hostname: Z390). [INFO] Starting the access key detection, please wait for many minutes... [INFO] Detecting the read_key... [INFO] Detected read_key: [20, 4]. [INFO] Detecting the serial number... [INFO] Detected serial number "X2EF022683" at address 216. [NOTE] Current EEPROM value for the last byte of the serial number: 225: 51. [INFO] Detecting the write_key, do not power off the printer now... [INFO] Detected write_key: b'Firmiana' [ERROR] The selected write key b'Irisgarm' is different from the detected one, which will be used to go on. [INFO] Models with same read_key: ['XP-540', 'XP-960'] [INFO] Models with same write_key: ['XP-540'] [INFO] Models with same access keys: ['XP-540'] [INFO] Found data: {'read_key': [20, 4], 'serial_number': range(216, 226), 'write_key': b'Firmiana'}. [INFO] Detect operation completed.
- ==> choix XP-540
- Printer Status 0
"XP-540": {
"cartridge_information": [
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"},
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"},
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"},
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"},
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"},
],
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"],
"device_identification": {
"Manufacturer": ["EPSON"],
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"],
"Model": ["XP-900 Series"],
"Class": ["PRINTER"],
"Description": ["EPSON XP-900 Series"],
"CID": ["EpsonRGB"],
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"],
"RID": ["40"],
"DDS": ["022500"],
"ELG": ["0D05"],
"SN": ["583245463032323683"],
},
"firmware_version": "PK21I9 21 Sep 2018",
"printer_status": {
"ready": True,
"status": (4, "Idle (ready to print)"),
"warning_code": ["Black print mode"],
"paper_path": b"\x01\x01",
"replace_cartridge": "00011111",
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)],
"cancel_code": "No request",
"jobname": "Not defined",
"unknown": [
("0x1b", b"\x00"),
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"),
("0x24", b"\x1f\x1f"),
("0x39", b"\x00"),
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"),
],
"maintenance_box_1": "not full (0)",
"maintenance_box_reset_count_1": 0,
"maintenance_box_2": "not full (0)",
"maintenance_box_reset_count_2": 0,
"serial_number_info": "X2EF022683",
},
"serial_number": "X2EF022683",
"snmp_info": {
"Model": "EPSON XP-900 Series",
"Epson Printer Name": "XP-900 Series",
"Model short": "XP-900 Series",
"Epson Personal Name": "XP-900 Series",
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22",
"Epson Version number": "20.22.PK21I9.FY16",
"Descr": "EPSON Built-in 11b/g/n Print Server",
"UpTime": "22:28:31",
"Name": "EPSON192C93",
"MAC Address": "9C-AE-D3-19-2C-93",
"Print input": "Auto sheet feeder",
"Lang 1": "unknown",
"Lang 2": "ESCPL2",
"Lang 3": "BDC",
"Lang 4": "D4",
"Lang 5": "ESCPR2",
"Emulation 1": "unknown",
"Emulation 2": "ESC/P2",
"Emulation 3": "BDC",
"Emulation 4": "other",
"Emulation 5": "other",
"Total printed pages": "0",
"IP Address": "",
"IPP_URL": "http://192.168.2.100:631/ipp/print",
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU",
"Driver": "EPSON192C93 XP-900 Series",
"WiFi": "TP-Link_Glaviot",
"MAC Addr": "9C-AE-D3-19-2C-93",
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Power Off Timer": "\x00ot:;\x0c",
},
"stats": {
"Timer cleaning counter": 3,
"Total print pass counter": 60270,
"Total scan counter": 1651,
"Maintenance required level of 1st waste ink counter": 94,
"Maintenance required level of 2nd waste ink counter": 94,
},
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36},
}
- Detect Configuration
"Printer configuration": {
"serial_name[0]": "X2EF022683", "serial_number[0]": range(216, 226), "po_time": None, "Maintenance required level[0]": [52], "Maintenance required level[1]": [53], "wifi_mac_address[0]": range(234, 240), "read_key": [20, 4], "write_key": b"Firmiana",
}
# Temporary reset of the ink waste counter.
The ink waste counters track the amount of ink discarded during maintenance tasks to prevent overflow in the waste ink pads. Once the counters indicate that one of the printer pads is full, the printer will stop working to avoid potential damage or ink spills.
The "Printer status" button includes information showing the levels of the waste ink tanks;
specifically, two sections are relevant: "Maintenance box information" ("maintenance_box_...")
and "Waste Ink Levels" ("waste_ink_levels").
"maintenance_box_1": "not full (0)",
"maintenance_box_reset_count_1": 0,
"maintenance_box_2": "not full (0)",
"maintenance_box_reset_count_2": 0,
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36},
The former has a counter associated for each tank, which indicates the number of temporary resets performed by the user to temporarily restore a disabled printer.
The feature to temporarily reset the ink waste counter is effective if the Maintenance box information reports that the Maintenance Box is full; it temporarily bypasses the ink waste tank full warning, which would otherwise disable printing. It is important to know that this setting is reset upon printer reboot (it does not affect the EEPROM) and can be repeated. Each time the Maintenance box status switches from "full" to "not full", the "ink replacement cleaning counter" is increased. A pad maintenance or tank replacement has to be programmed meanwhile.
# Reset the ink waste counter.
This feature permanently resets the ink waste counter.
Resetting the ink waste counter extends the printer operation while a physical pad maintenance or tank replacement is programmed (operation that shall necessarily be pefromed).
- Temporary Reset Waste Ink Levels
[INFO] Waste ink levels have been temporarily bypassed. You can now print.
- Printer Status 1
"XP-540": {
"cartridge_information": [
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"},
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"},
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"},
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"},
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"},
],
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"],
"device_identification": {
"Manufacturer": ["EPSON"],
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"],
"Model": ["XP-900 Series"],
"Class": ["PRINTER"],
"Description": ["EPSON XP-900 Series"],
"CID": ["EpsonRGB"],
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"],
"RID": ["40"],
"DDS": ["022500"],
"ELG": ["0D05"],
"SN": ["583245463032323683"],
},
"firmware_version": "PK21I9 21 Sep 2018",
"printer_status": {
"ready": True,
"status": (4, "Idle (ready to print)"),
"warning_code": ["Black print mode"],
"paper_path": b"\x01\x01",
"replace_cartridge": "00011111",
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)],
"cancel_code": "No request",
"jobname": "Not defined",
"unknown": [
("0x1b", b"\x00"),
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"),
("0x24", b"\x1f\x1f"),
("0x39", b"\x00"),
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"),
],
"maintenance_box_1": "not full (0)",
"maintenance_box_reset_count_1": 0,
"maintenance_box_2": "not full (0)",
"maintenance_box_reset_count_2": 0,
"serial_number_info": "X2EF022683",
},
"serial_number": "X2EF022683",
"snmp_info": {
"Model": "EPSON XP-900 Series",
"Epson Printer Name": "XP-900 Series",
"Model short": "XP-900 Series",
"Epson Personal Name": "XP-900 Series",
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22",
"Epson Version number": "20.22.PK21I9.FY16",
"Descr": "EPSON Built-in 11b/g/n Print Server",
"UpTime": "23:20:21",
"Name": "EPSON192C93",
"MAC Address": "9C-AE-D3-19-2C-93",
"Print input": "Auto sheet feeder",
"Lang 1": "unknown",
"Lang 2": "ESCPL2",
"Lang 3": "BDC",
"Lang 4": "D4",
"Lang 5": "ESCPR2",
"Emulation 1": "unknown",
"Emulation 2": "ESC/P2",
"Emulation 3": "BDC",
"Emulation 4": "other",
"Emulation 5": "other",
"Total printed pages": "0",
"IP Address": "",
"IPP_URL": "http://192.168.2.100:631/ipp/print",
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU",
"Driver": "EPSON192C93 XP-900 Series",
"WiFi": "TP-Link_Glaviot",
"MAC Addr": "9C-AE-D3-19-2C-93",
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Power Off Timer": "\x00ot:;\x0c",
},
"stats": {
"Timer cleaning counter": 3,
"Total print pass counter": 60270,
"Total scan counter": 1651,
"Maintenance required level of 1st waste ink counter": 94,
"Maintenance required level of 2nd waste ink counter": 94,
},
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36},
}
"XP-540": {
"cartridge_information": [
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"},
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"},
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"},
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"},
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"},
],
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"],
"device_identification": {
"Manufacturer": ["EPSON"],
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"],
"Model": ["XP-900 Series"],
"Class": ["PRINTER"],
"Description": ["EPSON XP-900 Series"],
"CID": ["EpsonRGB"],
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"],
"RID": ["40"],
"DDS": ["022500"],
"ELG": ["0D05"],
"SN": ["583245463032323683"],
},
"firmware_version": "PK21I9 21 Sep 2018",
"printer_status": {
"ready": True,
"status": (4, "Idle (ready to print)"),
"warning_code": ["Black print mode"],
"paper_path": b"\x01\x01",
"replace_cartridge": "00011111",
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)],
"cancel_code": "No request",
"jobname": "Not defined",
"unknown": [
("0x1b", b"\x00"),
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"),
("0x24", b"\x1f\x1f"),
("0x39", b"\x00"),
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"),
],
"maintenance_box_1": "not full (0)",
"maintenance_box_reset_count_1": 0,
"maintenance_box_2": "not full (0)",
"maintenance_box_reset_count_2": 0,
"serial_number_info": "X2EF022683",
},
"serial_number": "X2EF022683",
"snmp_info": {
"Model": "EPSON XP-900 Series",
"Epson Printer Name": "XP-900 Series",
"Model short": "XP-900 Series",
"Epson Personal Name": "XP-900 Series",
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22",
"Epson Version number": "20.22.PK21I9.FY16",
"Descr": "EPSON Built-in 11b/g/n Print Server",
"UpTime": "23:20:21",
"Name": "EPSON192C93",
"MAC Address": "9C-AE-D3-19-2C-93",
"Print input": "Auto sheet feeder",
"Lang 1": "unknown",
"Lang 2": "ESCPL2",
"Lang 3": "BDC",
"Lang 4": "D4",
"Lang 5": "ESCPR2",
"Emulation 1": "unknown",
"Emulation 2": "ESC/P2",
"Emulation 3": "BDC",
"Emulation 4": "other",
"Emulation 5": "other",
"Total printed pages": "0",
"IP Address": "",
"IPP_URL": "http://192.168.2.100:631/ipp/print",
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU",
"Driver": "EPSON192C93 XP-900 Series",
"WiFi": "TP-Link_Glaviot",
"MAC Addr": "9C-AE-D3-19-2C-93",
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Power Off Timer": "\x00ot:;\x0c",
},
"stats": {
"Timer cleaning counter": 3,
"Total print pass counter": 60270,
"Total scan counter": 1651,
"Maintenance required level of 1st waste ink counter": 94,
"Maintenance required level of 2nd waste ink counter": 94,
},
"waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36},
}
- no change in status
[Z390:jean-pierre]$ diff status-{before,after}-trwil.txt 55c55 < "UpTime": "22:28:31", --- > "UpTime": "23:20:21", [Z390:jean-pierre]$
- Reset Waste Ink Levels
- ...several warnings for end user...
[NOTE] Current EEPROM values for Raw waste reset: 16: 84, 17: 29, 6: 0, 52: 94, 20: 0, 21: 0, 18: 77, 19: 9, 53: 94, 493: 0. [NOTE] Current EEPROM values for Main waste: 16: 84, 17: 29, 6: 0. [NOTE] Current EEPROM values for Borderless waste: 18: 77, 19: 9, 6: 0. [INFO] Waste ink levels have been reset. Perform a power cycle of the printer now.
- ==> performed a power cycle
- Printer Status 2
"XP-540": {
"cartridge_information": [
{"ink_color": [3351, "unknown color"], "ink_quantity": 53, "production_year": 2015, "production_month": 5, "data": "0F051F15300E010064"},
{"ink_color": [3362, "unknown color"], "ink_quantity": 48, "production_year": 2015, "production_month": 5, "data": "0F050B14190E1000C0"},
{"ink_color": [3364, "unknown color"], "production_year": 2015, "production_month": 5, "data": "0F050516330E0C009E"},
{"ink_color": [3363, "unknown color"], "ink_quantity": 70, "production_year": 2015, "production_month": 5, "data": "0F05060A2F0E0E0012"},
{"ink_color": [3361, "unknown color"], "ink_quantity": 77, "production_year": 2015, "production_month": 9, "data": "0F090B001F0E060027"},
],
"cartridges": ["33XL", "33XL", "33XL", "33XL", "33XL"],
"device_identification": {
"Manufacturer": ["EPSON"],
"Commands": ["ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP"],
"Model": ["XP-900 Series"],
"Class": ["PRINTER"],
"Description": ["EPSON XP-900 Series"],
"CID": ["EpsonRGB"],
"FID": ["FXN,DPA,WFA,ETN,AFN,DAN,WRA"],
"RID": ["40"],
"DDS": ["022500"],
"ELG": ["0D05"],
"SN": ["583245463032323683"],
},
"firmware_version": "PK21I9 21 Sep 2018",
"printer_status": {
"ready": True,
"status": (4, "Idle (ready to print)"),
"warning_code": ["Black print mode"],
"paper_path": b"\x01\x01",
"replace_cartridge": "00011111",
"ink_level": [(11, 0, "Matte Black", "Black", 53), (3, 1, "Cyan", "Cyan", 48), (5, 3, "Yellow", "Yellow", 0), (4, 2, "Magenta", "Magenta", 70), (1, 0, "Black", "Black", 77)],
"cancel_code": "No request",
"jobname": "Not defined",
"unknown": [
("0x1b", b"\x00"),
("0x20", b"\x00ddj\x80eUcbj\x7fgXddd{f_hhhhhhdddddddddddddddddddddddd"),
("0x24", b"\x1f\x1f"),
("0x39", b"\x00"),
("0x3f", b"\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00"),
],
"maintenance_box_1": "not full (0)",
"maintenance_box_reset_count_1": 0,
"maintenance_box_2": "not full (0)",
"maintenance_box_reset_count_2": 0,
"serial_number_info": "X2EF022683",
},
"serial_number": "X2EF022683",
"snmp_info": {
"Model": "EPSON XP-900 Series",
"Epson Printer Name": "XP-900 Series",
"Model short": "XP-900 Series",
"Epson Personal Name": "XP-900 Series",
"EEPS2 firmware version": "EEPS2 Hard Ver.1.00 Firm Ver.0.22",
"Epson Version number": "20.22.PK21I9.FY16",
"Descr": "EPSON Built-in 11b/g/n Print Server",
"UpTime": "00:05:37",
"Name": "EPSON192C93",
"MAC Address": "9C-AE-D3-19-2C-93",
"Print input": "Auto sheet feeder",
"Lang 1": "unknown",
"Lang 2": "ESCPL2",
"Lang 3": "BDC",
"Lang 4": "D4",
"Lang 5": "ESCPR2",
"Emulation 1": "unknown",
"Emulation 2": "ESC/P2",
"Emulation 3": "BDC",
"Emulation 4": "other",
"Emulation 5": "other",
"Total printed pages": "0",
"IP Address": "",
"IPP_URL": "http://192.168.2.100:631/ipp/print",
"LPR_URL": "lpr://192.168.2.100:515/PASSTHRU",
"Driver": "EPSON192C93 XP-900 Series",
"WiFi": "TP-Link_Glaviot",
"MAC Addr": "9C-AE-D3-19-2C-93",
"device_id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Epson device id": "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2,END4,GENEP;MDL:XP-900 Series;CLS:PRINTER;DES:EPSON XP-900 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETN,AFN,DAN,WRA;RID:40;DDS:022500;ELG:0D05;SN:583245463032323683;",
"Power Off Timer": "\x00ot:;\x0c",
},
"stats": {
"Timer cleaning counter": 3,
"Total print pass counter": 60270,
"Total scan counter": 1651,
"Maintenance required level of 1st waste ink counter": 94,
"Maintenance required level of 2nd waste ink counter": 94,
},
"waste_ink_levels": {"main_waste": 0.0, "borderless_waste": 0.0},
}
- Counters have been reset!
[Z390:jean-pierre-]$ diff status-after-{t,}rwil.txt 55c55 < "UpTime": "23:20:21", --- > "UpTime": "00:05:37", 87c87 < "waste_ink_levels": {"main_waste": 156.22, "borderless_waste": 114.36}, --- > "waste_ink_levels": {"main_waste": 0.0, "borderless_waste": 0.0}, [Z390:jean-pierre]$