一个打印机墨盒计数器清零程序,点击后,用Bus Hound监视USB端口获得以下信息:
我的本意是找出哪几条命令是起到请计数器的功能,想以后单独运行这几条命令来清除墨盒计数器,这样方便,不用通过原来的软件,
那样麻烦。Bus Hound 5.00 capture.
Device - Device ID (followed by the endpoint for USB devices)
(18) USB Printing Support
Phase - Phase Type
CTL USB control transfer
DI Data in
DO Data out
Data - Hex dump of the data transferred
Descr - Description of the phase
Cmd... - Position in the captured data
Device Phase Data Description Cmd.Phase.Ofs(rep)
------ ----- ------------------------ ---------------- ------------------
18.0 CTL a1 00 00 00 00 01 02 04 GET DEVICE ID 1.1.0
18.0 DI 00 86 4d 46 47 3a 43 61 ..MFG:Ca 1.2.0
6e 6f 6e 3b 43 4d 44 3a non;CMD: 1.2.8
42 4a 4c 2c 42 4a 52 61 BJL,BJRa 1.2.16
73 74 65 72 33 2c 42 53 ster3,BS 1.2.24
43 43 65 2c 50 4c 49 3b CCe,PLI; 1.2.32
53 4f 4a 3a 54 58 54 30 SOJ:TXT0 1.2.40
31 3b 4d 44 4c 3a 4d 58 1;MDL:MX 1.2.48
33 30 30 20 73 65 72 69 300 seri 1.2.56
65 73 3b 43 4c 53 3a 50 es;CLS:P 1.2.64
52 49 4e 54 45 52 3b 44 RINTER;D 1.2.72
45 53 3a 43 61 6e 6f 6e ES:Canon 1.2.80
20 4d 58 33 30 30 20 73 MX300 s 1.2.88
65 72 69 65 73 3b 56 45 eries;VE 1.2.96
52 3a 31 2e 30 34 30 3b R:1.040; 1.2.104
53 54 41 3a 31 30 3b 48 STA:10;H 1.2.112
52 49 3a 41 53 49 3b 4d RI:ASI;M 1.2.120
53 49 3a 45 33 3b SI:E3; 1.2.128
18.1 DO 00 00 00 00 .... 2.1.0
18.1 DO 00 . 3.1.0
18.1 DO 1b 5b 4b 02 00 00 1f 42 .[K....B 4.1.0
4a 4c 53 54 41 52 54 0a JLSTART. 4.1.8
40 44 6f 74 43 6f 75 6e @DotCoun 4.1.16
74 43 6c 65 61 72 3d 43 tClear=C 4.1.24
4d 59 0a 42 4a 4c 45 4e MY.BJLEN 4.1.32
44 0a D. 4.1.40
18.0 CTL a1 00 00 00 00 01 02 04 GET DEVICE ID 5.1.0
18.0 DI 00 86 4d 46 47 3a 43 61 ..MFG:Ca 5.2.0
6e 6f 6e 3b 43 4d 44 3a non;CMD: 5.2.8
42 4a 4c 2c 42 4a 52 61 BJL,BJRa 5.2.16
73 74 65 72 33 2c 42 53 ster3,BS 5.2.24
43 43 65 2c 50 4c 49 3b CCe,PLI; 5.2.32
53 4f 4a 3a 54 58 54 30 SOJ:TXT0 5.2.40
31 3b 4d 44 4c 3a 4d 58 1;MDL:MX 5.2.48
33 30 30 20 73 65 72 69 300 seri 5.2.56
65 73 3b 43 4c 53 3a 50 es;CLS:P 5.2.64
52 49 4e 54 45 52 3b 44 RINTER;D 5.2.72
45 53 3a 43 61 6e 6f 6e ES:Canon 5.2.80
20 4d 58 33 30 30 20 73 MX300 s 5.2.88
65 72 69 65 73 3b 56 45 eries;VE 5.2.96
52 3a 31 2e 30 34 30 3b R:1.040; 5.2.104
53 54 41 3a 31 30 3b 48 STA:10;H 5.2.112
52 49 3a 41 53 49 3b 4d RI:ASI;M 5.2.120
53 49 3a 45 33 3b SI:E3; 5.2.128
|