[ESC+IT] Data Sending
Hexadecimal code
Initial value
Valid range and term of
command
[Function]
Send data to the specified port.
The maximum data for sending is 1024 bytes.
[Format]
<IT>a,b(,cccc)(,ddd...d)
-
Parameter
a [Port to be sent]
1 : Data port
2 : Sub port
b [Sending text format]
0 : No additional code
1 : Add STX(02H) at the beginning and ETX(03H) at the ending
2 : Add CRLF(0D0AH) at the ending
3 : Add CR(0DH) at the ending
c [Sending digit] = Valid Range: 1 to 1024
d [Data to be sent] = Valid range: For the digits specified by c, no limitation for code range
[Coding Example 1]
Send data from the host via printer to the external peripheral
<A>
<IT>2,0,6,123456
<Z>
Host
ESC
<1B>
16
None
When the power is OFF
Valid range within items
Valid range between items
(2) Received data "123456"
Sub port
(1) Send <IR>
Data port
This product
<IT>
<49>
<54>
16
16
The set parameter is not maintained.
The set parameter becomes invalid.
The set parameter becomes invalid.
External
peripherals
393
Parameter
a,b(,cccc)(,ddd...d)