Select your printer model [−]
- TM-T20II-i
- TM-T70-i
- TM-T82II-i
- TM-T83II-i
- TM-T88V-i
- TM-T88VI-iHUB
- TM-U220-i
- TM-U220IIB-i
- TM-T70II-DT
- TM-T70II-DT2
- TM-T88V-DT
- TM-T88VI-DT2
- TM-H6000IV-DT
- TM-H6000V
- TM-H6000VI
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-T88VI
- TM-T88VII
- TM-L100
- TM-m10
- TM-P20
- TM-P60II (Receipt)
- TM-P60II (Peeler)
- TM-P80
- TM-T20
- TM-T20II
- TM-T70
- TM-T70II
- TM-T82II
- TM-T83II
- TM-T88IV
- TM-T88V
- TM-T90
- TM-L90
- TM-U220
- TM-U220II
- TM-H6000IV
<reconnect>
Requests for reconnection between the printer and the network, and then notifies the application of the acquired result.
Request
Element |
Data type |
Description |
---|---|---|
old_client_id |
string |
Specify the client_id received by <connect> in the previous session. |
new_client_id |
string |
Specify the client_id received by <connect> in the current session. |
received_id |
int |
Specify the last data_id of those received in each data communication. |
Sample program
<reconnect>
<data>
<new_client_id>1234567890</new_client_id>
<old_client_id>0987654321</old_client_id>
<received_id>112</received_id>
</data>
</reconnect>
|
Response
Element |
Data type |
Description |
---|---|---|
code |
string |
Reconnection confirmation result |
code
Element value |
Description |
---|---|
"OK" |
Reconnection succeeded. |
“CLIENT_NOT_FOUND” |
Connection corresponding to the specified client_id does not exist. |
“PARAM_ERROR” |
A parameter error occurred. |
“SYSTEM_ERROR” |
A system error occurred. |
Sample program
- Normal case
-
<reconnect> <code>OK</code> </reconnect>
- Abnormal case
-
<reconnect> <code>PARAM_ERROR</code> </reconnect>
Quick Access
- Request
- Response