6
Programming Guide
....................................................................
33
■
Programming Flow
.............................................................................................................
33
If Reconnecting to the TM-Intelligent when the Network was Cut Off
..........................................
34
Programming flow for the Communication Box
...............................................................................
35
■
Using the Spooler Function
................................................................................................
38
■
Service Interface Specifications
.......................................................................................
39
Format
...................................................................................................................................................
39
■
Communication Data Example
........................................................................................
40
Communication Box Message Example
...........................................................................................
43
■
Array of <data> elements in <device_data> message
.................................................
46
ePOS-Device XML
........................................................................
47
■
ePOS-Device XML List
........................................................................................................
47
Message
................................................................................................................................................
47
Message Data for Communication Box
............................................................................................
48
Message Data for Each Device
.........................................................................................................
48
■
Messages
............................................................................................................................
51
<connect>
............................................................................................................................................
51
<reconnect>
.........................................................................................................................................
52
<disconnect>
........................................................................................................................................
53
<admin_info>
........................................................................................................................................
54
<open_commbox>
..............................................................................................................................
56
<close_commbox>
..............................................................................................................................
58
<commbox_data>
...............................................................................................................................
59
<open_device>
....................................................................................................................................
60
<close_device>
....................................................................................................................................
62
<device_data>
.....................................................................................................................................
64
<error>
...................................................................................................................................................
65
■
Message Data for Communication Box
...........................................................................
66
<type>getcommhistory</type>
.........................................................................................................
66
<type>send</type>
.............................................................................................................................
68
<type>onreceive</type>
....................................................................................................................
69
■
Message Data for Device Hub Terminal
..........................................................................
70
<type>shutdown</type>
.....................................................................................................................
70
<type>onshutdown</type>
................................................................................................................
70
<type>restart</type>
...........................................................................................................................
71
<type>onrestart</type>
......................................................................................................................
71
■
Message Data for the Barcode Scanner
.........................................................................
72
<type>ondata</type>
........................................................................................................................
72
■
Message Data for Printers
.................................................................................................
73
<type>print</type>
..............................................................................................................................
73
<type>onxmlresult</type>
..................................................................................................................
74
Print Job ID
............................................................................................................................................
75