-
Notifications
You must be signed in to change notification settings - Fork 9
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
WIC goes back to its previous value after reboot+print #1
Comments
Hi @PeaShooterR, On my WF-7525, I am able to set the waste ink counters with just the following data: However, when I reset the counters using
This means that it writes (by getting 🤷) the following values:
By default, when your waste counters are full, This means that, for OIDs 20 and 21, hex(int((80 / 100) * 19650)) == 0x3d68
hex(104), hex(61) = (0x68, 0x3d) The same applies for OIDs 22 and 23, but with a different constant. Therefore, I am unsure what the other OIDs represent, or what their significance is, unfortunately. I believe In order to troubleshoot the issue you are experiencing with your PX-047A, can you send any logs or If we manage to get this consistently working for another model, I'd love to integrate it into the project, with a collection of Hope this helps, |
To add to this, from what I can see, all counters are stored in consecutive pairs, e.g. |
Based on your instructions, I set one counter to 100% temporarily, then use Here's the log file:
Which means
After several reboots and printouts, I have understanded what these values means.
Whenever a print job is received, the printer will compare the REAL data and the SHOWN data, then updates SHOWN data to the larger value. After performing operations such as head cleaning that increase the counter, the printer increments the SHOWN data and saves it to both |
Interesting that it stores the counters across three OIDs, which are not consecutive, and the real/shown value is separated and compared for counter one. Good to know that OIDs 46 and 47 represent the maintenance levels too. Presumably that is the same as 60 and 61 for my model. Nicely done and thanks for sharing! |
I forked a copy of your code and made modifications for my own printer.
By sniffering WIC Reset Utility I found that it reads 24, 25, 30, 26, 27, 34. And the 'write' command of my printer is
.78.118.116.100.98.115.106.47
I reset the values of 24, 25, 30, 26, 27, and 34 to 0. After rebooting the printer and printing a document, the second waste ink level successfully reset to 0, but the first waste ink level reverted back to its previous value.
I noticed that you also set a few other oids in line 168.
data = {20: 0, 21: 0, 22: 0, 23: 0, 24: 0, 25: 0, 59: 0, 60: 94, 61: 94}
I think the issue might be related to those additional oids.
Could you please let me know what they are and how I can find them?
Thank your for your work.
The text was updated successfully, but these errors were encountered: