Epson TM-H6000IV-DT ePOS-Device XML Users Manual - Page 141
Device Control Script, Programming, Using Device Control Script
View all Epson TM-H6000IV-DT manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 141 highlights
Chapter 5 Device Control Script Device Control Script This section describes the information that the user will need in order to develop device control script. Cannot be used with TM-i Series. Programming Using Device Control Script Using API for the device control script provided by ePOS-Device enables customization of device data processing and use of a new device from applications. Application Request TM-DT Response/Event Socket I/F ePOS-Device Service I/F Device control script object DeviceConnection ClientConnection 5 Device When "open_device" message (p.58) is sent, an object is created so that the ePOS- Device Service I/F on TM-DT can use the device control script supported by the requested device. The device can be controlled with the created object. Device Control Script Object The ePOS-Device Service I/F passes the objects shown below to the device control script. Using these objects enables the device control script to communicate the application and device. Object ClientConnection DeviceConnection Description Object used to send data to a device object on the application. Object used to send/receive data to/from the device. 141