Epson TM-T20II-i ePOS-Device XML Users Manual For TM-i firmware v4.1 - Page 33
Programming Guide, Programming Flow
View all Epson TM-T20II-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 33 highlights
Chapter 3 Programming Guide Programming Guide This chapter describes how to write programs in the application development using ePOS-Device. Programming Flow The basic programming sequence of ePOS-Device XML is as follows: Applications ePOS-Device 1 : Establishment of TCP/IP connection() TCP connection to Socket I/F from the native application 2 : connect message() Establish a communication path to ePOS-Device Service I/F Device 3 : open_device message(type_printer) 3.1 : Cmd() 4.1 : Response() 4 : Device open 3 6 : device_data message Control device using device_data message 6.1 : Cmd() 6.1.1 : Execute Response to device_data message 7.1 : device_data message() 7.1 : error message() 7 : Execution result 8: close_device message Cut connection ePOS-Device Service I/F and Socket I/F communication 9.1 : Response() 10 : disconnect message() Disconnection of TCP/IP connection 8.1 : Cmd() 9: Device close 33