CHAPTER 3 INTERFACE
B-EP
Series
3-36
[RECEIPT or ESC/POS mode]
*1: Example of command packets (in the RECEIPT mode) is shown below.
(When the length is designated in 1 byte and the printer ID of the command packet is 849.)
Command packet 1
[02H][03H][51H][FFH][59H][80H]
[1BH]W384[1BH]H000[1BH]3
[1BH]a1[1BH]![30H][1BH]O+010[1BH]L3360[0AH][1BH]KCSample[0AH][0AH][1BH]!
[00H][1BH]a0[1BH]KABITMAPFONT[0AH][1BH]![30H][1BH]KABITMAPFONT[0AH]
[1BH]![60H][1BH]KABITMAPFONT[0AH][0AH][1DH]w[02H][1DH]hp[1DH]H1
[1BH]O+000[1DH]k3*1234567890*[00H][0AH][0AH][0AH][1BH]O+100[1BH]L1210[0AH]
[1BH]![00H][1BH]a1[1DH]:12345678901234567890[0AH]12345678901234567890[0AH]
12345678901234567890[0AH]12345678901234567890[0AH]12345678
[25H][5DH]
Command packet 2
[02H][03H][51H][FFH][59H]
901234567890[0AH]12345678901234567890[0AH]12345678901234567890[0AH]12345
678901234567890[0AH]12345678901234567890[0AH]12345678901234567890[0AH]1234
56789012345678[0AH]#############[1DH]:[0AH][1DH]~ABCDEFGHIJKLM[00H][0AH]
[0AH][1BH]a[30H][1BH]KVA030030OUTLINEFONT[0AH][1BH]KVB030030OUTLINEFONT[0AH]
[0AH][1DH]w[04H][1DH]hh[1DH]qM[1DH]r1[1DH]kT1234567890[00H][0AH]
[0AH][1DH]w[03H][1DH]h[03H][1DH]s[00H][1DH]c[01H][1DH]kP
[02H][93H]
Command packet 3
[02H][03H][51H][55H][59H][02H]
123456789012345678901234567890123456789012345678901234567890[00H]
Printer
A link request is detected.
A link is established.
Within 40 msec.
Normal reception (CRC OK)
Host
PAD
NAK
CRC
CRC
Command & Data
80H
Y
Length
ID
ID
STX
Start of command process
End of command process
ACK for the command process
end is transmitted.
ACK
CRC
CRC
Command & Data
81H
Y
Length
ID
ID
STX
ACK
CRC
CRC
Command & Data
02H
Y
Length
ID
ID
STX
ACK
EOT
ACK
A link request is transmitted
every 50 msec. if the printer
sends no NAK.
Command packet
(Within 1 sec.) (*1)
Command packet
(Within 1 sec.) (*1)
Command packet
(Within 1 sec.) (*1)
Within 1 sec.
Within 200 msec.
Normal reception (CRC OK)
Within 200 msec.
Normal reception (CRC OK)
Within 200 msec.