• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Need a programmers help to decipher some code

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Mpegger

Member
Joined
Nov 28, 2001
I currently use a Epson R200 with a continuous ink system, as well as SSC Service Utility. The SSC utility has a ink count monitor that can save the current ink levels into the registry and restore them to the printer, so that the ink levels never appear to drop, and I never need to manually reset the ink cartridges because to the printer, the ink always appears to be at the same level.

I'm having trouble though trying to decipher the registry information and how it correlates to the data shown in the SSC ink count monitor window.

These are the actual ink drop counts reported by the utility for each color before resetting the Cyan ink chip:
Code:
Ink Count
Black	(K)	8,518
Cyan(C)		13,294
Magenta(M)	3,910
Yellow(Y)	8,780
LCyan(LC)	6,169
LMagenta(LM)	12,092

And this is the registry key at that point in time (some portions removed for clarity):
Code:
Value 5
  Name:            Epson Stylus Photo R200 (M)_ST
  Type:            REG_BINARY
  Data:            
00000000   32 0c 30 57 45 15 ff ff - ff ff ff ff ff           2.0WE.ÿÿÿÿÿÿÿ

Value 6
  Name:            Epson Stylus Photo R200 (M)_IC
  Type:            REG_BINARY
  Data:            
00000000   fc e2 13 05 9e 8c ec 07 - 8e dd 3b 05 ee b4 54 02  üâ....ì..Ý;.î´T.
00000010   bd 72 ad 03 97 22 35 07 - ff ff ff ff ff ff ff ff  ½r*.."5.ÿÿÿÿÿÿÿÿ
00000020   ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
00000030   ff ff ff ff                                        ÿÿÿÿ

Value 9
  Name:            Epson Stylus Photo R200 (M)_SST
  Type:            REG_BINARY
  Data:            
00000000   33 0c 30 57 46 16 ff ff - ff ff ff ff ff           3.0WF.ÿÿÿÿÿÿÿ

Value 10
  Name:            Epson Stylus Photo R200 (M)_SIC
  Type:            REG_BINARY
  Data:            
00000000   cb 68 fb 04 af ad d7 07 - c2 1f 27 05 bc 2d 42 02  Ëhû.¯*×.Â.'.¼-B.
00000010   51 c2 84 03 fe e9 14 07 - ff ff ff ff ff ff ff ff  QÂ..þé..ÿÿÿÿÿÿÿÿ
00000020   ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
00000030   ff ff ff ff                                        ÿÿÿÿ

What I've figured out so far:

Value 9 & 10 is the saved values of ink count/level shown in the program at the time I choose to save the values. Value 5&6 is the continually updated values as reported by the printer.

Value 5&9 represent the percentage of ink currently in the ink cartridge, represented in Hexadecimal values. The first 6 values represent the 6 ink cartridges that my printer uses in the same order of the values I posted above (K,C,M,Y,LC,LM). The remaining values (all the FF) are null values because of my printer model, but I believe they can be used in other Epson printer models which house more ink cartridges. "32 0c 30 57 45 15 ff ff" would be K=50%, C=12%, M=48%, etc, etc.

Values 6&10 should be the actual ink drop count as shown above, but I cannot figure out how the values are reached. Near as I can tell, each quad group should be the value of the ink drop count, but no matter how I try to convert them (with my limitd knowledge of programming) I cannot come even close to any value represented by the program itself. "cb 68 fb 04" should be the grouping for Black (K), but if that value is a hex representation, it would be a value of 3,412,654,852 in decimal. No where near the 8,518 count shown by the program.

I'm hopeing someone can help with this, as I'd like to manually set the saved values to something much higher so I wouldn't have to deal with resetting the cartridge chips, which is sometimes a pita.


For some help with this, I just finished resetting the Cyan ink cartridge chip, and these are the new values being shown:

Code:
Ink Count
Black		9,941
Cyan		663
Magenta		5,517
Yellow		10,418
LCyan		7,633
LMagenta	13,616

Code:
Value 5
  Name:            Epson Stylus Photo R200 (M)_ST
  Type:            REG_BINARY
  Data:            
00000000   22 63 1e 41 32 08 ff ff - ff ff ff ff ff           "c.A2.ÿÿÿÿÿÿÿ

Value 6
  Name:            Epson Stylus Photo R200 (M)_IC
  Type:            REG_BINARY
  Data:            
00000000   1e ee ec 05 88 40 65 00 - 3f a9 35 06 16 f5 49 03  .îì..@e.?©5..õI.
00000010   e6 b4 8c 04 68 ac 1d 08 - ff ff ff ff ff ff ff ff  æ´..h¬..ÿÿÿÿÿÿÿÿ
00000020   ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
00000030   ff ff ff ff                                        ÿÿÿÿ

(Value 9 & 10 are omitted as they have not changed.)
 
<things that go *bump* in the night...>

No one has any ideas on this? :(

I would start copying and pasting groups of numbers here and there to see if that works, but I'm worried that the numbers themselves might be intended to be reported to the printer, and if I put in something wrong, it might screw it up.
 
Back