Skip to content

Instantly share code, notes, and snippets.

@franTarkenton
Created October 29, 2016 20:59
Show Gist options
  • Save franTarkenton/598dd615c4dec43c14dd68ecd9e03ec1 to your computer and use it in GitHub Desktop.
Save franTarkenton/598dd615c4dec43c14dd68ecd9e03ec1 to your computer and use it in GitHub Desktop.
ReInk v0.6 test report.
sysname: Linux
release: 4.4.0-45-generic
varsion: #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016
arch: x86_64
=== printer_connect ===
Opening raw device... OK
Entering IEEE 1284.4 mode... --- EnterD4Mode ---
Send:
*****@EJL 1284.4
@EJL
@EJL
0: 00 00 00 1b 01 40 45 4a 4c 20 31 32 38 34 2e 34
@ E J L 1 2 8 4 . 4
16: 0a 40 45 4a 4c 0a 40 45 4a 4c 0a
@ E J L @ E J L
SafeWrite:
*****@EJL 1284.4
@EJL
@EJL
0: 00 00 00 1b 01 40 45 4a 4c 20 31 32 38 34 2e 34
@ E J L 1 2 8 4 . 4
16: 0a 40 45 4a 4c 0a 40 45 4a 4c 0a
@ E J L @ E J L
length: 8
read: 8 total: 8
Recv:
0: 00 00 00 08 01 00 c5 00
OK
Perfoming IEEE 1284.4 Init transaction... --- Init ---
Send:
0: 00 00 00 08 01 00 00 10
SafeWrite:
0: 00 00 00 08 01 00 00 10
length: 9
read: 0 9 total: 9
Recv:
0: 00 00 00 09 01 00 80 00 10
OK
^^^ printer_connect ^^^
=== open_channel ===
Obtaining IEEE 1284.4 socket for "EPSON-CTRL" service... --- GetSocketID ---
Send:
****** EPSON-CTRL
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 43 54 52
E P S O N - C T R
16: 4c
L
SafeWrite:
****** EPSON-CTRL
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 43 54 52
E P S O N - C T R
16: 4c
L
length: 19
read: 0 19 total: 19
Recv:
*********EPSON-CTRL
0: 00 00 00 13 01 00 89 00 02 45 50 53 4f 4e 2d 43
E P S O N - C
16: 54 52 4c
T R L
OK, socket=2.
Opening IEEE 1284.4 channel 2-2... --- OpenChannel ---
Send:
0: 00 00 00 11 01 00 01 02 02 02 00 02 00 00 00 00
16: 00
SafeWrite:
0: 00 00 00 11 01 00 01 02 02 02 00 02 00 00 00 00
16: 00
length: 16
read: 0 16 total: 16
Recv:
0: 00 00 00 10 01 00 81 00 02 02 00 40 02 00 00 00
OK
^^^ open_channel ^^^
=== open_channel ===
Obtaining IEEE 1284.4 socket for "EPSON-DATA" service... --- GetSocketID ---
Send:
****** EPSON-DATA
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54
E P S O N - D A T
16: 41
A
SafeWrite:
****** EPSON-DATA
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54
E P S O N - D A T
16: 41
A
length: 19
read: 0 19 total: 19
Recv:
********@EPSON-DATA
0: 00 00 00 13 01 00 89 00 40 45 50 53 4f 4e 2d 44
@ E P S O N - D
16: 41 54 41
A T A
OK, socket=64.
Opening IEEE 1284.4 channel 64-64... --- OpenChannel ---
Send:
0: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00
16: 00
SafeWrite:
0: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00
16: 00
length: 16
read: 0 16 total: 16
Recv:
0: 00 00 00 10 01 00 81 00 40 40 02 00 02 00 00 00
OK
^^^ open_channel ^^^
=== close_channel ===
Closing IEEE 1284.4 channel 64-64... --- CloseChannel ---
Send:
0: 00 00 00 0a 01 00 02 40 40 00
SafeWrite:
0: 00 00 00 0a 01 00 02 40 40 00
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 82 00 40 40
OK
^^^ close_channel ^^^
=== printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2-2... --- CreditRequest ---
Send:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
SafeWrite:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
length: 12
read: 0 12 total: 12
Recv:
0: 00 00 00 0c 01 00 84 00 02 02 00 01
OK, got 1 credits.
Writing data to printer... --- Send Data ---
SafeWrite:
0: 02 02 00 0b 00 00 64 69 01 00 01
OK
Get the answer... --- Credit ---
Send:
0: 00 00 00 0b 01 00 03 02 02 00 01
SafeWrite:
0: 00 00 00 0b 01 00 03 02 02 00 01
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 83 00 02 02
Recv:
0: 02 02 00 94 00 01
toGet: 142
Recv:
@EJL ID
MFG:EPSON;
CMD:ESCPL2,BDC,D4,D4PX,ESCPR2;
MDL:Artisan 1430;
CLS:PRINTER;
DES:EPSON Artisan 1430;
CID:EpsonRGB;
FID:FXN,DPN,WFA,ETN,AFN,DAN;
0: 40 45 4a 4c 20 49 44 0d 0a 4d 46 47 3a 45 50 53
@ E J L I D M F G : E P S
16: 4f 4e 3b 43 4d 44 3a 45 53 43 50 4c 32 2c 42 44
O N ; C M D : E S C P L 2 , B D
32: 43 2c 44 34 2c 44 34 50 58 2c 45 53 43 50 52 32
C , D 4 , D 4 P X , E S C P R 2
48: 3b 4d 44 4c 3a 41 72 74 69 73 61 6e 20 31 34 33
; M D L : A r t i s a n 1 4 3
64: 30 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45
0 ; C L S : P R I N T E R ; D E
80: 53 3a 45 50 53 4f 4e 20 41 72 74 69 73 61 6e 20
S : E P S O N A r t i s a n
96: 31 34 33 30 3b 43 49 44 3a 45 70 73 6f 6e 52 47
1 4 3 0 ; C I D : E p s o n R G
112: 42 3b 46 49 44 3a 46 58 4e 2c 44 50 4e 2c 57 46
B ; F I D : F X N , D P N , W F
128: 41 2c 45 54 4e 2c 41 46 4e 2c 44 41 4e 3b
A , E T N , A F N , D A N ;
OK
^^^ printer_transact ^^^
=== printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2-2... --- CreditRequest ---
Send:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
SafeWrite:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
length: 12
read: 0 12 total: 12
Recv:
0: 00 00 00 0c 01 00 84 00 02 02 00 01
OK, got 1 credits.
Writing data to printer... --- Send Data ---
SafeWrite:
0: 02 02 00 0b 00 00 73 74 01 00 01
OK
Get the answer... --- Credit ---
Send:
0: 00 00 00 0b 01 00 03 02 02 00 01
SafeWrite:
0: 00 00 00 0b 01 00 03 02 02 00 01
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 83 00 02 02
Recv:
0: 02 02 00 b3 00 01
toGet: 173
Recv:
@BDC ST2
**************4**&**C**@**C**C* * N*NN*NN*****bb* *****unknown****
NAMY005778 I*bbbbbbbefeaebegeaeeegeaaddddddeegeaabbbbbbbbbbbbddddddbbbbbbdddddddddddd$***7******
0: 40 42 44 43 20 53 54 32 0d 0a a1 00 01 01 04 06
@ B D C S T 2
16: 02 01 ff 0f 13 03 05 03 34 01 00 26 06 04 43 07
4 & C
32: 05 40 04 02 43 03 01 43 10 09 01 0c 4e 0e 4e 4e
@ C C N N N
48: 08 4e 4e 13 01 01 15 02 62 62 19 0c 00 00 00 00
N N b b
64: 00 75 6e 6b 6e 6f 77 6e 1b 01 00 1f 0a 4e 41 4d
u n k n o w n N A M
80: 59 30 30 35 37 37 38 20 49 00 62 62 62 62 62 62
Y 0 0 5 7 7 8 I b b b b b b
96: 62 65 66 65 61 65 62 65 67 65 61 65 65 65 67 65
b e f e a e b e g e a e e e g e
112: 61 61 64 64 64 64 64 64 65 65 67 65 61 61 62 62
a a d d d d d d e e g e a a b b
128: 62 62 62 62 62 62 62 62 62 62 64 64 64 64 64 64
b b b b b b b b b b d d d d d d
144: 62 62 62 62 62 62 64 64 64 64 64 64 64 64 64 64
b b b b b b d d d d d d d d d d
160: 64 64 24 02 00 00 37 05 02 00 00 00 00
d d $ 7
OK
^^^ printer_transact ^^^
=== read_eeprom_address ===
Reading eeprom address 0... === printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2-2... --- CreditRequest ---
Send:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
SafeWrite:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
length: 12
read: 0 12 total: 12
Recv:
0: 00 00 00 0c 01 00 84 00 02 02 00 01
OK, got 1 credits.
Writing data to printer... --- Send Data ---
SafeWrite:
0: 02 02 00 11 00 00 7c 7c 07 00 08 32 41 be a0 00
16: 00
OK
Get the answer... --- Credit ---
Send:
0: 00 00 00 0b 01 00 03 02 02 00 01
SafeWrite:
0: 00 00 00 0b 01 00 03 02 02 00 01
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 83 00 02 02
Recv:
0: 02 02 00 1a 00 01
toGet: 20
Recv:
@BDC PS
EE:000000;
0: 40 42 44 43 20 50 53 0d 0a 45 45 3a 30 30 30 30
@ B D C P S E E : 0 0 0 0
16: 30 30 3b 0c
0 0 ;
OK
^^^ printer_transact ^^^
=== get_tag ===
Searching for "EE:" substring... FOUND, pos=9.
Searching for ";" character... FOUND, pos_end=18.
Tag value:"000000".
^^^ get_tag ^^^
OK
EEPROM addr 0 = 0.
^^^ read_eeprom_address ^^^
EEPROM DUMP:
0x00 = 0x00
0x01 = 0x00
0x02 = 0x01
0x03 = 0x00
0x04 = 0xB6
0x05 = 0x0A
0x06 = 0x59
0x07 = 0x04
0x08 = 0x9E
0x09 = 0x1E
0x0A = 0xD5
0x0B = 0x02
0x0C = 0xFC
0x0D = 0xB1
0x0E = 0xD7
0x0F = 0x02
0x10 = 0x8D
0x11 = 0xE1
0x12 = 0xDB
0x13 = 0x02
0x14 = 0x0B
0x15 = 0x0A
0x16 = 0x02
0x17 = 0x03
0x18 = 0x63
0x19 = 0x5F
0x1A = 0xA5
0x1B = 0x03
0x1C = 0xA9
0x1D = 0x01
0x1E = 0x07
0x1F = 0x00
0x20 = 0x1A
0x21 = 0x01
0x22 = 0xDE
0x23 = 0x09
0x24 = 0x00
0x25 = 0x00
0x26 = 0x40
0x27 = 0x0C
0x28 = 0xBE
0x29 = 0x87
0x2A = 0x6E
0x2B = 0x23
0x2C = 0xFF
0x2D = 0x28
0x2E = 0x44
0x2F = 0x4C
0x30 = 0x00
0x31 = 0x00
0x32 = 0x00
0x33 = 0x00
0x34 = 0x5E
0x35 = 0x1C
0x36 = 0x5E
0x37 = 0x1C
0x38 = 0x00
0x39 = 0x00
0x3A = 0x5E
0x3B = 0x1C
0x3C = 0x05
0x3D = 0x07
0x3E = 0x00
0x3F = 0x00
0x40 = 0x43
0x41 = 0x2C
0x42 = 0x2C
0x43 = 0x2C
0x44 = 0x2E
0x45 = 0x38
0x46 = 0xB1
0x47 = 0x01
0x48 = 0x0B
0x49 = 0x00
0x4A = 0x00
0x4B = 0x00
0x4C = 0x00
0x4D = 0x00
0x4E = 0x5E
0x4F = 0x5E
0x50 = 0x0D
0x51 = 0x10
0x52 = 0x0B
0x53 = 0x0A
0x54 = 0x0F
0x55 = 0x0A
0x56 = 0x10
0x57 = 0x10
0x58 = 0x0C
0x59 = 0x00
0x5A = 0x00
0x5B = 0x02
0x5C = 0x00
0x5D = 0x00
0x5E = 0x00
0x5F = 0x00
0x60 = 0x00
0x61 = 0x00
0x62 = 0x00
0x63 = 0x00
0x64 = 0x9C
0x65 = 0x3F
0x66 = 0x00
0x67 = 0xFC
0x68 = 0x08
0x69 = 0x0C
0x6A = 0x4A
0x6B = 0x09
0x6C = 0xD1
0x6D = 0x03
0x6E = 0xD8
0x6F = 0x05
0x70 = 0xFF
0x71 = 0x00
0x72 = 0x80
0x73 = 0x00
0x74 = 0x00
0x75 = 0x00
0x76 = 0x00
0x77 = 0x01
0x78 = 0x00
0x79 = 0x00
0x7A = 0x01
0x7B = 0x49
0x7C = 0x66
0x7D = 0x5E
0x7E = 0x07
0x7F = 0x07
0x80 = 0x62
0x81 = 0x64
0x82 = 0x06
0x83 = 0x65
0x84 = 0x65
0x85 = 0x65
0x86 = 0x67
0x87 = 0x61
0x88 = 0x61
0x89 = 0x65
0x8A = 0x62
0x8B = 0x65
0x8C = 0x66
0x8D = 0x65
0x8E = 0x61
0x8F = 0x41
0x90 = 0x3F
0x91 = 0x00
0x92 = 0x01
0x93 = 0x68
0x94 = 0x31
0x95 = 0x04
0x96 = 0x01
0x97 = 0x0A
0x98 = 0x7B
0x99 = 0x00
0x9A = 0x30
0x9B = 0x78
0x9C = 0x00
0x9D = 0xBC
0x9E = 0x00
0x9F = 0x00
0xA0 = 0x00
0xA1 = 0x00
0xA2 = 0x00
0xA3 = 0x00
0xA4 = 0x00
0xA5 = 0x00
0xA6 = 0x00
0xA7 = 0x00
0xA8 = 0x00
0xA9 = 0x00
0xAA = 0x00
0xAB = 0x00
0xAC = 0x00
0xAD = 0x00
0xAE = 0x00
0xAF = 0x00
0xB0 = 0x00
0xB1 = 0x00
0xB2 = 0x06
0xB3 = 0x07
0xB4 = 0x08
0xB5 = 0x09
0xB6 = 0x0A
0xB7 = 0x0B
0xB8 = 0x00
0xB9 = 0x01
0xBA = 0x00
0xBB = 0x00
0xBC = 0x85
0xBD = 0x85
0xBE = 0x85
0xBF = 0x85
0xC0 = 0x85
0xC1 = 0x85
0xC2 = 0x00
0xC3 = 0x00
0xC4 = 0x8B
0xC5 = 0x1F
0xC6 = 0x00
0xC7 = 0x00
0xC8 = 0x23
0xC9 = 0x09
0xCA = 0x00
0xCB = 0x00
0xCC = 0x62
0xCD = 0x45
0xCE = 0x03
0xCF = 0x00
0xD0 = 0x4E
0xD1 = 0x41
0xD2 = 0x4D
0xD3 = 0x59
0xD4 = 0x30
0xD5 = 0x30
0xD6 = 0x35
0xD7 = 0x37
0xD8 = 0x37
0xD9 = 0x38
0xDA = 0x00
0xDB = 0x00
0xDC = 0x00
0xDD = 0x00
0xDE = 0x00
0xDF = 0x00
0xE0 = 0x00
0xE1 = 0x00
0xE2 = 0x00
0xE3 = 0x00
0xE4 = 0x00
0xE5 = 0x00
0xE6 = 0x00
0xE7 = 0x00
0xE8 = 0x00
0xE9 = 0x00
0xEA = 0x00
0xEB = 0x00
0xEC = 0x0A
0xED = 0x0A
0xEE = 0x0A
0xEF = 0x0A
0xF0 = 0x00
0xF1 = 0x00
0xF2 = 0x00
0xF3 = 0x00
0xF4 = 0x00
0xF5 = 0x00
0xF6 = 0x00
0xF7 = 0x00
0xF8 = 0x00
0xF9 = 0x00
0xFA = 0x00
0xFB = 0x00
0xFC = 0x00
0xFD = 0x00
0xFE = 0x00
0xFF = 0x00
ReInk v0.6 test report.
sysname: Linux
release: 4.4.0-45-generic
varsion: #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016
arch: x86_64
=== printer_connect ===
Opening raw device... OK
Entering IEEE 1284.4 mode... --- EnterD4Mode ---
Send:
*****@EJL 1284.4
@EJL
@EJL
0: 00 00 00 1b 01 40 45 4a 4c 20 31 32 38 34 2e 34
@ E J L 1 2 8 4 . 4
16: 0a 40 45 4a 4c 0a 40 45 4a 4c 0a
@ E J L @ E J L
SafeWrite:
*****@EJL 1284.4
@EJL
@EJL
0: 00 00 00 1b 01 40 45 4a 4c 20 31 32 38 34 2e 34
@ E J L 1 2 8 4 . 4
16: 0a 40 45 4a 4c 0a 40 45 4a 4c 0a
@ E J L @ E J L
length: 8
read: 8 total: 8
Recv:
0: 00 00 00 08 01 00 c5 00
OK
Perfoming IEEE 1284.4 Init transaction... --- Init ---
Send:
0: 00 00 00 08 01 00 00 10
SafeWrite:
0: 00 00 00 08 01 00 00 10
length: 9
read: 0 9 total: 9
Recv:
0: 00 00 00 09 01 00 80 00 10
OK
^^^ printer_connect ^^^
=== open_channel ===
Obtaining IEEE 1284.4 socket for "EPSON-CTRL" service... --- GetSocketID ---
Send:
****** EPSON-CTRL
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 43 54 52
E P S O N - C T R
16: 4c
L
SafeWrite:
****** EPSON-CTRL
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 43 54 52
E P S O N - C T R
16: 4c
L
length: 19
read: 0 19 total: 19
Recv:
*********EPSON-CTRL
0: 00 00 00 13 01 00 89 00 02 45 50 53 4f 4e 2d 43
E P S O N - C
16: 54 52 4c
T R L
OK, socket=2.
Opening IEEE 1284.4 channel 2-2... --- OpenChannel ---
Send:
0: 00 00 00 11 01 00 01 02 02 02 00 02 00 00 00 00
16: 00
SafeWrite:
0: 00 00 00 11 01 00 01 02 02 02 00 02 00 00 00 00
16: 00
length: 16
read: 0 16 total: 16
Recv:
0: 00 00 00 10 01 00 81 00 02 02 00 40 02 00 00 00
OK
^^^ open_channel ^^^
=== open_channel ===
Obtaining IEEE 1284.4 socket for "EPSON-DATA" service... --- GetSocketID ---
Send:
****** EPSON-DATA
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54
E P S O N - D A T
16: 41
A
SafeWrite:
****** EPSON-DATA
0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54
E P S O N - D A T
16: 41
A
length: 19
read: 0 19 total: 19
Recv:
********@EPSON-DATA
0: 00 00 00 13 01 00 89 00 40 45 50 53 4f 4e 2d 44
@ E P S O N - D
16: 41 54 41
A T A
OK, socket=64.
Opening IEEE 1284.4 channel 64-64... --- OpenChannel ---
Send:
0: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00
16: 00
SafeWrite:
0: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00
16: 00
length: 16
read: 0 16 total: 16
Recv:
0: 00 00 00 10 01 00 81 00 40 40 02 00 02 00 00 00
OK
^^^ open_channel ^^^
=== close_channel ===
Closing IEEE 1284.4 channel 64-64... --- CloseChannel ---
Send:
0: 00 00 00 0a 01 00 02 40 40 00
SafeWrite:
0: 00 00 00 0a 01 00 02 40 40 00
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 82 00 40 40
OK
^^^ close_channel ^^^
=== printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2-2... --- CreditRequest ---
Send:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
SafeWrite:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
length: 12
read: 0 12 total: 12
Recv:
0: 00 00 00 0c 01 00 84 00 02 02 00 01
OK, got 1 credits.
Writing data to printer... --- Send Data ---
SafeWrite:
0: 02 02 00 0b 00 00 64 69 01 00 01
OK
Get the answer... --- Credit ---
Send:
0: 00 00 00 0b 01 00 03 02 02 00 01
SafeWrite:
0: 00 00 00 0b 01 00 03 02 02 00 01
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 83 00 02 02
Recv:
0: 02 02 00 94 00 01
toGet: 142
Recv:
@EJL ID
MFG:EPSON;
CMD:ESCPL2,BDC,D4,D4PX,ESCPR2;
MDL:Artisan 1430;
CLS:PRINTER;
DES:EPSON Artisan 1430;
CID:EpsonRGB;
FID:FXN,DPN,WFA,ETN,AFN,DAN;
0: 40 45 4a 4c 20 49 44 0d 0a 4d 46 47 3a 45 50 53
@ E J L I D M F G : E P S
16: 4f 4e 3b 43 4d 44 3a 45 53 43 50 4c 32 2c 42 44
O N ; C M D : E S C P L 2 , B D
32: 43 2c 44 34 2c 44 34 50 58 2c 45 53 43 50 52 32
C , D 4 , D 4 P X , E S C P R 2
48: 3b 4d 44 4c 3a 41 72 74 69 73 61 6e 20 31 34 33
; M D L : A r t i s a n 1 4 3
64: 30 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45
0 ; C L S : P R I N T E R ; D E
80: 53 3a 45 50 53 4f 4e 20 41 72 74 69 73 61 6e 20
S : E P S O N A r t i s a n
96: 31 34 33 30 3b 43 49 44 3a 45 70 73 6f 6e 52 47
1 4 3 0 ; C I D : E p s o n R G
112: 42 3b 46 49 44 3a 46 58 4e 2c 44 50 4e 2c 57 46
B ; F I D : F X N , D P N , W F
128: 41 2c 45 54 4e 2c 41 46 4e 2c 44 41 4e 3b
A , E T N , A F N , D A N ;
OK
^^^ printer_transact ^^^
=== printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2-2... --- CreditRequest ---
Send:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
SafeWrite:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
length: 12
read: 0 12 total: 12
Recv:
0: 00 00 00 0c 01 00 84 00 02 02 00 01
OK, got 1 credits.
Writing data to printer... --- Send Data ---
SafeWrite:
0: 02 02 00 0b 00 00 73 74 01 00 01
OK
Get the answer... --- Credit ---
Send:
0: 00 00 00 0b 01 00 03 02 02 00 01
SafeWrite:
0: 00 00 00 0b 01 00 03 02 02 00 01
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 83 00 02 02
Recv:
0: 02 02 00 b3 00 01
toGet: 173
Recv:
@BDC ST2
**************4**&**C**@**C**C* * N*NN*NN*****bb* *****unknown****
NAMY005778 I*bbbbbbbefeaebegeaeeegeaaddddddeegeaabbbbbbbbbbbbddddddbbbbbbdddddddddddd$***7******
0: 40 42 44 43 20 53 54 32 0d 0a a1 00 01 01 04 06
@ B D C S T 2
16: 02 01 ff 0f 13 03 05 03 34 01 00 26 06 04 43 07
4 & C
32: 05 40 04 02 43 03 01 43 10 09 01 0c 4e 0e 4e 4e
@ C C N N N
48: 08 4e 4e 13 01 01 15 02 62 62 19 0c 00 00 00 00
N N b b
64: 00 75 6e 6b 6e 6f 77 6e 1b 01 00 1f 0a 4e 41 4d
u n k n o w n N A M
80: 59 30 30 35 37 37 38 20 49 00 62 62 62 62 62 62
Y 0 0 5 7 7 8 I b b b b b b
96: 62 65 66 65 61 65 62 65 67 65 61 65 65 65 67 65
b e f e a e b e g e a e e e g e
112: 61 61 64 64 64 64 64 64 65 65 67 65 61 61 62 62
a a d d d d d d e e g e a a b b
128: 62 62 62 62 62 62 62 62 62 62 64 64 64 64 64 64
b b b b b b b b b b d d d d d d
144: 62 62 62 62 62 62 64 64 64 64 64 64 64 64 64 64
b b b b b b d d d d d d d d d d
160: 64 64 24 02 00 00 37 05 02 00 00 00 00
d d $ 7
OK
^^^ printer_transact ^^^
=== read_eeprom_address ===
Reading eeprom address 0... === printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2-2... --- CreditRequest ---
Send:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
SafeWrite:
0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff
length: 12
read: 0 12 total: 12
Recv:
0: 00 00 00 0c 01 00 84 00 02 02 00 01
OK, got 1 credits.
Writing data to printer... --- Send Data ---
SafeWrite:
0: 02 02 00 11 00 00 7c 7c 07 00 08 32 41 be a0 00
16: 00
OK
Get the answer... --- Credit ---
Send:
0: 00 00 00 0b 01 00 03 02 02 00 01
SafeWrite:
0: 00 00 00 0b 01 00 03 02 02 00 01
length: 10
read: 0 10 total: 10
Recv:
0: 00 00 00 0a 01 00 83 00 02 02
Recv:
0: 02 02 00 1a 00 01
toGet: 20
Recv:
@BDC PS
EE:000000;
0: 40 42 44 43 20 50 53 0d 0a 45 45 3a 30 30 30 30
@ B D C P S E E : 0 0 0 0
16: 30 30 3b 0c
0 0 ;
OK
^^^ printer_transact ^^^
=== get_tag ===
Searching for "EE:" substring... FOUND, pos=9.
Searching for ";" character... FOUND, pos_end=18.
Tag value:"000000".
^^^ get_tag ^^^
OK
EEPROM addr 0 = 0.
^^^ read_eeprom_address ^^^
EEPROM DUMP:
0x00 = 0x00
0x01 = 0x00
0x02 = 0x01
0x03 = 0x00
0x04 = 0xB6
0x05 = 0x0A
0x06 = 0x59
0x07 = 0x04
0x08 = 0x9E
0x09 = 0x1E
0x0A = 0xD5
0x0B = 0x02
0x0C = 0xFC
0x0D = 0xB1
0x0E = 0xD7
0x0F = 0x02
0x10 = 0x8D
0x11 = 0xE1
0x12 = 0xDB
0x13 = 0x02
0x14 = 0x0B
0x15 = 0x0A
0x16 = 0x02
0x17 = 0x03
0x18 = 0x63
0x19 = 0x5F
0x1A = 0xA5
0x1B = 0x03
0x1C = 0xA9
0x1D = 0x01
0x1E = 0x07
0x1F = 0x00
0x20 = 0x1A
0x21 = 0x01
0x22 = 0xDE
0x23 = 0x09
0x24 = 0x00
0x25 = 0x00
0x26 = 0x40
0x27 = 0x0C
0x28 = 0xBE
0x29 = 0x87
0x2A = 0x6E
0x2B = 0x23
0x2C = 0xFF
0x2D = 0x28
0x2E = 0x44
0x2F = 0x4C
0x30 = 0x00
0x31 = 0x00
0x32 = 0x00
0x33 = 0x00
0x34 = 0x5E
0x35 = 0x1C
0x36 = 0x5E
0x37 = 0x1C
0x38 = 0x00
0x39 = 0x00
0x3A = 0x5E
0x3B = 0x1C
0x3C = 0x05
0x3D = 0x07
0x3E = 0x00
0x3F = 0x00
0x40 = 0x43
0x41 = 0x2C
0x42 = 0x2C
0x43 = 0x2C
0x44 = 0x2E
0x45 = 0x38
0x46 = 0xB1
0x47 = 0x01
0x48 = 0x0B
0x49 = 0x00
0x4A = 0x00
0x4B = 0x00
0x4C = 0x00
0x4D = 0x00
0x4E = 0x5E
0x4F = 0x5E
0x50 = 0x0D
0x51 = 0x10
0x52 = 0x0B
0x53 = 0x0A
0x54 = 0x0F
0x55 = 0x0A
0x56 = 0x10
0x57 = 0x10
0x58 = 0x0C
0x59 = 0x00
0x5A = 0x00
0x5B = 0x02
0x5C = 0x00
0x5D = 0x00
0x5E = 0x00
0x5F = 0x00
0x60 = 0x00
0x61 = 0x00
0x62 = 0x00
0x63 = 0x00
0x64 = 0x9C
0x65 = 0x3F
0x66 = 0x00
0x67 = 0xFC
0x68 = 0x08
0x69 = 0x0C
0x6A = 0x4A
0x6B = 0x09
0x6C = 0xD1
0x6D = 0x03
0x6E = 0xD8
0x6F = 0x05
0x70 = 0xFF
0x71 = 0x00
0x72 = 0x80
0x73 = 0x00
0x74 = 0x00
0x75 = 0x00
0x76 = 0x00
0x77 = 0x01
0x78 = 0x00
0x79 = 0x00
0x7A = 0x01
0x7B = 0x49
0x7C = 0x66
0x7D = 0x5E
0x7E = 0x07
0x7F = 0x07
0x80 = 0x62
0x81 = 0x64
0x82 = 0x06
0x83 = 0x65
0x84 = 0x65
0x85 = 0x65
0x86 = 0x67
0x87 = 0x61
0x88 = 0x61
0x89 = 0x65
0x8A = 0x62
0x8B = 0x65
0x8C = 0x66
0x8D = 0x65
0x8E = 0x61
0x8F = 0x41
0x90 = 0x3F
0x91 = 0x00
0x92 = 0x01
0x93 = 0x68
0x94 = 0x31
0x95 = 0x04
0x96 = 0x01
0x97 = 0x0A
0x98 = 0x7B
0x99 = 0x00
0x9A = 0x30
0x9B = 0x78
0x9C = 0x00
0x9D = 0xBC
0x9E = 0x00
0x9F = 0x00
0xA0 = 0x00
0xA1 = 0x00
0xA2 = 0x00
0xA3 = 0x00
0xA4 = 0x00
0xA5 = 0x00
0xA6 = 0x00
0xA7 = 0x00
0xA8 = 0x00
0xA9 = 0x00
0xAA = 0x00
0xAB = 0x00
0xAC = 0x00
0xAD = 0x00
0xAE = 0x00
0xAF = 0x00
0xB0 = 0x00
0xB1 = 0x00
0xB2 = 0x06
0xB3 = 0x07
0xB4 = 0x08
0xB5 = 0x09
0xB6 = 0x0A
0xB7 = 0x0B
0xB8 = 0x00
0xB9 = 0x01
0xBA = 0x00
0xBB = 0x00
0xBC = 0x85
0xBD = 0x85
0xBE = 0x85
0xBF = 0x85
0xC0 = 0x85
0xC1 = 0x85
0xC2 = 0x00
0xC3 = 0x00
0xC4 = 0x8B
0xC5 = 0x1F
0xC6 = 0x00
0xC7 = 0x00
0xC8 = 0x23
0xC9 = 0x09
0xCA = 0x00
0xCB = 0x00
0xCC = 0x62
0xCD = 0x45
0xCE = 0x03
0xCF = 0x00
0xD0 = 0x4E
0xD1 = 0x41
0xD2 = 0x4D
0xD3 = 0x59
0xD4 = 0x30
0xD5 = 0x30
0xD6 = 0x35
0xD7 = 0x37
0xD8 = 0x37
0xD9 = 0x38
0xDA = 0x00
0xDB = 0x00
0xDC = 0x00
0xDD = 0x00
0xDE = 0x00
0xDF = 0x00
0xE0 = 0x00
0xE1 = 0x00
0xE2 = 0x00
0xE3 = 0x00
0xE4 = 0x00
0xE5 = 0x00
0xE6 = 0x00
0xE7 = 0x00
0xE8 = 0x00
0xE9 = 0x00
0xEA = 0x00
0xEB = 0x00
0xEC = 0x0A
0xED = 0x0A
0xEE = 0x0A
0xEF = 0x0A
0xF0 = 0x00
0xF1 = 0x00
0xF2 = 0x00
0xF3 = 0x00
0xF4 = 0x00
0xF5 = 0x00
0xF6 = 0x00
0xF7 = 0x00
0xF8 = 0x00
0xF9 = 0x00
0xFA = 0x00
0xFB = 0x00
0xFC = 0x00
0xFD = 0x00
0xFE = 0x00
0xFF = 0x00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment