Home
EPSON ePOS-Device XML User`s Manual
Contents
1. b Printer Registered control scripts Customer display Key input device gt Key input device Device type Control script gt Serial communication device em E type_keyboard Keyboard_Generic js Delete SUE Control script type_keyboard Keyboard_MID_QM128A_RAA js Delete gt _Add delete type_scanner Scanner_Generic js Delete Web content Uat retin Serial communication device Server access Device type Control script e Aone Evpe_simple_serial SimpleSerial_Generic js Use the following procedure for registration A Prepare the customized device control script 2 Make sure that the TM DT s power is turned on 3 Start EPSON TMNet WebConfig from the shortcut on the desktop e Ifyou are making settings from an external device set the TM DT IP address in the Q address for the Web browser The default IP address for TM DT is 192 168 192 168 http IP address of TM DT webconfig e Check the IP address of TM DT with the status sheet For checking method of the status sheet refer to Technical Reference Guide of each TM DT Ifthe Windows Security screen appears while using EPSON TMNet WebConfig enter your user name and password The default values are as follows User name epson Password epson 25 26 4 TMNet WebConfig starts Click Web Service Settings Add delete 5 The Control Script screen appears Click Browse under Control Script to be registered and s
2. Characters in a Line Font A ANK 42 characters ANK 30 characters Font B ANK 56 characters ANK 40 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 9 dots x 17 dots W x H Character Baseline Font A At the 21st dot from the top of the character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color First color Second color when two color printing is set Page Mode Default Area 512 dots x 831 dots W x H 360 dots x 831 dots W x H when two color printing is set 512 dots x 415 dots W x H 360 dots x 415 dots W x H Page Mode Maximum Area 512 dots x 1662 dots W x H 360 dots x 1662 dots W x H when two color printing is set 512 dots x 831 dots W x H 360 dots x 831 dots W x H Raster Image lt image gt Monochrome image two color image Logo lt logo gt Monochrome image two color image To perform two color printing change the settings of the printer using the memory switch setting utility Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE339 ITF CODABAR CODE93 CODE128 GS1 128 2D Code lt symbol gt PDF417 QR Code Ruled Line lt hline gt lt vline xxx gt Page Mode Line lt line gt Rectangle lt rectangle gt Not supported Not supported Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt
3. Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Optional Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 198 Appendix TM L90 Receipt Die cut label Interface Ethernet Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 256 to 576 dots 224 to 560 dots Font For more information about what character codes can be printed refer to the user s manual that came with the printer oo mg nels ANK 48 characters ANK 46 characters Font B ANK 57 characters ANK 56 characters Font C ANK 72 characters ANK 70 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 10 dots x 24 dots W x H Font C ANK 8 dots x 16 dots W x H ae ERREA At the 21st dot from the top of the character Font B At the 21st dot from the top of the character Font C At the 15th dot from the top of the character Default Line Feed Space 30 dots Color Specification e First color e First color Second color when two color printing is set Raster Image lt image gt Monochrome image Two color image Logo lt logo gt Monochrome image Two color image To perform two color printing change the settings of the printer using the memory switch setting utility Barcode lt barcode gt UPC A UPC E EAN1
4. Configuration Web Service Setting Device Admin Device Registration gt _Printer _Customer Display TP Address Retry Interval ms Delete Search Printer gt Search Web Contents _Update Settings onfigure the settings in the following procedure A Make sure that the power to the TM i and the network computer is turned on 2 Enter the following into the URL entry field address bar or similar on the network computer s web browser http IP address of TM i webconfig Check the IP address of TM i with the status sheet For checking method of the Q status sheet refer to Technical Reference Guide of each TM i e When accessing EPSON TMNet WebConfig you are promoted to enter user name and password of EPSON TMNet WebConfig The default is shown below User name epson Password epson 3 EPSON TMNet WebConfig starts From Web serv settings Device registration click an applicable item according to the device type to be registered Printer Used to set a TM printer to be controlled by TM Customer Display Used to set a customer display to be controlled by TM i Key Input Device Used to set a key input device to be controlled by TM i Used to set a serial communication device to be controlled by Serial Communications Device TMi Chapter 2 Building Environment 4 The setting screen for each device appears Register the connect
5. lt data gt 138 Chapter 4 ePOS Device XML Message Data for the Serial Device This message data cannot be used with a TM i Series printer with the specification of without AN a Serial port lt type gt sendcommand lt type gt Request Sends commands to the serial device Sub element Data type command string Hexadecimal expressed character string for the command string 1 Example lt data gt lt type gt sendcommand lt type gt lt command gt 1B123344FF1F5D3C lt command gt lt data gt 139 lt type gt oncommandreply lt type gt Response data from the device may be sent split up If so oncommandreply events will occur AN multiple times Use the oncommandreply events to check that the whole of the response data has been received If there is data still to be received wait for it to arrive before proceeding with the processing Response Returns the data from the serial device to the application Sub eiement f Data ype status string Data reception status For details refer to the status below data string Hexadecimal expressed character string for the data string 1 status SUCCESS Successfully received data 1 Example lt data gt lt type gt oncommandreply lt type gt lt status gt SUCCESS lt status gt lt data gt 1B123344FF1F5D3C lt data gt lt data gt 140 Chapter5 Device Control
6. File Edit Navigate Search Project Run Window Help Welcome 5 Welcome a Help Contents D Search Dynamic Help Key Assist Ctrl Shift L Welcome to Tests Cheat Sheets Check for Updates C Overview Install New Software utorials gt Get an overview of the featur About Eclipse SDK o through tutorials 2 Click the Ada button Sa au Available Software Select a site or enter the location of a site 6 Work with type or select a site Find more software by working with the Available Software Sites preferences type filter text 3 Enter Name and Location and click the OK button A PS A IE Name ADT Plugin Location https dl ssl google com android eclipse G Add Repository Name ADT Plugin Local Location https dl ssl google com android eclipse Archive 164 Chapter 6 Sample Program il 4 Select the Developer Tools checkbox and click the Next button few Available Software Check the items that you wish to install Work with ADT Plugin https dl ssl google com android eclipse X Add Find more software by working with the Available Software Sites preferences type filter text Name Version a Y 000 Developer Tools WTS Android DOM 20 0 3 v201208082019 427395 7 42 A
7. Installing Android SDK Manager A Start the downloaded file The following window appears Click the Next button r Android SDK Tools Setup lol Welcome to the Android SDK Tools Setup Wizard This wizard will guide you through the installation of Android SDK Tools It is recommended that you dose all other applications fore starting Setup This will make it possible to update relevant system files without having to reboot your computer Click Next to continue ao L 2 Click the Next button 2 If JDK is not installed it is notified at this point E Android SDK Tools Setup lea Java SE Development Kit Detect whether Java SE Development Kit is installed E Android SDK relies on the Java SE Development Kit JDK Java SE Development Kit JDK version 1 6 has been found Location C Windows system32 java exe 159 Specify the user destination Click the Next button In this manual the default settings are used m Android SDK Tools Setup gt a Choose Users Choose for which users you want to install Android SDK Tools a Select whether you want to install Android SDK Tools for yourself or for all users of this computer SDK Manager will need to run as administrator later Click Next to continue 5 Install for anyone using this computer eek C net gt Specify the Install location destination
8. The paper is cut without being fed feed default Feed cut The paper is fed to the cut position and then is cut reserve Cut reservation Printing continues until the cut position is reached at which the paper is cut Example lt Perform feed cut operation gt lt cut type feed gt 113 lt pulse gt Outputs signals to the drawer kick connector Depending on the model a buzzer can be sounded Not available in page mode AN e The drawer and the buzzer cannot be used together Attribute e drawer Optional attribute Specifies the drawer kick connector AUTBUIS value drawer_1 default Pin 2 of the drawer kick out connector drawer_2 Pin 5 of the drawer kick out connector e time Optional attribute Specifies the ON time of the drawer kick signal Attribute value pulse_100 default 100 ms pulse_200 200 ms pulse_300 300 ms pulse_400 400 ms pulse_500 500 ms Example 114 lt Send a 100msec pulse signal to the pin 2 of the drawer kick connector gt lt pulse drawer drawer_1 time pulse_100 gt Chapter 4 ePOS Device XML lt sound gt Sounds a buzzer Not available in page mode AN The buzzer function and the drawer cannot be used together e This element is not available if the printer is not provided with the buzzer Attrib
9. User name epson Password epson 1 Installing Java SE Development Kit 0 155 Download and install Java SE Development Kit on the computer for setting 2 Setting Up Eclipse p 157 Construct Eclipse on the computer for setting 3 Setting Up Android SDK Manager p 159 Construct Android SDK Manager on the computer for setting 4 Installing ADT Plugin p 164 Install the ADT Plugin on Eclipse 5 Importing the Sample Program p 168 Import the sample program to Eclipse 6 Connection of barcode scanner to TM i Connect a barcode scanner to TM i 153 7 Network Settings Make the network settings for the TM i using EPSON TMNet WebConfig 8 Setting the Barcode Scanner p 170 Register the barcode scanner to be connected into TM i Make registration using an EPSON TMNet WebConfig 154 Chapter Sample Program Installing Java SE Development Kit Download and install JDK Java Development Kit Downloading JDK Access the following URL and download Java SE 6 JDK htip www oracle com technetwork java javase downloads index html Java SE 6 Update 37 JDK JRE This releases address security concerns DOWNLOAD DOWNLOAD Oracle strongly recommends that all Java SE 6 users upgrade to this release Learn more JDK 6 Docs JRE 6 Docs Installation Installation Instructions Instructions ReadMe ReadMe ReleaseNotes ReleaseNotes Oracle License Orac
10. 219 Fl 112 220 F2 113 221 F3 114 A 222 F4 115 Caps Lock 240 F5 116 Appendix Printer specifications TM H6000IV DT TM H6000IV Receipt Endorsement 80mm Interface Ethernet Wireless LAN Resolution 180 x 180 dpi Print Width 512 dots Font Font A Font B For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in Font A ANK ANK ANK ANK a Line 42 characters 30 characters 45 characters 25 characters Font B ANK ANK ANK ANK 56 characters 40 characters 60 characters 33 characters Character Size Font A ANK 12 dots x 24 dots W x H ANK 5 dots x 9 dots W x H Font B ANK 9 dots x 17 dots W x H ANK 7 dots x 9 dots W x H Character Font A At the 21st dot from the top of the Baseline character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Raster Image lt image gt Monochrome image Gray scale Monochrome Not supported image image Logo lt logo Monochrome image Gray scale go lt logo gt 9 y Not supported image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 IT CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional 6S1 DataBar Truncated 6S1 DataBar Limited GS1 DataBar Expanded 187 2D Code lt symbol gt Receipt 80mm PDF417 Q
11. 50 30 for the print start position in the area specified by the addPageArea method and print the characters ABCDE gt lt page gt lt area x 100 y 50 width 200 height 100 gt lt position x 50 y 30 gt lt text gt ABCDE lt text gt lt page gt Chapter 4 ePOS Device XML lt line gt Draws a line in page mode Diagonal lines cannot be drawn 2 Use this element inside the page element Attribute e xl Required attribute Specifies the drawing start position of the horizontal line in dots e yl Required attribute Specifies the drawing start position of the vertical line in dots e x2 Required attribute Specifies the drawing end position of the horizontal line in dots e y2 Required attribute Specifies the drawing end position of the vertical line in dots e style Optional attribute Specifies the line type AE thin default Solid line Thin medium Solid line Medium thick Solid line Thick thin_double Double line Thin medium_double Double line Medium thick_double Double line Thick Example lt Draw a thin solid line between the start position 100 0 and the end position 500 0 gt lt page gt lt line x1 100 y1 0 x2 500 y2 0 style thin gt lt page gt 111 112 lt rectangle gt Draws a rectangle in page mode Use this e
12. Ada Device ID Enter the device ID any character string Device name Select the device name of the key input device Select the device control script to be used for the key input Control Script device 2 After confirming that the device is added to Registered key input device click Operating test 3 The screen appears Operate the key input device and confirm that the operation result is disolayed properly 32 1 Serial Communication Device 2 The device ID of the customer display is fixed to local_display Register the connected serial communication device in the following procedure 1 Select Use 2 Set the following items for the connected serial communication device and click Add Communication soeed bps Set the communication speed of the device Data bit Set the data bit Parity Set the parity Stop bit Set the stop bit Flow control Set the flow control 3 Click Communication test 4 The screen appears Send a command to check for correct operation 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 Device 1 Establishment of TCP IP connection TCP connection to Socket I F from t
13. Atribute valis thin default Solid line Thin medium Solid line Medium thick Solid line Thick thin_double Double line Thin medium_double Double line Medium thick_double Double line Thick Example lt Draw thin lines from 100th to 200th dot from the left end gt lt vline begin x 100 gt lt vline begin x 200 gt lt feed unit 100 gt lt vline end x 100 gt lt vline end x 200 gt 105 106 lt vline end gt Ends to draw vertical lines Not available in page mode 2 Use this element together with the vline begin element p 105 Altribute e x Required attribute Specifies the end position of the horizontal line in dots e style Optional attribute Specifies the line type E thin default Solid line Thin medium Solid line Medium thick Solid line Thick thin_double Double line Thin medium_double Double line Medium thick_double Double line Thick Example lt Draw thin lines from 100th to 200th dot from the left end gt lt vline begin x 100 gt lt vline begin x 200 gt lt feed unit 100 gt lt vline end x 100 gt lt vline end x 200 gt Chapter 4 ePOS Device XML Changes the mode from standard mode to page mode Elements via lt page gt Via lt page the f
14. Click the Next button In this manual the default settings are used n Android SDK Tools Setup ee Choose Install Location Choose the folder in which to install Android SDK Tools ES Setup will install Android SDK Tools in the following folder To install in a different folder dick Browse and select another folder Click Next to continue Space required 110 3MB Space available 100 3GB lt p net gt 5 Specify the name to be registered to Start Menu Click the Install button Choose Start Menu Folder Choose a Start Menu folder for the Android SDK Tools shortcuts ES Android SDK Tools Setup Sea ce ES Select the Start Menu folder in which you would like to create the program s shortcuts You can also enter a name to create a new folder E Do not create shortcuts I Il Syster 160 Chapter Sample Program 6 When installation completes click the Next button z Android SDK Tools Setup Emme Installation Complete Setup was completed successfully ees Completed Output folder C Program Files Android android sdk tools templates projects NewA Extract styles xml 100 Output folder C Program Files Android android sdk Output folder C Program Files Android android sdk Created uninstaller C Program Files Android android sdk uninstall exe Output folder C Program
15. For details refer to Printer Control XML p 79 1 Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt print lt type gt lt timeout gt 10000 lt timeout gt lt printdata gt lt Printer Control XML gt lt epos print xmlns lt epos print gt lt printdata gt lt data gt lt device_data gt lt type gt onxmlresult lt type gt Response Returns the receipt print result to the application Sub etoment Dota vpe resultdata string Result of the sent data For details refer to lt response gt p 81 1 Example lt data gt lt type gt onxmlresult lt type gt lt resultdata gt lt response success gt lt resultdata gt lt data gt Chapter 4 ePOS Device XML lt type gt slipprint lt type gt Request Sends the print data and setting data to the slip printer Sub etement Data type timeout int Specifies the timeout time ms for the paper insert wait status 60 000 to 900 000 whole numbers printdata string Designates the data to print For details refer to Printer Control XML p 79 LJ Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt slipprint lt type gt lt timeout gt 60000 lt timeout gt lt printdata gt lt Printer Control XML gt lt epos print xmlns lt epos print gt lt printda
16. Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control means i the power direct or indirect to cause the 4 m r 165 Y Installation starts If the following window appears click the OK button Ones Oo Warning You are installing software that contains unsigned content The authenticity A or validity of this software cannot be established Do you want to continue with the installation Etre 8 Click the Yes button to restart Eclipse E You will need to restart Eclipse SDK for the changes to take effect Would you like to restart now A 9 Select Window Preferences IA A File Edit Refactor Navigate Search Project Run Window Help ma Welcome 3 Nov Wincow New Editor y cli pse Show Toolbar et Workbench Open Perspective Show View Customize Perspective Welcome to comtar Save Perspective As Reset Perspective E Close Perspective E Overview ar od A Tutorials Get an overview of the featur si ES Go through tutorials Navigation Android SDK Manager 90 S
17. N cycle is enabled by any of pattern_1 to pattern_10 for the buzzer pattern Example lt Repeat the sound pattern A three times gt lt sound pattern pattern_a repeat 3 gt Chapter 4 ePOS Device XML lt command gt Insert the ESC POS command ESC POS command is specified in hexadecimal encoding For information about ESC POS commands see the ESC POS Command Reference Q You can view the ESC POS Command Reference from https reference epson biz com 117 It specifies paper layout in ePOS Device Ver 2 2 and later Cannot be written in the lt page gt tag 118 e height Specifies paper height in units of 0 1mm Attribute e type Specifies the paper type receipt default Receipt without black mark receipt_bm Receipt with black mark label Die cut label without black mark label_om Die cut label with black mark e width Specifies paper width in units of 0 1mm Specifies an integer from 290 to 600 Paper Type Valid value range Receipt eae black mark he ia Receipt with black mark ree cee eta TE Diecut label ies 550 Distance from the top of label to the without black mark maruah top of next label Die cut label Distance from the bottom of black with black mark mark to the bottom of next black mark e margin top Specifies top margin in units of 0 1mm Paper
18. User name epson Password epson 2 If the Windows Security screen appears while using EPSON TMNet WebConfig enter your 1 Installing Java SE Development Kit p 155 Download and install Java SE Development Kit on the computer for setting 2 Setting Up Eclipse p 157 Construct Eclipse on the computer for setting 3 Setting Up Android SDK Manager p 159 Construct Android SDK Manager on the computer for setting 4 Installing ADT Plugin p 164 Install the ADT Plugin on Eclipse 5 Importing the Sample Program p 168 Import the sample program to Eclipse 6 Network Settings Configure the system and TM DT network settings For the TM DT network settings use either of the following procedures e Configuring the Windows network settings with TM DT e Installing TMNet WinConfig in an external device Windows computer to be used for configuration 151 7 Connection of barcode scanner to TM DT Connect a barcode scanner to TM DT 8 Setting the Barcode Scanner p 170 Register the barcode scanner to be connected into TM DT Make registration using an EPSON TMNet WebConfig 152 Chapter Sample Program Flow of environment construction for TM i Series The following illustrates the flow of constructing the environment for the sample program If the Windows Security screen appears while using EPSON TMNet WebConfig enter your Q user name and password The default values are as follows
19. code string Result of acquiring the administrator information For details refer to the code below data string Administrator information Only returned if successfully acquired For details refer to the data below T code OK Successfully acquired PARAM_ERROR Parameter error occurred SYSTEM_ERROR System error occurred 1 data Sub element Data type admin_name string Administrator information location string Installation location information Character strings in received data Escape processing is performed for the following character strings Character string before amp Ampersand samp gt Greater than symbol Sat lt Lesser than symbol salt Double quotation mark amp quot Single quotation mark amp apos Chapter 4 ePOS Device XML 1 Example Normal lt admin_info gt lt code gt 0K lt code gt lt data gt lt admin_name gt Administrator A lt admin_name gt lt location gt Counterl amp amp Counter2 lt location gt lt data gt lt admin_info gt Error lt admin_info gt lt code gt PARAM_ERROR lt code gt lt admin_info gt 53 lt open_commbox gt Opens the Communication Box and enables communication between applications in ePOS Device Ver 2 5 and later Request Requests opening of the Communication Box Sub element Data ype sequence string Seque
20. gt lt resultdata gt lt data gt 70 Chapter 4 ePOS Device XML Message Data for Hybrid Printers Cannot be used with TM i Series NA Available with ePOS Device Ver 2 5 or later lt type gt lock lt type gt Request Locks the device port Execute when performing MICR reading or you want to lock the device message before closing the application If you close the application without sending the unlock the next port cannot be locked for about five minutes until the ePOS Device Service I F unlocks the port The lt type gt onreceive lt type gt p 77 message returns ERROR_DEVICE_BUSY If you locked a port with this message data be sure to send the lt type gt unlock lt type gt p 71 1 Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt lock lt type gt lt data gt lt device_data gt lt type gt unlock lt type gt Request Unlocks the device port 1 Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt unlock lt type gt lt data gt lt device_data gt lt type gt print lt type gt Request Sends the print data and setting data to the receipt printer Sub etoment Daia type timeout int Sets the time out limit for requests in milliseconds 1 000 to 60 000 whole numbers printdata string Designates the data to print
21. lt history_list gt lt history_list gt lt data gt lt commbox_data gt lt type gt getcommhistory lt type gt lt box_id gt box1 lt box_id gt lt senderId gt member1 lt senderld gt lt receiverld gt lt receiverld gt lt message gt send_message3 lt message gt lt senderId gt member1 lt senderld gt lt receiverld gt lt receiverld gt lt message gt send_message2 lt message gt lt senderId gt member1 lt senderld gt lt receiverld gt lt receiverld gt lt message gt send_message lt message gt lt data_id gt 10 lt data_id gt 65 66 lt type gt send lt type gt Forwards data to the Communication Box Request Forwards messages to the Communication Box Sub eloment Datatype box_id string Identifier of the Communication Box to forward the message to message string Message to forward member_id string Member ID to forward To forward message to all the clients applications belonging to the Communication Box specify space LI Example lt commbox_data gt lt data gt lt type gt send lt type gt lt data gt lt commbox_data gt lt sequence gt 3 lt sequence gt lt box_id gt box1 lt box_id gt lt message gt send_message lt message gt Response Returns the message transfer result Sub element Data type Description box_id string Identifier of the Communication Box that forwarded the mes s
22. printed refer to the user s manual that came with the printer Characters in a Line Font A 42 Column Mode ANK 48 characters ANK 42 characters Font B 42 Column Mode ANK 64 characters ANK 60 characters Character Size Font A 42 Column Mode ANK 12 dots x 24 dots W x H ANK 13 dots x 24 dots Font B 42 Column Mode ANK 9 dots x 17 dots W x H ANK 9 dots x 17 dots Character Baseline Font A At the 21st dot from the top of the character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Page Mode Default Area 576 dots x 831 dots W x H Page Mode Maximum Area 576 dots x 1662 dots W x H Raster Image lt image gt Monochrome image Logo lt logo gt Monochrome image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional 6S1 DataBar Truncated GS1 DataBar Limited GS1 DataBar Expanded 2D Code lt symbol gt PDF417 QR Code MaxiCode 6S1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Composite Symbology lt rectangle gt Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Line lt line gt Rectangle Not supported 197 Paper Cut lt cut gt 80mm Cut Feed cut
23. 1 285 365 Times Details Windows 64 Bit 3 Eclipse Classic 4 2 1 183 MB Windows 32 Bit Downloaded 1 084 422 Times Details Other Downloads Windows 64 Bit Ja Eclipse IDE for Java Developers 150 MB Windows 32 Bit Downloaded 580 267 Times Details Windows 64 Bit Installing Eclipse and Configuring Initial Settings A Extract the downloaded file to a desired location In this manual extract the file under C 2 Double click eclipse exe to start Eclipse 3 Set up the work folder during Eclipse startup process Click the OK button In this manual the default settings are used i Workspace Launcher Select a workspace Eclipse SDK stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace GUAET E Use this as the default and do not ask again 157 Setting Proxy for Eclipse Use this operation when proxy setting is required for Internet connection If not required this operation is unnecessary A Select Window Preferences 5 Java Eclipse SDK File Edit Navigate Search Project Run Window Help 2 E Welcome 53 A E New Editor y 3 D jse Show Toolbar Open Perspective Workbench Show View gt W e come Customize Perspective Save Perspective As Reset Perspective Close Pe ctivi Overview pe ape a A Tutorials S Get an overview of t E Go through tutorials N
24. 10 or amp xA Chapter 4 ePOS Device XML Attributes Available for Each Printing Method to fe 2 D Q gt 3 cU 2E a Be Attribute Description oo E o o O a N vo Q O a 2 O 8 3 3 3 Ed Cc cy Lu Lu lang Language O O A A 86 font Character font O e e A 87 smooth smoothing O A A A 87 dw Double sized width O o o A 87 dh Double sized height O Oo O A 87 width Horizontal scale J O O A 87 height Vertical scale O Oo e A 88 i f black hit Oars nversion of black and white C A A A 88 parts of characters ul underline O Oo O A 88 em Emphasized printing O A 88 color Character color O A A A 88 x Print start position O Oo Oo Oo 88 y Vertical print start position 0 O A A 88 align Alignment 0 e e A 89 rotate Rotated printing O Oo e Oo 89 linespe Per line paper feed amount J O O A 89 85 Attribute e lang Specifies the target language en default English ANK de German ANK fr French ANK it Italian ANK es Spanish ANK Japanese e International character set changes to Japan ok Japanese ISJP International character set changes to Japan ie Korean International character set changes to Korean a Korean International character set changes to Korean T Simplified Chinese in ePOS Device Ver 2 2 and later International character set changes to China Icn Simplified
25. 831 dots W x H 576 dots x 831 dots W x H Page Mode Maximum Area 420 dots x 1662 dots W x H 576 dots x 1662 dots W x H Raster Image lt image gt Monochrome image Gray scale image Logo lt logo gt Monochrome image Gray scale image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional 6S1 DataBar Truncated GS1 DataBar Limited GS1 DataBar Expanded 2D Code lt symbol gt PDF417 QR Code MaxiCode 6S1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Composite Symbology lt rectangle gt Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Line lt line gt Rectangle Not supported 209 58mm 80mm Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Optional Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 210 Appendix TM T88IV 80mm 58mm Interface Ethernet Wireless LAN Resolution 180 dpi x 180 dpi W x H Print Width 512 dots 360 dots Font For more information about what character codes can be printed refer to the user s manual that came with the printer
26. A UPC E EAN13 JAN13 EAN8 JAN8 CODE339 ITF CODABAR CODE93 CODE128 PDF417 Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 360 dots x 831 dots WxH 384 dots x 831 dots WxH 512 dots x 831 dots WxH when two color printing is set 360 dots x 415 dots WxH 384 dots x 415 dots WxH 512 dots x 415 dots WxH Page Mode Maximum Area when two color printing is set 360 dots x 1662 dots WxH 360 dots x 831 dots WxH 384 dots x 1662 dots WxH 384 dots x 831 dots WxH 512 dots x 1662 dots WxH 512 dots x 831 dots WxH 213 Page Mode Line lt line gt Rectangle lt rectangle gt 58mm 60mm Not supported 80mm Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Supported via Drawer Kick Out 214 Paper layout setting lt layout gt Not supported Forced transmission mode Supported ect an error Supported Reset lt reset gt Supported Command lt command gt Supported Appendix TM U220 76mm 70mm 58mm Interface Ethernet Wireless LAN Resolution 80 dpi x 72 dpi W x H Print Width 200 dots 180 dots 150 dots Font Font A Font B For more information about what character codes can be printed refer to the user s manual that came with the printer
27. Chinese International character set changes to China zh hant Traditional Chinese in ePOS Device Ver 2 2 and later zh tw Traditional Chinese th Thai Only for South Asia model i a code besides English ANK Characters not installed in a printer cannot be printed For printable character code refer to the Technical Reference Guide of your printer Depending on language specification a part of characters is printed as follows Characters U 0024 Characters U 005C Japanese Korean Simplified Chinese Traditional Chinese W Chapter 4 ePOS Device XML e font Specifies the character font Attribute value font_a default Font A font_b Font B font_c Font C special_a Special font A special_b Special font B When Japanese is specified characters in Shift JIS can be printed e smooth Sets smoothing When smoothing is enabled the print quality of characters will be improved Attribute value true or 1 Specifies smoothing false or 0 default Cancels smoothing e dw Sets the double sized width Attribute value true or 1 Specifies the double sized width false or 0 default Cancels the double sized width When the double sized width attribute and the width attribute are specified in one Q element at the same time priority is given
28. EPSON TMNet WebConfig starts Select Web Service Settings Device Registration Key Inout Device 5 The Key Input Device screen is displayed Perform the following settings and click Ada Device ID local_scanner Device name Select the applicable device from the list Control Script Scanner_Generic js 6 The registered barcode scanner is displayed in Registered key input devices 176 Chapter Sample Program Setting the Sample Program Configure the settings in the following procedure A Expand ePOS Device_Sample_XML_Vx x x zip Start XCode and open the ePOS DeviceXMLSample xcodeproj project file When the project is opened the project settings and source files will be displayed A GQ N From the options disolayed when Set Active Executable is selected select an iPhone or iPad file 177 Executing Sample Program 178 2 The iOS can be run with iOS Simulator Androiod You can execute the sample program using the following methods A Executing with an emulator p 178 A Executing with an Android device p 181 Executing with an emulator Execute the program using the following procedure Start Android Virtual Device Manager After it starts click the New button Start All Programs Android SDK Tools AVD Manager Android Virtual Device Manager ea a Tools List of existing Android Virtual Devices located at C Users to
29. For checking method of the status sheet refer to Technical Reference Guide of each TM DT If the Windows Security screen appears while using EPSON TMNet WebConfig enter your user name and password The default values are as follows User name epson Password epson 27 3 EPSON TMNet WebConfig starts From Web Service Settings Device registration click an applicable item according to the device type to be registered Printer Used to set a TM printer to be controlled by TM DT Customer Display Used to set a customer display to be controlled by TM DT Key input device Used to set a key input device to be controlled by TM DT bette Used to set a serial communication device to be controlled by Serial communication device TM DT Other Used to set other device to be controlled by TM DT 4 The setting screen for each device appears Register the connected device into TM DT a Printer e Confirm that the local printer is registered using the following procedure 1 Confirm that TM DT is registered for the device ID local_printer in Registered printers 2 Click Test printing Ensure that TEST_PRINT is printed e Register the connected network printer using the following procedure 1 Set the following items and click Add Device ID Enter the ID any character string of the printer to be controlled Type Select Network printer Model no Select the model of the printer to b
30. IMEROO omama aha ain aaa R aa Bae ean ee aaa 201 TMEP OI with Pelican ads 203 UM e amen 205 TM iaa rr seda iia ee tees 207 IM aan 209 TM TO Mi AiO aS 211 MM A A a 213 MUDO aiii da eb 215 E Paper setting function Of TM L9O oonoccconicccnncccnononcnononancnoncnnnnnnnnnnnnnnn nn nnnnnrrrnnnr nana 217 Seting Paper WICH doin wie aiii A RA AE AAA 217 Automatic setting Of paper IQYOUT nn rra rra 217 10 Chapter Overview Overview This chapter describes the features of and the specifications for ePOS Device XML ePOS Device XML Native Application Request XML format Response XML format Socket I F ePOS Device Service I F AR Response Event Device Control Script A a a 7 t Serial Communication Key Input Device Network Printer 1 I DN E A a a a a I Device ePOS Device XML is a command system that defines the function to control various types of POS peripheral devices including this product s printer connected to TM Intelligent using XML Application in devices such as personal computers smartphones and tablet computers creates a request message in XML format and send it to TM Intelligent using socket communication ePOS Device Service installed in TM Intelligent executes control over peripheral devices by interrupting a request message and returns a response 11 12 1 No need to prepare any device such as a PC to act as a controller to control the periphe
31. Outline X o BS gt An outline is not available 4 E ePOS DeviceXMLSample gt EB src gt GB gen Generated Java Files gt E Android 3 2 gt BA Android Dependencies Sa aceste 179 For the initial startup the window to confirm the execution type appears Select Android Application and click the OK button r a 8 Run As Erma Select a way to run ePOS DeviceXMLSample Android Application Ju Android JUnit Test E Java Applet El Java Application Ju JUnit Test Description Runs an Android Application o EE E d 6 The emulator starts and the application is executed lo ePOS DeviceXML Sample IP Address 192 168 192 168 DevicelD Printer local_printer O O O O DevicelD Scanner local_scanner an as y VES connect Y OS PSA aaa labs lo le Io dm dd lu des JE prem eal joa evel od iene pot ia li 180 Chapter Sample Program Executing with an Android device Execute the program using the following procedure A Install the USB driver for the Android Debug Bridge ADB for the Android device you are using For more information about USB drivers for Android devices and their installation see the site at the following URL http developer android com tools extras oem usb html If you are unable to find an ADB USB driver for the device you are using at the site Q linked to above search the website of the manufa
32. Series TMNet WebConfig a s Information Web service settings yepe kd b Current status System settings Keyboard_Generic js 4 D Serial communication devic b Ome Registered key input devices Device ID Device name Control script p Adi delate seno1 union unknown Configure the settings in the following procedure A Make sure that the barcode scanner is connected to the TM DT 2 Make sure that the TM DT s power is turned on 3 Start EPSON TMNet WebConfig from the shortcut on the desktop e Ifyou are making settings from an external device set the TM DT IP address in the Q address for the Web browser The default IP address for TM DT is 192 168 192 168 http IP address of TM DT webconfig Check the IP address of TM DT with the status sheet For checking method of the status sheet refer to Technical Reference Guide of each TM DT 4 EPSON TMNet WebConfig starts Select Web Service Settings Device registration Key input device 5 The Key Input Device screen is displayed Perform the following settings and click Ada Device ID local_scanner Device name Select the applicable device from the list Control Script Scanner_Generic js 6 The registered barcode scanner is displayed in Registered key input devices Chapter Sample Program TM Series Web Service Settings Device Admi
33. TCP IP connection TCP connection to Socket I F from the native application 1 2 connect message q _ 2 tomectmessa ge Establishes communication path l with ePOS Device Service I F T 1 Establishment of TCP IP connection TCP connection to Socket I F from the native application i 2 connect message LJ 1 1 1 1 with ePOS Device Service I F Establishes communication path l 3 open_commbox message 3 1 Creates the Communication Box 3 2 Adds Application A to members E q 4 l ES 3 open_commbox message 3 2 Adds Application B to members 3 3 Response 4 commbox_data message type send T 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ane 4 2 commbox_data message type onreceive 4 3 Response 35 36 Application A 5 0 6 ePOS Device Application B ose_commbox message qe 5 3 Response disconnect message i A Disconnection of TCP IP connection LI 5 1 Deletes Application A from members 5 close_commbox message 5 1 Deletes Application B from members 5 2 Ends the Communication Box 5 3 Response 6 disconnect message l Disconnection of TCP IP connection E 2 2 Ch
34. Type Valid value range Receipt o Set t without black mark id Receipt with black mark 150 to 1500 Distance from the top of black mark Die cut label 0 to I r Dist f the t f label without black mark 0 to 1500 istance from the top of labe Die euii label 15 to 1500 Distance from the bottom of black with black mark mark Chapter 4 ePOS Device XML e margin bottom Specifies bottom margin in units of 0 1mm Paper Type Valid value range with black mark Receipt o without black mark Setup not necessary Receipt with black mark Oj Distance from the bottom of label ia e 15 to O paper feed direction is a positive without black mark number Decuria Distance from the top of black mark O O o paper feed direction is a positive number e offset cut Specifies cut position in units of 0 1mm In case of die cut label paper it is a distance from the bottom of label When a paper has black mark it is a distance from the beginning of black mark CC EE Receipt with black mark o Set t without black mark O Dist f the t f black kt Receipt with black mark 290 to 50 o IR the cutting position Die cut label 0 to 50 Distance from the bottom of label to the without black mark cutting position Die cut label 0 to 50 Distance from the top of blac
35. character string For information about ESC POS commands see the ESC POS Command Reference Q You can view the ESC POS Command Reference from https reference epson biz com 1 Example lt command gt 01025AEF3B405C lt command gt 133 Message Data for the POS Keyboard lt type gt onkeypress lt type gt Response Returns the input data from the POS keyboard to the application Sub element Data type Description keycode int Receives the key code decimals input with the POS keyboard For key code details refer to the List of KeyCode p 185 ascii string Receives the characters created by key codes Characters converted into symbols and capital letters from holding down the shift key are set Character strings in received data Escape processing is performed for the following character strings Character string before amp Ampersand samp gt Greater than symbol Sat lt Lesser than symbol amp lt Double quotation mark amp quot Single quotation mark sapos 1 Example lt data gt lt ascii gt a lt ascii gt lt data gt lt type gt onkeypress lt type gt lt keycode gt 49 lt keycode gt 134 Chapter 4 ePOS Device XML lt type gt setprefix lt type gt Designates the key code to determine the start of character strings to detect input from the POS keyboard If a key code designated by this message is input th
36. e The align attribute set in this element also applies to the align attribute in each of the image logo barcode and symbol elements e rotate Sets rotated printing of text true or 1 Specifies rotated printing of text false or 0 default Cancels rotated printing of text For the standard mode specify the rotate attribute when at the start of a line YN In page mode even if rotate is specified it is disabled For the page mode set the print direction as right to left right_to_left using the direction element to perform 180 degree rotated printing of text The rotate attribute set in this element also applies to the rotate attribute in each of the barcode and symbol elements e linespc Default 30 Specifies the per line paper feed amount in dots Example To print a character string based on the following settings Language English Smoothing Enable Align Center Align Font Font A Double sizing Double width and height characters Underline Enable lt text lang en gt lt text smooth true gt lt text align center gt lt text font font_a gt lt text dw true dh true gt lt text ul true gt lt text gt Hello World amp 10 lt text gt 89 90 lt feed gt Feeds paper Specifies the paper feed amount in dots or in lines When no paper feed amount is specified performs sing
37. eee io diia ANK 33 characters ANK 30 characters ANK 25 characters Font B ANK 40 characters ANK 36 characters ANK 30 characters Character Size Font A ANK 4 5 dots x 9 dots W x H Font B ANK 3 5 dots x 9 dots W x H dd PON Bottom of the characters Baseline Font B Bottom of the characters Default Line Feed Space 12 dots Color Specification First color First color Second color When using a two color ribbon cassette Raster Image lt image gt Monochrome image Logo lt logo gt Not supported Barcode lt barcode gt Not supported 2D Code lt symbol gt Not supported Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area Not supported Page Mode Maximum Area Not supported Page Mode Line lt line gt Rectangle Not supported lt rectangle gt Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Not supported Paper layout setting lt layout gt Not supported Forced transmission mode Not supported 215 76mm 70mm 58mm R f ecovery from an error Notauedotted lt recovery gt Reset lt reset gt Supported Command lt command gt Supported 216 Appendix Paper setting function of TM L90 Setting Paper Width It sets the paper width with memory switch setting mode A Turn the printer s power off and set the receipt paper While the cover is opened turn the power on w
38. history of the Communication Box getcommhistory 64 lt Request gt lt Response gt send Sends data to the Communication Box lt Request gt 66 onreceive Notifies data from the Communication Box lt Response gt 67 Message Data for Each Device Designates the data to control the device with the sub element of the lt data gt element for the lt device_data gt message The component elements for message data vary based on the device type Before designating the data designates the message data type with the lt type gt element and then designates the sub element data The device types and the lt type gt elements that can be used with each TM intelligent printer are as in the table below Serial devices cannot be used with a TM i Series printer with the specification of without a Serial port Value for lt type gt TM DT TM lt Request gt Device Hub Terminal shutdown Shuts down the TM DT in ePOS Device lt Response gt Ver 2 5 and later onshutdown Shuidown tesultofio TMEDT Vv 68 lt Response gt Barcode Scanner ondata Scan data from a barcode Vv Vv 69 scanner lt Request gt print Print data and setting data to Y Yv 70 Printer printers lt Response onxmlresult p ji Y Y 70 Data from printers 46 Chapter 4 ePOS Device XML Serial devices cannot be used with a TM i Series printer with the specification of without a Serial port Value for lt t
39. interface T Wired LAN UB E02 UB EO3 1 Wireless LAN UB RO3 UB RO4 Customer Display The following customer display is available O TM T88V DT e DM D110 USB Interface for TM T88V DT T Other TM DT series e DM D110 USB Interface 1 TM i series e DM D110 USB Interface 17 Peripheral Device Keyboard device Vv Y Barcode scanner Y Y Input device Y Y Serial communication device Y Vv USB device that can provide a control level equivalent v g to serial communication devices Will require separate installation of a serial USB conversion driver Serial USB conversion drivers with certain specifications may not be usable With the TM DT Series a peripheral device can be used with a device control script file devel Q oped by the user to match the device Also an API for device control script is available For details see Device Control Script p 141 Chapter Overview Contents in the Package m ePOS Device XML User s Manual This Document 1 TM T88V DT Technical Reference Guide 1 TM T70II DT Technical Reference Guide 11 TM H6000IV DT Technical Reference Guide 1 TM T88V i TM i Firmware Ver 4 0 or later Technical Reference Guide CO TM T70 i TM i Firmware Ver 4 0 or later Technical Reference Guide 1 TM T20ll i Technical Reference Guide 1 TM T82ll i Technical Reference Guide Sample Program ePOS Device_Sample_XML_Vx x x zip This contains the following d Sample
40. is automatically added When a 12 digit number is specified the 12th digit is processed as a check digit but the check digit is not validated EAN13 When an 12 digit number is specified a check digit is automatically added JAN13 When a 13 digit number is specified the 12th digit is processed as a check digit but the check digit is not validated EAN8 When a 7 digit number is specified a check digit is automatically added JAN8 When an 8 digit number is specified the 8th digit is processed as a check digit but the check digit is not validated When the first character is the character is processed as the start DE39 oe character In other cases a start character is automatically added ITF Start and stop codes are automatically added Check digits are not added or validated Specify a start character A to D a to d CODABAR Specify a stop character A to D a to d Check digits are not added or validated CODE93 Start and stop characters are automatically added A check digit is automatically calculated and added 95 96 Barcode type Barcode data specification procedure Specify a start character CODE A CODE B CODE C A stop character is automatically added A check digit is automatically calculated and added To encode each of the following characters specify two characters starting with the character FNC1 1 FNC2 2 CODE128 FNC3 3 FNC4 4 CODE A
41. label width 580 height 0 margin top 15 margin bottom 15 offset cut 25 gt lt To set 58mm die cut label with black mark gt lt layout type label_bm width 580 height 0 margin top 15 margin bottom 15 offset cut 25 offset label 15 gt Chapter 4 ePOS Device XML lt recovery gt Recovers from an error in ePOS Device Ver 2 2 and later Cannot be written in the lt page gt tag Recovers from errors that can be recovered from and clears the buffer Q Enable forced transmission mode p 79 to use this element Example lt Recovers from errors that can be recovered from and clears the buffer gt lt recovery gt lt reset gt Resets the printer in ePOS Device Ver 2 2 and later Cannot be written in the lt page gt tag 2 Other printing commands in the print document are ignored Example lt Resets the printer gt lt reset gt 121 Message Data for the Customer Display x 122 For the display data refer to Customer Display Control XML p 124 lt type gt display lt type gt Request Sends the display data and setting data to the customer display Sub etoment Dala ype timeout int Sets the time out limit for requests in milliseconds 1 000 to 60 000 whole numbers displaydata string Specifies the customer display control XML For details refer to Cust
42. layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 202 Appendix TM P60Il with Peeler Receipt 58mm Receipt 60mm Die cut label Interface Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 420 dots 432 dots 160 to 400 dots Font Font A Font B Font B For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A ANK 35 characters ANK 36 characters ANK 33 characters Font B ANK 42 characters ANK 43 characters ANK 40 characters Font C ANK 52 characters ANK 54 characters ANK 50 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 10 dots x 24 dots W x H Font C ANK 8 dots x 15 dots W x H Character Baseline Font A At the 21st dot from the top of the character Font B At the 21st dot from the top of the character Font C At the 15th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Raster Image lt image gt Monochrome image Logo lt logo gt Monochrome image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional GS1 DataBar Truncated
43. lt Set brightness to 20 gt lt brightness value 20 gt lt Set brightness to 40 gt lt brightness value 40 gt lt Set brightness to 60 gt lt brightness value 60 gt lt Set brightness to 100 gt lt brightness value 100 gt 131 132 lt marquee gt Controls the marquee for character strings Displays the designated character string 1 character at a time at the interval designated in uwait After fin ishing the complete display it waits the time designated by rwait and then displays the character string again from the start Attribute 1 format e Designates the display pattern for the marquee Attribute value Description walk Default Displays the string from the right end of the window place Displays the string from the left end of the window I repeat e Designates the number of times to repeat the display 0 Default Repeats indefinitely 1 to 127 whole number Repeats the designated number of times 1 uwait e Designates the wait interval for each character display in milliseconds Attribute value Description 0 to 2000 whole number Wait interval for each character display A rwait e Designates the wait interval after displaying the end of the character string in milliseconds Attribute value Description 100 to 2000 whole number Wait period for after d
44. nrcnnnanr nn 150 ENVIFOMIMOENT ici A odds 150 Flow of environment construction for TM DT Series occ nara nora rr ron rr rr 151 Flow of environment construction for TM i Series ecese nara no rana rra rr rr 153 Installing Java SE Development Kit eer rr rr 155 setting Up ECIS mitad dd 157 setting Up Anarold SDKREMINDI Si ia 159 stalig ADT PUGIN n e e A a aia 164 IMpPorihg the Sample PrOograM A eed 168 Setting th Barcode SCAN bi 170 E Building Environment for iOS ccccecccececeeeeeeeeeeeeeeeeeeeeeeeeeeeesesaeeeeseeeeessaaeeeeeeeeeeeneeeess 172 ENVIO MENE A TA A ee aT Aes 172 Flow of environment construction for TM DT Series wo iii 173 Flow of environment construction for TM i Series eccerre 174 Setting the Barcode SCONNET micnininicnnininnaninanananinrarorrararar rr rr 175 SETTING the Sample Pro Mc dd dd ai 177 E Executing Sample PrOYQrAM ccooncccccnnncccnnonnccnnnnnnnnnnnnncnnnnncnnnnn nr nnnnnrrrnnn rre cnn rre rre 178 AARNEN o EE ONO 178 E How to Use the Sample Progra ccccceecceeeeneeeeeeeeeeeseeeeeseeeeeeeseeeeseeeeeseeaeesesseeeeeeeneess 183 A E re aeoaea aaaea ae eye 185 E List of KeyCode niian nea E ias 185 E Printer specifications 00 cin ndena aa iner ii 187 TM H6000IV DT TM H600QIM snt nanoa a aa a a a R 187 MAOR T MTOE a 189 IM T88V D1I TM T88V TM l88V pinson a a A EEE a AAE a has 191 TMS 20M a a E E vk pra E E N a 193 TM 17047 IM 70 ua A ai 195 FMg 21 IMA8 2 oa 197 TM Ovoide a a a teeens 199
45. primary message in the following format e In Mode 2 Postal code 1 to 9 digit number GS x1d ISO country code 1 to 3 digit number GS x1d Service class code 1 to 3 digit number e In Mode 3 Postal code 1 to 6 pieces of data convertible by Code Set A GS x1d ISO country code 1 to 3 digit number GS x1d Service class code 1 to 3 digit number GS1 DataBar Stacked Convert the character string to the string in UTF 8 apply the escape GS1 DataBar Stacked sequence and then encode the string Omnidirectional Specify a 13 digit global trade item number GTIN not including an application identifier Al or a check digit GS1 DataBar Expanded Convert the character string to the string in UTF 8 apply the escape Stacked sequence and then encode the string You can enclose an application identifier Al in parentheses The parentheses are used as HRI print characters and are not encoded as data To encode each of the following characters specify two characters starting with the character FNC1 C 0 Aztec Code After converting the character string to UTF 8 conduct the escape sequence and encode DataMatrix After converting the character string to UTF 8 conduct the escape sequence and encode To specify binary data that cannot be represented by character strings use the following escape sequences AI en OOOO xnn Control code Back slash 100 Chapter
46. program for Android d Sample program for iOS T Sample for device control script Keyboard_Generic js Keyboard Scanner_Generic js Barcode scanner SimpleSerial_Generic js Serial communication device For how to use the sample program refer to Sample Program p 149 e Sample for device control script is for use with TM DT It is not used with the TM i Series 2 e A sample program for an Android OS environment is provided in the ePOS Device XML For customers in North America go to the following web site httpo www epsonexpert com and follow the on screen instructions For customers in other countries go to the following web site https download epson biz com service pos Restrictions 20 1 The ruled line command is available only when the printer supports the ruled line commana 1 The drawer and the buzzer cannot be used together 1 The buzzer function cannot be used if the printer is not provided with the buzzer 1 When a 2D code scanner is used multibyte characters such as Japanese cannot be obtained properly 1 When 2D code data contains an ASCII control code 0x00 to 0x1F control codes cannot be obtained D Keycodes that can be obtained from the keyboard are restricted For the key codes that can be obtained refer to List of KeyCode p 185 1 Device control script files cannot be registered in a TM i Series printer Serial communication devices cannot be used with a TM i Serie
47. proxy setting window appears Set the proxy and click the Close button r Ff Android SDK Manager Settings Proxy Settings HTTP Proxy Server HTTP Proxy Port Manifest Cache Directory C Users toki android cache Current Size 205 KiB E Use download cache Clear Cache Others E Force https sources to be fetched using http Ask before restarting ADB Enable Preview Tools Close 4 Select the version of the device to develop and Android Support Library inside Extras then click Install XX packages r E Android SDK Manager oje Packages Tools SDK Path C Program Files Android android sdk Packages i Name API Rev Status 2 Android 1 5 API 3 4 Ly Extras Y Ga Android Support Library 10 Not installed me Google AdMob Ads SDK 8 y Not installed Google Analytics SDK 2 Notinstalled Google Cloud Messaging for Android Library 3 Not installed F A Google Play services 1 Y Not installed E amp Google Play APK Expansion Library 2 Y Notinstalled E Google Play Billing Library 2 Not installed Google Play Licensing Library 2 Not installed Y Ga Google USB Driver 7 Notinstalled Ga Google Web Driver 2 Not installed E Intel x86 Emulator Accelerator HAXM 2 Not installed Show Updates New Y Installed 1 Obsolete Select New or Updates Install 13 packages Sort by API level 5 Repositor
48. pulse gt Supported Buzzer lt sound gt Not supported 211 80mm 58mm Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 212 Appendix TM T90 58mm 60mm 80mm Interface Ethernet Wireless LAN Resolution 180 dpi x 180 dpi W x H Print Width 360 dots 384 dots 512 dots Font For more information about what character codes can be printed refer to the technical reference guide that came with the printer h ters i Font A a Sees Sm ANK 30 characters ANK 32 characters ANK 42 characters Font B ANK 40 characters ANK 42 characters ANK 56 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 9 dots x 17 dots W x H Character Font A At the 21st dot from the top of the character Baseline Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Second color Second color when two color printing is set Raster Image lt image gt Monochrome image Two color image Logo lt logo gt Monochrome image Two color image To perform two color printing change the settings of the printer using the memory switch setting utility Barcode lt barcode gt 2D Code lt symbol gt UPC
49. the U S failure to strictly comply with Seiko Epson Corporation s operating and maintenance instructions e Seiko Epson Corporation shall not be liable against any damages or problems arising from the use of any options or any consumable products other than those designated as Original EPSON Products or EPSON Approved Products by Seiko Epson Corporation Trademarks EPSON EXCEED YOUR VISION and ESC POS are registered trademarks of Seiko Epson Corporation in Japan and other countries regions Windows and Internet Explorer are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries Android and Google Chrome United States and other countries Apple Mac Mac OS and Xcode iPhone iPad are either registered trademarks or trademarks of Apple Inc in the United States and other countries are either registered trademarks or trademarks of Google Inc in the iOS is registered trademarks or trademarks of Cisco in the United States and other countries Flash Flex are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and other countries Java is a registered trademark of Oracle Corporation its subsidiaries and affiliates in the U S and other countries Eclipse is a trademark or registered trademark of Eclipse Foundation Inc ESC POS Command System EPSON has been taking industry s initiatives with its own
50. the key input device and confirm that the operation result is displayed properly T Serial Communication Devices Register the connected serial communication device in the following procedure 1 Set the following items for the connected serial communication device and click Ada Device ID Enter the device ID any character string Select the device name of the serial communication device Device name The name can be selected from the product names and ports Select the device control script to be used for the serial Control script so o communication device Communication Set the communication speed of the device speed bps Data bit Set the data bit Parity Set the parity Stop bit Set the stop bit Flow control Set the flow control 2 Confirm that the device is added to Registered serial communication devices 1 Other Register the connected device in the following procedure 1 Set the following items for the connected device and click Ada Device ID Enter the device ID any character string Select the device control script to be used for the connected Control script davies 2 Confirm that the device is added to Other registered devices 29 30 A Web Service Settings Device Admin Device Registration General Printer System Settings Wired gt _TCPIP Wireless gt _TCPIP gt Web Contents gt Time
51. to direct medical care etc please make your own judgment on this product s suitability after a full evaluation About this Manual Aim of the Manual This manual is aimed to provide developers with information required for developing and designing applications using ePOS Device XML The TM Intelligent series in this manual is a generic term for the TM DT series and TM i series The TM DT series is a generic term for the following printers e TM T88V DT e TM T7OII DT e TM H6000IV DT The TM i series is a generic term for the following printers e TM T88V i TM i firmware Ver 4 0 or later e TM T70 i TM i firmware Ver 4 0 or later e TM T20II i e TM T82Il i Manual Content The manual is made up of the following sections Chapter 1 Overview Chapter 2 Building Environment Chapter 3 Programming Guide Chapter 4 ePOS Device XML Chapter 5 Device Control Script Chapter 6 Sample Program Appendix List of KeyCode Printer specifications Paper setting function of TM L90 Contents Md e EU CS Dd 3 KSy TO SyYMbBOls a acc i A A a AR a a Aa E UAY 3 Ml Restrichion Of USC iniii niaaa is 3 MADOUT This MONU A css ia 4 Ati Of tThe ManUd ii AS ein ae A a E a a 4 lao ANA A thay AS A A EE 4 MECO Se ei cen dosh onic cntci assis day anata vivid ene cbce sit A ccd TT 5 OVOIVIOW insista ai 11 MePOS D vice Million 11 ESTU A A a cea ale i caoba 12 System Configuration EXAMPI wc EE rr rr rr 12 How to Use the Communication BOX wisi a A A o a Dile d
52. to the device T Receiving data generated in the device Configuration of Device Control Script Coding of the device control script must satisfy the following conditions 1 Describe the codes required for device control collectively in a file Only one file can be registered when using WebConfig for device setting 1 The part before the first dot of the file name must be identical to the constructor name Example File name Keyboard_Generic ver1 0 js gt Constructor name Keyboard_Generic 1 For external reference of constructor declare exports Ex exports Keyboard Generic Keyboard Generic 1 The constructor must have two arguments T The device control script must have the properties as shown below Set an appropriate name with the constructor e DEVICE_TYPE property Object type String type_keyboard Specify this to use a keyboard device type_scanner Specify this to use a barcode scanner type_simple_serial Specify this to perform simple serial communication e DEVICE_GROUP property Object type String group_hid Specify this to use an input device that can run with an HID driver group_serial Specify this to use a serial communication device group_other Specify this to use other device T The onDeviceData method is provided to receive data generated in the device For details refer to Device Control Script Name object p 144 1 The method corresponding to the metho
53. to the scale specification for the width attribute e dh Sets the double sized height APD UI valus true or 1 Specifies the double sized height false or 0 default Cancels the double sized height When the double sized height attribute and the height attribute are specified in one Q element at the same time priority is given to the scale specification for the height attribute e width Specifies the horizontal scale Attribute valus Integer from 1 to 8 Horizontal scale default 1 When the double sized width attribute and the width attribute are specified in one Q element at the same time priority is given to the scale specification for the width attribute 87 88 e height Specifies the vertical scale Integer from 1 to 8 Vertical scale default 1 element at the same time priority is given to the scale specification for the height When the double sized height attribute and the height attribute are specified in one Q attribute e reverse Sets the inversion of black and white parts of characters AYIBUI6 value true or 1 Specifies the inversion of black and white parts of characters false or O default Cancels the inversion of black and white parts of characters e ul Sets underlining AU valus true or 1 Specifies underlini
54. x 203 dpi W x H Print Width 420 dots 576 dots Font Font A Font B For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A ANK 35 characters ANK 48 characters Font B ANK 46 characters ANK 64 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 9 dots x 17 dots W x H Character Baseline Font A At the 21st dot from the top of the character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Raster Image lt image gt Monochrome image Logo lt logo gt Monochrome image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE339 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional 6S1 DataBar Truncated GS1 DataBar Limited GS1 DataBar Expanded 2D Code lt symbol gt PDF417 QR Code MaxiCode 6S1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Composite Symbology not supported Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 420 x 831 dots W x H 576 x 831 dots W x H Page Mode Maximum Area 420 x 1662 dots W x H 576 x 1662 dots W x H Page Mode Line lt line gt Rectangle lt rectangle gt Not supported Paper Cut lt cut gt Cut Feed cut Drawer Kic
55. x H Page Mode Maximum Area 512 dots x 1662 dots W x H 360 dots x 1662 dots W x H Page Mode Line lt line gt Rectangle Not supported lt rectangle gt Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Optional Pattern A to E Error Paper end Stop Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 192 Appendix TM T20ll i 80mm Interface Ethernet Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 576 dots 42 Column Mode 546 dots Font For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A 42 Column Mode ANK 48 characters ANK 42 characters Font B 42 Column Mode ANK 64 characters ANK 60 characters Character Size Font A 42 Column Mode ANK 12 dots x 24 dots W x H ANK 13 dots x 24 dots Font B 42 Column Mode ANK 9 dots x 17 dots W x H ANK 9 dots x 17 dots Character Baseline Font A At the 21st dot from the top of the character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Page Mode Default Area 57
56. 044 1000000001037 1000000001020 1000000001013 1000000001051 6 Click or tap print to print the scan result PnPata 1000000001044 1000000001037 1000000001020 1000000001013 1000000001051 print Y If it is printed properly Print success is displayed on the bottom of the screen PnPata 1000000001044 1000000001037 1000000001020 1000000001013 1000000001051 oo print rint success ocal_scanner OK ocal_printer OK onnect to server success Appendix Appendix List of KeyCode key Decima key Decima Backspace 8 Numbers on the keyboard Tab 9 4 52 Enter 13 5 53 Shift 16 6 54 Ctrl 17 7 55 Alt 18 8 56 Caps Lock 20 9 57 Esc 27 Alphabets on the keyboard Space 32 A 65 PgUp 33 B 66 PgDn 34 G 67 End 35 D 68 Home 36 E 69 37 F 70 38 G 71 j 39 H 72 40 73 Insert 45 J 74 Delete 46 K 75 Numbers on the keyboard L 76 0 48 M 77 49 N 78 2 50 O 79 3 51 P 80 185 186 Key KeyCode Key KeyCode Decimal Decimal Alphabets on the keyboard Function key Q 81 F6 117 R 82 F7 118 S 83 F8 119 T 84 FO 120 U 85 F10 121 V 86 F11 122 W 87 F12 123 X 88 186 Y 89 187 Z 90 188 Numeric keypad 189 106 190 107 191 109 192 Function key
57. 134 the POS keyboard lt Request gt Designates the key code to setprefix determine the start of char Y Y 189 acter strings to detect input from the POS keyboard lt Response gt POS Keyboard onstring Input character strings from Vv Vv 136 the POS keyboard lt Request gt Designates the keycode for setMSRPrefix determining the card infor Vv Vv 137 mation reception with the keyboard with an MSR lt Response gt ondata Card information from a Vv Vv 138 keyboard with an MSR lt Request gt sendcommand Sends commands to the serial Vv Vv 139 Serial Device device lt Response gt drepl Vv Vv 14 i S E Data from the serial device Chapter 4 ePOS Device XML Messages lt connect gt Response Returns to the application that the connection was established sub element Data ype data string Connection information For details refer to the data below Returned only when the connection is successful Q Send the following message with the application triggered by receiving this message 1 data sub element Datatype client_id string ID of the connected client protocol_version string Version of the connected TM Intelligent LJ Example lt connect gt lt data gt lt client_id gt 1234567890 lt client_id gt lt protocol_version gt 2 0 lt protocol_version gt lt data gt lt connect gt 49 lt reconnect gt Notifies the confirmat
58. 3 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 2D Code lt symbol gt PDF417 AR Code MaxiCode Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 576 dots x 738 dots W x H 560 dots x 738 dots W x H when two colorprinting 576 dots x 369 dots W x H 560 dots x 369 dots W x H is set 199 200 Receipt Die cut label Page Mode Maximum Area 576 dots x 1476 dots W x H 560 dots x 1476 dots W x H when two colorprinting 576 dots x 738 dots W x H 560 dots x 738 dots W x H is set Page Mode Line lt line gt Rectangle Not supported lt rectangle gt Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Supported via Drawer Kick Out Paper layout setting lt layout gt Not supported With automatic setup mode Forced transmission mode Supported R ecovery from an error Sippora lt recovery gt Reset lt reset gt Supported Command lt command gt Supported Appendix TM P60Il Receipt 58mm Receipt 60mm Interface Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 420 dots 432 dots Font Font A Font B Font C For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A ANK 35 characters ANK 36 chara
59. 3 Registration of Device Control Script TM DT Series 0 25 i l l For devices for which the device control script prepared in advance cannot be used l l register the device control script developed by the user from a Web browser l L TEA AAA 4 Registration of Device p 27 Register the device to be connected into TM DT Make registration using a Web browser Necessary step r Optionalstep L J 23 24 1 Connection of Device to TM i Connect a device to TM i For the devices that can be connected refer to Operating Environment p 16 2 Network Settings Configure the system and TM i network settings These settings can be made via the following For details refer to the Technical Reference Guide of each TM i e EPSON TMNet WebConfig e EpsonNet Config e Easy kitting 3 Registration of Device on page 27 Register the device to be connected into TM i Make registration using a Web browser Chapter 2 Building Environment Registration of Device Control Script TM DT Series This section describes how to register the device control script prepared by the user in advance sz TMNet _ WebConfig Information A ROSE HT Web service settings gt Current status System settings gt Network gt Date and time Control script to be registered Item 5 Control scri Settings os Web service settings Startup settings b_Startup settings Device Admin Device registration
60. 3 lines forward gt lt feed line 3 gt lt Start a new line after printing a character string gt lt text gt Hello lt text gt lt feed gt lt text gt World lt text gt lt feed gt lt To print while peeling the label one by one gt lt feed pos current_tof gt lt barcode type code39 hri below gt 0001 lt barcode gt lt feed pos peeling gt 91 lt image gt Print a raster graphic bit image Data type xs base 4Binary Raster graphics refer to data generated by horizontally scanning the pixels of an image from the top left corner of that image as the origin point Data is generated based on 1 bit per pixel for two tone images and 4 bits per pixel for 16 tone images starting with the upper bits of byte data And zero padding is performed so that scan data per line can be treated on a byte basis A To print a raster image at high speed specify left for the align attribute and specify a multiple of 8 that does not exceed the printer paper width for the width attribute value Page mode does not support printing in multiple tones Multiple tone graphics can only be printed in standard mode x In page mode a raster image is laid out in the current print position with the reference point being its bottom left dot The print position will not move In page mode set the print position so that a raster image does not extend beyond the print area When mult
61. 30 dots Color Specification First color Raster Image lt image gt Monochrome image Gray scale image Logo lt logo gt Monochrome image Gray scale image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE339 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional 6S1 DataBar Truncated GS1 DataBar Limited GS1 DataBar Expanded 2D Code lt symbol gt PDF417 QR Code MaxiCode GS1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 576 dots x 1662 dots W x H Page Mode Maximum Area 576 dots x 1662 dots W x H Page Mode Line lt line gt Rectangle lt rectangle gt Not supported Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Supported 189 80mm Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 190 Appendix TM T88V DT TM T88V i TM T88V Only for South Asia model 80mm 58mm Interface Ethernet Wireless LAN Resolution 180 dpi x 180 dpi W x H Print Width 512 dots 360 cots Font Font A Font B For more information about what characte
62. 4 ePOS Device XML Attribute e type Required attribute Specifies the 2D code type paf417_standard Standard PDF417 paf417_truncated Truncated PDF417 grecode_model_1 QR Code Model 1 qrcode_model_2 QR Code Model 2 maxicode_mode_2 MaxiCode Mode 2 maxicode_mode_3 MaxiCode Mode 3 maxicode_mode_4 MaxiCode Mode 4 maxicode_mode_5 MaxiCode Mode 5 maxicode_mode_6 MaxiCode Mode 6 gs1_databar_stacked GS1 DataBar Stacked gs1_databar_stacked_omnidirectional GS1 DataBar Stacked Omnidirectional gs1_databar_expanded_stacked GS1 DataBar Expanded Stacked Aztec Code Full Range Mode in ePOS Device Ver 2 2 and later Aztec Code Compact Mode in ePOS Device Ver 2 2and later DataMatrix ECC200 square in ePOS Device Ver 2 2 and later DataMatrix ECC200 rectangle 8 lines in ePOS Device Ver 2 2 and later DataMatrix ECC200 rectangle 12 lines in ePOS Device Ver 2 2 and later DataMatrix ECC200 rectangle 16 lines in ePOS Device Ver 2 2 and later azteccode_fullrange azteccode_compact datamatrix_square datamatrix_rectangle_8 datamatrix_rectangle_12 datamatrix_rectangle_16 101 102 e level Specifies the error correction level E level_0 PD
63. 5 MB jdk 6u37 solaris i586 sh Solaris x86 119 94 MB jdk 6u37 solaris i586 tarZ Solaris SPARC 73 36 MB jdk 6u37 solaris sparc sh Solaris SPARC 124 71 MB 3 jdk 6u37 solaris sparctar Z Solaris SPARC 64 bit 12 13 MB 3 jdk 6u37 solaris sparcv9 sh Solaris SPARC 64 bit 15 42 MB jdk 6u37 solaris sparcv9 tar Z Solaris x64 8 45 MB jak 6u37 solaris x64 sh 1218 MB Windows x86 69 72 MB 3 jdk 6u37 windows i586 exe 155 156 Installing JDK A Start the downloaded file The following window appears Click the Next button r a jij Java TM SE Development Kit 6 Update 37 Setup ORACLE Welcome to the Installation Wizard for Java SE Development Kit 6 Update 37 This wizard will quide you through the installation process for the Java SE Development Kit 6 Update 37 Next gt Cancel E d Select the function to install and click the Next button To change the installation destination click the Change button and change the destination In this manual the default destination is used 7 J Java TM SE Development Kit 6 Update 37 Custom Setup ES es you want installed Select optional features to install from the list below You can change your choice of features after installation by using the Add Remove Programs utility in the Control Panel Feature Description Java TM SE Development Kit 6 Update 37 including private JRE Source Code 6 Update 37 Thi
64. 6 dots x 831 dots W x H Page Mode Maximum Area 576 dots x 1662 dots W x H Raster Image lt image gt Monochrome image Gray scale image Logo lt logo gt Monochrome image Gray scale image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 GS1 128 GS 1 DataBar Omnidirectional 6S1 DataBar Truncated GS1 DataBar Limited GS1 DataBar Expanded 2D Code lt symbol gt PDF417 QR Code MaxiCode 6S1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Composite Symbology lt rectangle gt Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Line lt line gt Rectangle Not supported 193 Paper Cut lt cut gt 80mm Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Optional Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 194 Appendix TM T70 i TM T70 80mm Interface Ethernet Wireless LAN Resolution 180 dpi x 180 dpi W x H Print Width 512 dots Font For more information about what character codes can be printed refer to the technical reference guide that came with the printer Characters in a Line Font A ANK 42 charac
65. A CODE B B CODE C C SHIFT S A start character FNC1 a check digit and a stop character are automatically added To automatically calculate and add a check digit for an application identifier Al and the subsequent data specify the character in the position of the check digit You can enclose an application identifier Al in parentheses The parentheses are used as HRI print characters and are not encoded as data You can insert spaces between an application identifier Al and data GS1 128 The spaces are used as HRI print characters and are not encoded as data To encode each of the following characters specify two characters starting with the character FNC1 0 FNC3 3 C Es GS1 DataBar Omnidirec tional GS1 DataBar Truncated GS1 DataBar Limited Specify a 13 digit global trade item number GTIN not including an application identifier AI or a check digit GS1 DataBar Expanded You can enclose an application identifier Al in parentheses The parentheses are used as HRI print characters and are not encoded as data To encode each of the following characters specify two characters starting with the character FNC1 q C Chapter 4 ePOS Device XML To specify binary data that cannot be represented by character strings use the following escape sequences PR AAA AER xnn Control code Back slash Attribu
66. Character strings in received data Escape processing is performed for the following character strings Character string before amp Ampersand amp amp gt Greater than symbol Sat lt Lesser than symbol Sit Double quotation mark amp quot Single quotation mark sapos 1 Example lt data gt lt type gt ondata lt type gt lt input gt F12345678909123 lt input gt lt data gt 69 Message Data for Printers lt type gt print lt type gt Request For print data refer to Printer Control XML p 79 Sends the print data and setting data to printers subelement Daia type timeout int Sets the time out limit for requests in milliseconds 1 000 to 60 000 whole numbers printdata string Designates the data to print For details refer to Printer Control XML p 79 1 Example lt data gt lt type gt print lt type gt lt timeout gt 10000 lt timeout gt lt printdata gt lt Printer Control XML gt lt epos print xmlns lt epos print gt lt printdata gt lt data gt lt type gt onxmlresult lt type gt Response Returns the print result to the application sub elemen Dota vpe resultdata string Result of the sent data For details refer to lt response gt p 81 1 Example lt data gt lt type gt onxmlresult lt type gt lt resultdata gt lt response success
67. Communica tion Box is exceeded PARAMETER_ERROR Parameter error occurred SYSTEM_ERROR System error occurred 55 lt close_commbox gt Closes the Communication Box in ePOS Device Ver 2 5 and later Request Requests closing of the Communication Box Sub etoment Data ype sequence string Sequence number data string Information of the Communication Box to close For details refer to the data below T data Sub slement Datatype box_id string Identifier of the Communication Box to close LI Example lt close_commbox gt lt sequence gt 2 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt lt data gt lt close_commbox gt Response Returns the Communication Box close result to the application Sub etoment Data ype sequence string The sequence number designated with the request data string Information of the Communication Box close result For details refer to the data below data_id string ID for identifying the sent data T data Sub element Data type box_id string Identifier of the Communication Box that is closed code string The processing result For details refer to the code below e code Element value OK Successfully closed the Communication Box NOT_OPENED A Communication Box is not open SYSTEM_ERROR System error occurred Chapter 4 ePOS Device XML lt commbox
68. Data Microsoft Windows Start Menu Programs Android SD Create shortcut C ProgramData Microsoft Windows Start Menu Programs Android Create shortcut C ProgramData Microsoft Windows Start Menu Programs Android Create shortcut C ProgramData Microsoft Windows Start Menu Programs Android 7 Completed oft Install Systen Aug Y Clear the Start SDK Managen checkbox Click the Finish button r N Android SDK Tools Setup SS Completing the Android SDK Tools Setup Wizard Android SDK Tools has been installed on your computer Click Finish to dose this wizard 161 Setting Android SDK Manager Start Android SDK Manager Start All Programs Android SDK Tools SDK Manager To run as the administrator right click Android SDK Manager and select Run as administrator On Windows Vista or later it is required to run Android SDK Manager as the administrator Q If Android SDK Manager is not run as the administrator package download will fail 2 When the proxy setting is required select Tools Options Android SDK Manager S Packages Took SDK Path Manage AVDs Packages Manage Add on Sites i Nar Options API Rev Status S 4 a About 20 0 3 By Installed x Android SDK Platform tools 14 y Not installed mm 3 The
69. EPSON EXCEED YOUR VISION ePOS Device XML User s Manual Overview Describes the features and development environment Building Environment Describes environment building for ePOS Device Service I F Programming Guide Describes how to write programs in Web application development ePOS Device XML Describes the ePOS Device XML Device Control Script Describes the device control script Sample Program Describes the sample program Appendix M00055604 Rev E Cautions No part of this document may be reproducea stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without the prior written permission of Seiko Epson Corporation e The contents of this document are subject to change without notice Please contact us for the latest information While every precaution has taken in the preparation of this document Seiko Epson Corporation assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained herein Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser of this product or third parties for damages losses costs or expenses incurred by the purchaser or third parties as a result of accident misuse or abuse of this product or unauthorized modifications repairs or alterations to this product or excluding
70. F417 error correction level O level_1 default PDF417 error correction level 1 level_2 PDF417 error correction level 2 level_3 PDF417 error correction level 3 level_4 PDF417 error correction level 4 level_5 PDF417 error correction level 5 level_6 PDF417 error correction level 6 level_7 PDF417 error correction level 7 level_8 PDF417 error correction level 8 level_ QR Code error correction level L level_m QR Code error correction level M level_q QR Code error correction level Q level_h QR Code error correction level H estamos AREE Code ener correction level Default 23 in ePOS Device Ver 2 2 and later default Default level e Select the level according to the 2D code type Q Select the default for MaxiCode and two dimensional GS1 DataBar e width Specifies the width of each module in dots _2D Code Type IN Default PDF417 2to 8 width 3 QR Code 1 to 16 width 3 MaxiCode Ignored Saat ene oe 2108 width 2 Aztec Code 2 to 16 width 3 DataMatrix 2to 16 width 3 e height Specifies the height of each module in cots PENITA A Validvaluerange Defaut 2to8 PUPAT Magnification for width Peps QR Code MaxiCode GS1 DataBar Ignored Aztec Code DataMatrix Chapter 4 ePOS Device XML e size 2D Code a escipton PDFA17 size 0 Specifies the num
71. GS1 DataBar Limited 6S1 DataBar Expanded 2D Code lt symbol gt PDF417 AR Code MaxiCode 6S1 DataBar Stackea GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Aztec Code DataMatrix Composite Symbology not supported Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 420 x 1200 dots 432 x 1200 dots 400 x 1200 dots W x H WxH WxH 420 x 1200 dots WxH 432 x 1200 dots WxH 400 x 1200 dots WxH Page Mode Maximum Area 203 Page Mode Line lt line gt Rectangle lt rectangle gt Receipt 58mm Receipt 60mm Supported Only for solid line Die cut label Paper Cut lt cut gt Feed cut Feeds paper to cutting position Drawer Kick Out lt pulse gt Not supported Buzzer lt sound gt Supported Pattern 1 to 10 Stop Paper layout setting lt layout gt Supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 204 Appendix TM P80 80mm Interface Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 576 dots Font For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A ANK 48 characters Font B ANK 64 characters Character Size Font A AN
72. IS track track2 string Entire data of JIS track2 track4 string Entire data of JIS2 track account_number string PAN of JIS1 track2 expiration_date string Expiration date of JIS1 track2 surname string Surname first_name string First name middle_initial string Middle name initial title string Title service_code string Service code track1_dd string Desired data of JISTtrackl track2_dd string Desired data of JISTtrack2 Character strings in received data Escape processing is performed for the following character strings Character string before amp Ampersand samp gt Greater than symbol Sat lt Lesser than symbol salt Double quotation mark amp quot Single quotation mark amp apos 1 Example lt data gt lt track1 gt B4205296141577006 EPSON TARO 160410100000 00573000000 lt track1 gt lt track2 gt 9999296999977006 16041010000057300000 lt track2 gt lt track4 gt S60000304699992969999770068001604450000160400000000000000000000005730 lt track4 gt lt account_number gt 9999296999977006 lt account_number gt lt expiration_date gt 1604 lt expiration_date gt lt surname gt EPSON lt surname gt lt first_name gt TARO lt first_name gt lt middle_initial gt lt middle_initial gt lt title gt lt title gt lt service_code gt 101 lt service_code gt lt track1_dd gt 00000 00573000000 lt track1_dd gt lt track2_dd gt 0000057300000 lt track2_dd gt
73. K 12 dots x 24 dots W x H Font B ANK 9 dots x 17 dots W x H Character Baseline Font A At the 21st dot from the top of the character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Page Mode Default Area 576 dots x 1662 dots W x H Page Mode Maximum Area 576 dots x 1662 dots W x H Raster Image lt image gt Monochrome image Logo lt logo gt Monochrome image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional 6S1 DataBar Truncated GS1 DataBar Limited GS1 DataBar Expanded 2D Code lt symbol gt PDF417 QR Code MaxiCode Data Matrix Aztec Code GS1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Composite Symbology Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Line lt line gt Rectangle Not supported lt rectangle gt Paper Cut lt cut gt Feed Drawer Kick Out lt pulse gt Not supported Buzzer lt sound gt Optional Paper layout setting lt layout gt Supported 205 206 80mm Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported Appendix TM T20 58mm 80mm Interface Ethernet Resolution 203 dpi
74. OR_PARAMETER Parameter error ERROR_NOT_SUPPORTED The endorse printer is not installed EPTR_SCHEMAERROR There is an error in the syntax of the request document ERROR_COMMAND The cancelled processing is not in the paper insert wait status EMICR_ILLEGAL_LENGTH The inserted paper is not the correct length EMICR_NO_MICR Did not detect MICR data EMICR_RECOGNITION Detected unrecognizable MICR text EMICR_READ Error occurred during MICR reading EMICR_NOISE_DETECTED Detected noise error EMICR_COVER_OPEN Cover was opened during MICR reading EMICR_PAPER_JAM Paper jam error occurred LI status e Depending on the printer situation an OR function is acquired in a decimal expression from the follow ing values Ox00000001 No response from the TM printer Ox00000002 Printing is successfully completed Ox00000004 Status of the 3rd pin of the drawer kick out connector H Ox00000008 Offline Ox00000020 The cover is open 0x00000040 Paper is being fed by a paper feed switch operation Ox00000100 Waiting to be brought back online 0x00000200 The paper feed switch is being pressed ON Ox00000400 A mechanical error occurred Ox00000800 An autocutter error occurred Ox00002000 An unrecoverable error occurred 0x00004000 An a
75. P connection with the TM Intelligent Request Requests that the TM Intelligent close the connection Sub element f Data type data string Client information to close the connection For details refer to the data below A data Sub element Data type Description E Specifies the client_id to close the connection from the TM client_id string Intelligent LJ Example lt disconnect gt lt data gt lt client_id gt 1234567890 lt client_id gt lt data gt lt disconnect gt Response Returns the TCP connection disconnection result to the application Sub element Data ype code string Confirmation result for reconfirmation For details refer to the code below LI code Element value OK Close the TCP connection PARAM_ERROR Parameter error occurred SYSTEM_ERROR System error occurred J Example Normal lt disconnect gt lt code gt OK lt code gt lt disconnect gt Error lt disconnect gt lt code gt PARAM ERROR lt code gt lt disconnect gt 51 52 lt admin_info gt Returns the administrator information set in the TM Intelligent The information is set with EPSON TMNet WebConfig Request Requests the administrator information from the TM Intelligent 1 Example lt admin_info gt lt admin_info gt Response Returns the administrator information to the application Sub eiemeni Data ype
76. POS printer command system ESC POS ESC POS has a large number of commands including patented ones Its high scalability enables users to build versa tile POS systems The system is compatible with all types of EPSON POS printers excluding the TM C100 and displays Moreover its flexibility makes it easy to upgrade the future The functionality and the user friendli ness is valued around the world Seiko Epson Corporation 2014 All rights reserved For Safety Key to Symbols The symbols in this manual are identified by their level of importance as defined below Read the following carefully before handling the product Provides information that must be observed to avoid damage to your equipment or a AN malfunction Q Provides important information and useful tips Restriction of Use When this product is used for applications requiring high reliability safety such as transportation devices related to aviation rail marine automotive etc disaster prevention devices various safety devices etc or functional precision devices etc you should use this product only after giving consideration to including fail safes and redundancies into your design to maintain safety and total system reliability Because this product was not intended for use in applications requiring extremely high reliability safety such as aerospace equipment main communication equipment nuclear power control equipment or medical equipment related
77. R Code MaxiCode GS1 DataBar Stacked GS1 DataBar Stacked Endorsement Omnidirectional Noteuppoted GS1 DataBar Expanded Stacked Composite Symbology Ruled Line lt hline gt lt vline xxx gt Not supported 512 dots x 831 360 dots x 831 P Mode Default A P ae as AUI N dots Wx H dots Wx H 512 dots x 1662 360 dots x 1662 P Mode Maxi A e E dots W x H ABS Megs Hne Not supported lt line gt Rectangle seades Not supported Paper Cut lt cut gt Cut Feed cut Not supported Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Not supported Paper layout setting lt layout gt Not supported 188 Forced transmission mode Supported pre hi an error Suseanea Reset lt reset gt Supported Command lt command gt Supported MICR Supported Appendix TM T701 DT TM T7Oll 80mm Interface Ethernet Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 576 dots Font Font A Font B For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A ANK 48 characters Font B ANK 72 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 9 dots x 17 dots W x H Character Baseline Font A At the 21st dot from the top of the character Font B At the 15th dot from the top of the character Default Line Feed Space
78. 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 Response Event TM DT Socket I F ePOS Device Service I F Device control script object DeviceConnection ClientConnection When open_device message p 58 is sent an object is created so that the ePOS Device Service 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 0 70 Description ClientConnection Object used to send data to a device object on the application DeviceConnection Object used to send receive data to from the device 141 Functions Using Device Control Script Object Using API for the device control script enables the following functions 1 Calling a desired event of device object on the browser T Sending data
79. Series AN e Available with ePOS Device Ver 2 5 or later e If sending this message data use EPSON TMNet WebConfig to perform shutdown settings for the TM DT Settings System settings Shutdown settings ePOS Device lt type gt shutdown lt type gt Request Shuts down the power source of the device hub terminal TM DT Sub element Data type Description password string Specifies the password for EPSON TMNet WebConfig 1 Example lt device_data gt lt device_id gt local_dt lt device_id gt lt data gt lt type gt shutdown lt type gt lt password gt epson lt password gt lt data gt lt device_data gt lt type gt onshutdown lt type gt Response Returns the shutdown results of the device hub terminal TM DT to the application Sub element Data type Description status string Result of the sent data For details refer to the status below T status Element value SUCCESS Shutdown successfully completed AUTHENTICATION_ERROR Password authentication error ACCESS_DENIED Shutdown from ePOS Device XML is not set SYSTEM_ERROR System error occurred 68 Chapter 4 ePOS Device XML Message Data for the Barcode Scanner lt type gt ondata lt type gt Response Returns the scan data from the barcode scanner to the application Sub element Data type Description input string Scan data string received
80. TCP IP connection TCP connection to Socket I F from the native application bese 2 connect message client_id 0001 Establish a communication path to ePOS Device Service I F 4 3 open_device message buffer true Response data_id 1 4 Data occurred 4 1 device_data message Data data_id 2 4 Network is cut off pt 5 Data occurred 5 1 Retains inside data_id 3 6 Establishment of TCP IP connection Fy En dl connect message client_id 0002 7 reconnect message new_client_id 0002 old_client_id 0001 received_id 2 Response OK es ponse OK 8 device_data message Data data_id 3 LA 1 T To open an unopen device from the client be sure to send a lt disconnect gt message when AN closing the application Also in cases where you cannot send a lt disconnect gt message when closing the application store the previous lt client_id gt in the application s permanent memory beforehand and upon the next start up use the previous lt client_id gt to send a lt disconnect gt message Chapter 3 Programming Guide Programming flow for the Communication Box The following indicates the basic programming sequence using the Communication Box Application A ePOS Device Application B 1 2 1 Establishment of
81. The designated device is in use DEVICE_OPEN_ERROR Failed to open the designated device DRIVER_ERROR An error occurred in the device control script SYSTEM_ERROR System error occurred DEVICE_TYPE_INVALID The designated device type is invalid PARAM_ERROR Parameter error occurred J Example Normal lt open_device gt lt device_id gt scanner_001 lt device_id gt lt code gt OK lt code gt lt data_id gt 2 lt data_id gt lt open_device gt Error lt open_device gt lt code gt DEVICE_NOT_FOUND lt code gt lt device_id gt scanner_001 lt device_id gt lt data_id gt 2 lt data_id gt lt open_device gt 59 lt close_device gt Closes the opened device Request Designates the device to close Sub element Data type Description device_id string The device ID designated with EPSON TMNet WebConfig The customer display is local_display 1 Example lt close_device gt lt device_id gt local_display lt device_id gt lt close_device gt Chapter 4 ePOS Device XML Response Returns the device close result to the application Sub element Data ype device_id string The device ID designated with the request code string The processing result For details refer to the code below data_id int If true is designated for lt buffer gt of the lt open_devic
82. _data gt Performs data communication between applications using the Communication Box in ePOS Device Ver 2 5 and later Request Communicates with the Communication Box subelement Data ype sequence string Sequence number data string The data used for communication between applications using the Communication Box Contents are defined for each communication purpose For details refer to Message Data for Communication Box p 46 Response Returns the communication result of the Communication Box and notification of data reception to the application Sub element Data type Description sequence string The sequence number designated with the request data string The data used for communication between applications using the Communication Box Contents are defined for each communication purpose For details refer to Message Data for Communication Box p 46 data_id int ID for identifying the sent data 57 58 lt open_device gt Makes the device linked to the device ID usable Provides exclusive use for the designated device to the requesting application except for printers Request Designates the device to open Sub element Data type Description device_id string The device ID designated with EPSON TMNet WebConfig The customer display is local_display data string For details refer to the data below 1 data Description type string Specifies th
83. a to be sent and received according to your application s The ePOS Device is providing a virtual space and structure for sending and receiving data A specifications Y The Communication Box can be used in the following ways e Using a tablet terminal as a POS display terminal e Displaying digital signage e Using a tablet terminal as an entry terminal 13 14 Example of data processing using the Communication Box O a BWHN The TM Intelligent receives the barcode data scanned by the scanner The ePOS Device Service F notifies App2 of the barcode data App2 acquires the barcode data and converts it to POS data App2 sends the display data to the Communication Box of the ePOS Device Service I F The ePOS Device Service I F notifies App1 that the display data is stored in the Communication Box Appl acquires the display data stored in the Communication Box Chapter 1 Overview Structure of the Communication Box BoxiID 1 lt MemberlD gt App1 App2 The ePOS Device Service I F manages Communication Boxes with Box IDs BoxID in the figure above Data can be sent and received between applications belonging to the Communication Box In the figure above applications Appl and App2 can send and receive data with one another using the BoxID 1 Communication Box Specifications of the Communication Box Maximum number of Communication Boxes that can be created 20 Maxim
84. age code string Forward result of the message For details refer to the code below count string The number of clients that attempted to forward a message 1 code OK Successfully forwarded the message NOT_OPENED A Communication Box is not open MEMBER_NOT_FOUND The specified member ID cannot be found SYSTEM_ERROR System error occurred Chapter 4 ePOS Device XML lt type gt onreceive lt type gt Acquires the data forwarded to the Communication Box Response Returns the message transfer result Sub element Data type Description box_id string Identifier of the Communication Box that forwarded the mes sage sender_id string Member ID that forwarded the message receiver_id string Member ID that acquires the forwarded message When all the clients applications belonging to the Commu nication Box acquire the message space is returned message string Message forwarded to the Communication Box 1 Example lt commbox_data gt lt sequence gt 3 lt sequence gt lt data gt lt type gt onreceive lt type gt lt box_id gt box1 lt box_id gt lt sender_id gt member1 lt sender_id gt lt receiver_id gt lt receiver_id gt lt message gt send_message lt message gt lt data gt lt data_id gt 19 lt data_id gt lt commbox_data gt 67 Message Data for Device Hub Terminal Cannot be used with TM i
85. alue OxXX36 Battery amount 6 OxXX35 Battery amount 5 OxXX34 Battery amount 4 OxXX33 Battery amount 3 OxXX32 Battery amount 2 OxXX31 Battery amount 1 Near end OxXX30 Battery amount 0 Real end 2 0 is indicated when the model doesn t have a battery installed Example lt Printer status gt lt Successfully performed gt lt response success true code status gt lt When the printer ran out of paper during printing and failed to print gt lt response xmlns http www epson pos com schemas 2011 03 epos print success false code EPTR_REC_EMPTY status 252641308 gt 83 Prints a character string Also configure the string related settings such as style print position and line feed space In page mode characters are laid out in the current print position with the reference point being Q the character baseline dot Printer specifications p 187 After printing text to print content other than text content execute line feed or paper feed Entity Reference To write symbols required for printer control such as horizontal tab line feed and the following symbols use their corresponding entity references shown as follows Function symbol Entity Reference amp amp amp i amp apos gt Sat St y amp quot Horizontal tab HT amp I or amp H X9 Line feed LF amp
86. amples E AVD Manager What s New Try out the samples W Run Android Lint gt Find out what is new Select Android from the left column Click the Browse button to display the Android folder where SDK Manager is installed In this manual display C Program Files Android android sdk e type filter text Android oQvovw gt General Android Preferences Ezy iid SDK Location CAProgram Files Android android sdk Browse DDMS Note The list of SDK Targets below is only reloaded once you hit Apply or OK Editors Launch Target Name Vendor Platform APL Lint Error Checking Android 3 2 Android Open Source Project 3 2 B b LogCat Google APIs Google Inc 32 B Usage Stats Android 4 1 2 Android Open Source Project 412 16 i Google APIs Google Inc 412 16 gt Help b Install Update gt Java gt Plug in Development 166 Chapter 6 Sample Program il A A Click the Apply button Confirm that the installed package is displayed preteens A cmt type filter text Android ero gt General A q Android Preferences Build SDK Location C Program Files Android android sdk DDMS Note The list of SDK Targets below is only reloaded once you hit Apply or OK Editors Launch Target Name Vendor Platform API Lint Error Checking Android 3 2 Android Open Source Project 3 2 13 gt LogCat Google APIs Googl
87. apter 3 Programming Guide If automatically reconnecting the network If network communication with the TM Intelligent was reconnected the Communication Box sequence is as follows Application A ePOS Device Application B y 1 Establishment of TCP IP connection TCP connection to Socket I F from i the native application H i i 2 connect message client_id 0001 i Establishes communication path gt i with ePOS Device Service I F T i 7 1 Establishment of TCP IP connection i TCP connection to Socket I F from i E the native application i 1 2 connect message client_id 0001 _ E ee eee eee PA i Establishes communication path gt ae with ePOS Device Service I F 3 open_commbox message 3 1 Response data_id 1 i r 3 open_commbox message 3 1 Response data_id 1 Eee tt mae om A gt 4 commbox_data message type send 4 1 commbox_data message i 4 type onreceive data_id 2 Network is cut off AAA i 5 commbox_data message type send 5 1 Retains inside data_id 3 6 Establishment of TCP IP connection psa 4 connect message client_id 0002 i 7 reconnect message new_client_id 0002 old_client_id 0001 i received_id 2 AA 7 1 Response OK 5 2 commbox_data message type
88. atus below data string Receives MICR reading data when the method that returns an event is micrread Receives space when the method is not micrread LI success true or 1 Succeeded false or 0 Failed LI code SUCCESS Succeeded EPTR_AUTOMATICAL An automatically recoverable error occurred During receipt printing only EPTR_COVER_OPEN A cover open error occurred During receipt printing only EPTR_CUTTER An autocutter error occurred EPTR_MECHANICAL EPTR_REC_EMPTY A mechanical error occurred No paper in roll paper end sensor EPTR_UNRECOVERABLE An unrecoverable error occurred During receipt printing only The request document contains a syntax error SchemaError i mnt During receipt printing only f The printer with the specified device ID does not exist DeviceNotFouna f ar During receipt printing only Presto meron An error occurred on the printing system During receipt printing only An error was detected on the communication port EX_BADPORT f e A During receipt printing only EX_TIMEOUT A print timeout occurred During receipt printing only ERROR_DEVICE_NOT_FOUND The device cannot be found 77 78 Element value ERROR_DEVICE_BUSY Failed to open the port CANCEL Cancels the paper insert wait status ERROR_TIMEOUT Paper insert wait timeout ERR
89. ault IP address for TM DT is 192 168 192 168 http IP address of TM DT webconfig 5 The Key input device screen is displayed Perform the following settings and click Ada Device ID local_scanner Device name Select the applicable device from the list Control Script Scanner_Generic js 6 The registered barcode scanner is displayed in Registered key input devices TM Series Web Service Settings Device Admin Device Registration General Key Input Device gt General System Settings Wired aa ho Wireless Pa co Web Service Settings Device Registration key 5 m n Ta VIPID _ Controlscrine T 4 _Customer Display gt Key Input Device Delete _Serial Communication E lime Configure the settings in the following procedure A Make sure that the barcode scanner is connected to the TM i 2 Make sure that the power to the TM i and the network computer is turned on 3 Enter the following into the URL entry field address bar or similar on the network computer s web browser http IP address of TM i webconfig e Check the IP address of TM i with the status sheet For checking method of the Q status sheet refer to Technical Reference Guide of each TM i e When accessing EPSON TMNet WebConfig you are promoted to enter user name and password of EPSON TMNet WebConfig The default is shown below User name epson Password epson 4
90. avigation Preferences M Samnles What s New 2 Select General Network Connections from the left column Set the proxy and click the OK button al Mu E CES type filter text Network Connections Prov 4 General b Appearance Active Provider Capabilities Compare Patch Proxy entries Come Type Sche Host Port Provi Auth User Edit b Editors gt Keys Y HTTP Man No Gear b Network Connections MA HTTPS Man No Perspectives Y SOCKS Man No Search b Security gt Startup and Shutdown x gt 7 Tracing Web Browser Proxy bypass b Workspace gt Ant Host Provider Add Host gt Help 2 localhost Manual Edit gt Install Update W 127 0 0 1 Manual b Java Remove b Plug in Development b Run Debug b Team l Restore Defaults Apply a 158 Chapter Sample Program Setting Up Android SDK Manager Download and install Android SDK Manager Create Android Virtual Device Downloading Android SDK Manager Access the following URL and download Android SDK Manager In this manual download the installer for Windows http developer android com sdk index html Get the Android SDK The Android SDK provides you the API libraries and developer tools necessary to build test and debug apps for Android Download the SDK for Windows Other platforms System requirements
91. ay the saved sample program Select the Copy projects into workspace checkbox and click the Finish button Cs ae Import Projects Select a directory to search for existing Eclipse projects o 9 Select root directory C ePOS Device ePOS DeviceXMLSample_for_Android Select archive file Browse Projects 7 ePOS DeviceXMLSample C ePOS Device ePOS DeviceXMLSample_for_Android il v Copy projects into workspace Working sets Add project to working sets Working sets Select O 5 Confirm that the application has been properly imported 8 Java Eclipse SDK NE File Edit Refactor Source Navigate Search Project Run Window Help CTS a PS GS IO DA CA DE fquckAcces les PIE HE Package Explorer x m B Be Outline X A E y An outline is not available gt b GB gen Generated Java Files gt BA Android 3 2 gt TBA Android Dependencies amp assets gt Es bin gt Es libs b Es res di AndroidManifestxml E proguard project bt B project properties El Problems 3 2 Javadoc 2 Declaration vo 0 items Description Resource Path Location Type 169 170 Setting the Barcode Scanner Register the barcode scanner to be controlled by ePOS Device XML into TM Intelligent Configure the settings using EPSON TMNet WebConfig TM DT
92. beauiastvnetnetena 108 lt CISCTIONS an et Sa ah WOAH alae i Ae A PA BOA Le ATA 109 dE AA OE 110 MOS NA AA A A A a A A E aia EN D EE 111 AU UA lidia 112 ECU ARA A A ie aaah Elan eA 113 Ad ONO 114 OUNAE E E ati iia Id 115 E e EA 117 AVUI AAA AE 118 O A A A E 121 NN 121 E Message Data for the Customer DISplaY oooccccocccccccnononocncccnonnnnnnnncnnnnnnnnnnnornrnnnnnnnns 122 lt TYPO gt CISPIADY lt TYDO gt rnan rr Rar 122 lt Type gt Onxmilresull lt TY PES ici a A LA DE AD a cd 123 E Customer Display Control XML 0 ccececcceeeeseeeeceeeeeeseaaeeeeenesaaaeceeeeeeseaaeeeeeeeseaaeeeeeeeeneaees 124 K lt SPOS CISPIOY Ta 124 E A O agents ced ea dud a s 125 EWICOW gt taaan dana 126 AM A AO Sra nadaa oa 128 ECU A A a Tatas ieee Saat tiers ia 129 OINK na munn e AN A A a aa a e eater 130 lt pigNINESS San uena ones E A ian an and Aaa N 131 AITIOMQUCS Sas anaa a mith i aaa ae a a a eaten 132 ECOS a SUN eee hack mates eet 133 A O 133 A O a ea anata ean ald 133 SONTAG aaa dais 133 E Message Data for the POS KeyboalTd ccoococccccoonccccnonnccnnncnccnnnancnnnancnnnnnnnncrnnnnnnnnnnnnnnns 134 lt TYPO gt ONkKeYpIess lt TYDE gt oo rr rr rr 134 lt IVDe gt SCIDICNX lt TV OSs AA ie 135 lt TYV DSS OMSTTING lt TYV OOP vicina ditincvesas casachdugasessanstensathchvacduavsdiuciatabuass dad sana Ea 136 lt lypessetMSRPrefix lt IWDO gt coria ia A de EA dc aca 137 lt TYVPESONCOTAK lt TYPO gt oi rr 138 E Message Data f
93. ber of code words for each row QR Code Ignored MaxiCode 2 dimentional GS1 Specifies the maximum width for DataBar Expanded size 0 auto the barcode Stacked 106 or above Others Ignored Aztec Code i Ignored DataMatrix e align Specifies the print position ainipule value left default Alignment to the left center Alignment to the center right Alignment to the right The align attribute set in this element also applies to the align attribute in each of the Q text image logo and barcode elements e rotate Specifies the rotate printing Alfribuls value true or 1 Specifies rotated printing of text false or 0 default Cancels rotated printing of text For the standard mode specify the rotate attribute when at the start of a line Q In page mode even if rotate is specified it is disabled Inthe page mode set the printing direction to right_to_left with direction and conduct 180 rotation printing The rotate attribute set in this element also applies to the rotate attribute in each of the text and barcode elements Example lt Print 2D codes gt lt symbol type pdf417_standard gt ABCDE lt symbol gt lt symbol type qrcode_model_2 level level_q gt ABCDE lt symbol gt lt symbol type maxicode_mode_2 gt 908063840 x1d850 x1d001 x1d x04 lt symbol gt lt symbol type gs1_databar_stacked gt 0201234567890 lt symbol gt lt symbol type gs1_databar_stacked_omnid
94. cnnoncccnonncnnnnnnnononancnnnannnnnnnncncannnnnrnnnnns 69 lt 1Ype gt o0N data IPS a ASAT AA A A ls a 69 M Message Data for Printers ccccc sccecssstecetiececetaueesacccetenneeeneaiteeevcccecsadbeceveccsedveucenessiceewestens 70 EIYPO gt pis IV POS ii A a a El hee alin tan beats 70 lt TVDESONXMIFESUITS TY PES ia ed bi e toas 70 E Message Data for Hybrid Printers oococoncccccnnnccnnncnccnanncnnnancnnnnnnnonnnnn cn nnnnn cnn nrrr nn 71 ENDESA KE VPO SIE 71 lt Npe gt unlock lt VPE gt ic a as 71 lt TVDES ONIN TY POS a A E e a IDA 72 lt pe gt onxmitesult lt POS aida abad done 72 lt TYDESSIIDONINT lt TV E gt aa dd a iia ALAS 73 lt lypesslipCancel lt TWPe gt 0 de 73 lt lyp gt zendorseprint lt ty pe gt n i ano 74 lt IVPESSNAOrseCONCSle TV Pee erse a A T ia EEA TETEE AE a 74 lt IVPCSMICMCOdS TY DE Secs sie dearer E SS 75 lt IVPCSMICICONCEI lt IV DOS ii aio 76 lt TYOSSMICKE OCT lt MV Peinado 76 lt WNpe gt micicisanidng lt yPeO gt s iii diante 76 lt IVPO gt 0NTECOIVE lt S IVPO gt a ana 77 Ml Printer Control XML coi dd TEENAA RERS 79 COS MM oa 79 KIGSOONSSS AAA SAA ba a 81 O ida EE oo ras caia teas eta te tediosa 84 EII A de int dd id a 90 A a iaa did ala 92 LODOS A A A A A rd 94 EDOM COGS T A A ANA 95 NN NN 99 IM ada A 104 SVIING DEGING id a ed A ahd Aran arias 105 INS dro aid 106 o A NN 107 SOMO Ge AAE TA E cd sau ii atetaalistaietes tends cae tats vaniuatcamtntiaars anak uateas civy
95. cript for a key input device describe an event in this format Syntax onDeviceData event keycode ascii Parameter e event Object type Number Receives a direction of key operation Key down 2 Key up e keycode Object type Number Receives a keycode For details refer to List of KeyCode p 185 e ascii Object type String Receives a character corresponding to the operated key undefined is applied when no characters corresponding to the keycode F1 key for example exist onDeviceData event Serial Communication Device The event used to receive the data detected from a serial communication device 5 For the device control script for a serial communication device describe an event in this format Syntax onDeviceData data Parameter e data Object type Buffer Receives the data received from a serial communication device 147 The event used to receive the API execution results of the device object that can run with a browser Syntax Name specified with callEvent data Parameter e data Object type Object Receives the object specified with callEvent of the device object 148 Chapter Sample Program sample Program This chapter describes the sample program 2 A sample program for an Android iOS environment is provided in the ePOS Device XML Outline The sample program provides the function to scan data with the barcode scanner and print
96. cters Font B ANK 42 characters ANK 43 characters Font C ANK 52 characters ANK 54 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 10 cots x 24 dots W x H Font C ANK 8 dots x 15 dots W x H Character Baseline Font A At the 21st dot from the top of the character Font B At the 21st dot from the top of the character Font C At the 15th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Raster Image lt image gt Monochrome image Logo lt logo gt Monochrome image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional GS1 DataBar Truncated GS1 DataBar Limited 6S1 DataBar Expanded 2D Code lt symbol gt PDF417 AR Code MaxiCode 6S1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Aztec Code DataMatrix Composite Symbology not supported Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 420 x 1200 dots W x H 432 x 1200 dots W x H Page Mode Maximum Area 420 x 1200 dots W x H 432 x 1200 dots W x H Page Mode Line lt line gt Rectangle Supported Only for solid line lt rectangle gt 201 Receipt 58mm Receipt 60mm Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Not supported Buzzer lt sound gt Supported Pattern 1 to 10 Stop Paper
97. cturer of your device 2 Make the following settings on your Android device e Goto Settings Applications and enable Unknown sources e Select Settings Applications Development and enable USB debugging Connect the Android device to your computer via USB Ge Enable the AndroidManifest xml debugging file in the sample application Double click AndroidManifest xml On the Application tab set Debuggable to true and save the settings A aa a a A a T a Or adi A a a aA aa eoj Quick Access ES E Package Explorer 23 HB cl ePOS DeviceXMLSample Manifest 53 a B Outline 52 El a v Permission Y Allow backup A Y 4 US ePOS DeviceXMLSample Process Browse Kill after restore manifest E sre a E3 gen Generated Java Files Task affinity Browse Restore needs application EA Android 3 2 Allow task reparenting Restore any version BA Android Dependencies amp assets Has code v Never encrypt amp bin E amp libs Persistent Large heap E res Enabled v Cant save state q AndroidManifest xml proguard project bd Daniele m 8 true PM Application Nodes example printerscanner MainActivity rere W E Manifest A Application P Permissions T Instrumentation AndroidManifest xml 181 5 Click the Run button in Eclipse If it is being run for the first time the following window will appear Select Android Applica
98. d of a device object that can run on the application is pro vided For details refer to Any event p 148 142 Configuration Example of Device Control Script Chapter5 Device Control Script exports Keyboard Generic Keyboard Generic function Keyboard Generic clientConn deviceConn this DEVICE TYPE type keyboard this DEVICE GROUP group hid this clientConn clientConn this deviceConn deviceConn Keyboard Generic prototype onDeviceData function event keycode ascii setprefix function data Exports declaration Having two arguments and the same name as the file name Having the DEVICE TYPE property Having the DEVICE GROUP property Having the onDeviceData method Having the method corresponding to the device object 143 List of Device Control Script API The device control script API provides the following objects T ClientConnection object p 144 T DeviceConnection object p 144 m Device control script name object p 144 ClientConnection object Sends data to a device object that can run with a browser DeviceConnection object Sends data to a serial communication send 146 device Device Control Script Name object onDeviceData Key input receipt event 147 Method send 145 Method Event Data receipt event from a serial ao 147 communication device
99. e specify the align attribute when at the start of a line The align attribute set in this element also applies to the align attribute in each of the text image barcode and symbol elements Example lt Print a NV logo with key1 registered as 48 and key2 registered as 48 gt lt logo key1 48 key2 48 gt Chapter 4 ePOS Device XML lt barcode gt Prints a barcode Specifies the barcode data using a character string Data type xs string A barcode will not be printed if settings not compliant with the barcode standard are made or Q if the barcode becomes larger than the printer s print area And an error response will not be returned either n page mode a barcode is laid out in the current print position with the reference point being its bottom left dot except for HRI Barcode Type The following barcodes can be specified Barcode type Barcode data specification procedure When an 11 digit number is specified a check digit is automatically added When a 12 digit number is specified the 12th digit is processed as a check digit but the check digit is not validated UPC A Specify O as the first digit Specify the manufacturer code in the digits 2 to 6 Specify right align the item code in the digits 7 to 11 The number of item code digits varies depending on the manufacturer code Specify UPC E Os in empty digits When an 11 digit number is specified a check digit
100. e Inc 32 1 Usage Stats Android 4 1 2 Android Open Source Project 412 16 di Google APIs Google Inc 412 16 gt Help D p gt Install Update b Java b Plug in Development p Run Debug b Team b XML 167 Importing the Sample Program Import the sample program to Eclipse A Extract ePOS Device_Sample_XML_Vx x x zip and save it to any folder 2 Start Eclipse Select File Import CO _ O PEI Edit Refactor Navigate Search Project Run Window Help New Alte Shift N gt i vee Open File Close Ctrl W Close All Ctrl Shift W Save Ctrl S Save As i Eclipse Save All Ctrl Shift S Revert Move FA Tutorials Rename F2 res D Go through tutorials Refresh F5 Convert Line Delimiters To Print Ctrl P What s New Switch Workspace x Find out what is new Restart les Import 24 Export Donel Alb Entar 3 Select General Existing Projects into Workspace Click the Next button r 8 Import i Select Create new projects from an archive file or directory 225 Select an import source type filter text gt General S Existing Projects into Workspace C File System E Preferences Android amp ws 3 Install Plug in Development 2 Run Debug gt Team XML 168 Chapter 6 Sample Program il 4 Click the Browse button to displ
101. e character string from then until the Enter key is pressed is notified as the onstring message This is used for example when using the POS keyboard for bar code alternate input To stop the onstring message send a setprefix message without a keycode Request Designates the key code to determine the start of character strings to detect input from the POS keyboard subelement Daia ype keycode int Designates the key code decimals to determine the start of the character string For key code details refer to the List of KeyCode p 185 1 Example lt data gt lt type gt setprefix lt type gt lt keycodes array true gt 49 lt keycodes gt lt keycodes gt 50 lt keycodes gt lt keycodes gt 51 lt keycodes gt lt keycodes gt 52 lt keycodes gt lt data gt 135 lt type gt onstring lt type gt Response Returns the input data from the POS keyboard to the application Notifies you that input from one of the key codes designated with setprefix to Enter is detected The detected key code information as well as the sequence of input character strings is acquired in the argument input string Receives the input character strings Does not include the key to determine the start of the charac ter string or the Enter key prefix int Receives the key code that determined the start of the char acter string For key code details refer to the List of KeyCode p 185 Character strin
102. e controlled IP Address Specify the IP address of the printer for each device ID Retry interval Specify the retry interval after timeout 2 After confirming that the printer is added to Registered printers click Test printing Ensure that TEST_PRINT is printed If the registered printer is a hybrid printer click Operating test The Operating test window screen appears Check the receipt slip endorse and MICR operations 1 Customer Display The device ID of the customer display is fixed to local_display Q Register the connected customer display in the following procedure 1 Select Use 2 Set the following items and click Apply Communications Set the communication speed data bit and parity settings Brightness settings Set the brightness of the customer display 3 Click Display test Confirm that the characters are displayed on the customer display 28 Chapter 2 Building Environment T Key Input Device Register the connected key input device in the following procedure 1 Set the following items and click Ada Device ID Enter the device ID any character string Device name Select the device name of the key input device Select the device control script to be used for the key input Control Script dice 2 After confirming that the device is added to Registered key input devices click Operating test 3 The screen appears Operate
103. e device category name e type_dt Device hub terminal TM DT in ePOS Device Ver 2 5 and later e type_scanner Barcode scanner e tyoe_keyboard POS keyboard e type_printer Printer e type_hybrid_printer Hybrid Printer in ePOS Device Ver 2 5 and later e type_display Customer display e type_simple_serial Serial communication device buffer string Specifies the buffer function for when a connection is disconnected e true Enable e false Disable e With TM i the following devices are not supported type_dt type_hybrid_printer e A TM Series printer with the specification of without a Serial port does not support type_simple_serial 1 Example lt open_device gt lt device_id gt scanner_001 lt device_id gt lt data gt lt type gt type_scanner lt type gt lt data gt lt open_device gt Response Chapter 4 ePOS Device XML Returns the device open result to the application Sub element Data ype device_id string The device ID designated with the request code string The processing result For details refer to the code below data_id int If true is designated for lt buffer gt of the lt open_device gt message the sent data ID is set If false is designated a space is set 1 code OK Processed successfully DEVICE_NOT_FOUND The designated device does not exist DEVICE_IN_USE
104. e gt lt device_id gt keyboard01 lt device_id gt a lt code gt OK lt code gt lt data_id gt 1 lt data_id gt lt open_device gt 0 lt device_data gt Device control lt device_id gt keyboard01 lt device_id gt lt data gt lt type gt setprefix lt type gt lt keycode gt 49 lt keycode gt lt keycode gt 50 lt keycode gt lt keycode gt 51 lt keycode gt lt data gt lt device_data gt 0 39 40 Applications ePOS Device lt device_data gt lt device_id gt keyboard01 lt device_id gt lt data gt lt type gt onkeypress lt type gt lt keycode gt 49 lt keycode gt lt ascii gt a lt ascii gt lt data gt lt data_id gt 2 lt data_id gt lt device_data gt 0 lt device_data gt lt device_id gt keyboard01 lt device_id gt lt data gt lt type gt onstring lt type gt lt input gt 11223344556677 lt input gt lt prefix gt a lt prefix gt lt data gt lt data_id gt 3 lt data_id gt lt device_data gt 0 Device control Key event data_id 4 occurred Detect a disconnection lt connect gt lt data gt Begin lt data gt reconnection lt client_id gt sock3514555411 lt client_id gt lt protocol_version gt 2 lt protocol_version gt lt data gt lt data gt lt connect gt 0 lt data gt lt old_client_id gt sock3514555410 lt old_client_id gt lt new_client_id gt sock3514555411 lt new_client_id gt lt received_id gt 3 lt r
105. e gt message the sent data ID is set If false is designated a space is set Li code OK Processed successfully DEVICE_NOT_FOUND The designated device does not exist DEVICE_NOT_OPEN The designated device ID is not open DEVICE_CLOSE_ERROR Failed to close the designated device SYSTEM_ERROR System error occurred PARAM_ERROR Parameter error occurred 1 Example Normal lt close_device gt lt device_id gt local_display lt device_id gt lt code gt 0K lt code gt lt data_id gt 2 lt data_id gt lt close_device gt Error lt close_device gt lt device_id gt scanner_001 lt device_id gt lt code gt DEVICE_NOT_FOUND lt code gt lt data_id gt 2 lt data_id gt lt close_device gt 61 Request Sends data to a device Includes device control commands and print display data Sub element Datatype sequence string An arbitrary value to specify request messages during send ing errors If you designate a request message it will be set in the sequence of the error message during an error device_id string The opened device ID data string Data for device control Contents are defined for each device type For details refer to Message Data for Each Device p 46 1 Example lt device_data gt lt sequence gt 123 lt sequence gt lt device_id gt poskeyboard001 lt device_id gt lt data gt lt type gt setprefix lt type gt lt
106. e xs string or if the 2D code becomes larger than the printer s print area And an error response will not be returned either In standard mode a more than 831 dot high 2D code cannot be printed In page mode a 2D code is laid out in the current print position with the reference point being its top left dot 2 A 2D code will not be printed if settings not compliant with the 2D code standard are made 2D Code Type The following 2D codes can be specified PDF417 Convert the character string to the string in UTF 8 apply the escape sequence and then encode the string The data area can contain up to 928 code words in a maximum of 90 rows each of which can contain up to 30 code words QR Code Convert the character string to the string in Shift JIS apply the escape sequence and then encode the string based on the data type as shown below Number 0to9 Alphanumeric character 0to9 AtoZ space 4 Kanji character Shift JIS value 8 bit byte data 0x00 to Oxff 99 MaxiCode Convert the character string to the string in UTF 8 apply the escape sequence and then encode the string In Modes 2 and 3 when the first piece of data is 0 gt x1e011x1dyy where yy is a two digit number this is processed as the message header and the subsequent data is processed as the primary mes sage In other cases from the first piece of data data is processed as the primary message Specify the
107. ec 13 Operating ENViT On MONT esiin aaea aoaeiaa eadi aada ar A da 16 Application Environment a ot a a a a a de auto ada 16 Application Terminal uie mnene a 16 TMealnte ligada 16 MPa std abi To radar tn 17 Customer DISPO AAA a tai hand nee ae dae aetna ee 17 Penpherdl DEVISES n its tal id ss aletas 18 E Contents in the PACKAGE iiia a tata 19 Manada ietiohe ddim hvinin ied het aa 19 Sample PODA irradia aia ia adi 19 DOWRIGOG a sa A A az ad 19 Mi RESHICTIONS ui is 20 Building Environment it 21 E Updating the ePOS Device ssssesssssunssnnsssnnunnruunreunrenunnnununnnunnnnuunnennnnnnunnnnnnnnnannnnnnnennnn na 21 M DESENE Sinan das rd ia a sated a a ae 21 SAA NN 22 MM WOrKMOW AAA A A NE 23 TIMED T Shetland the ee as 23 TIMES A heels aaa hd aden paid eats da AA oe igen EA 24 E Registration of Device Control Script TM DT Series oonmcocccinnnncccccconononencccononananenonons 25 E Registration Of DOVICC ici idea 27 TMEDT Seres A AAA A AA A ea nde inden 27 TMEESOTSS rra ica dra old 30 Programming Guide tiara da ri 33 E Programming BLOW ci a 33 If Reconnecting to the TM Intelligent when the Network was Cut Off nce 34 Programming flow for the Communication BOX re rr 35 E Service Interface SpecificatiONS oooooooccccc nnnoccconncccoooncnnnnnnnnannnnnnnnnnnnnnnnnnnnannnrnrnnnnnnnnnnnos 38 FORM Ena aa ia ila oh asta Raa ae PA I al a ee Dd 38 E Communication Data Example cccccceccscsecceeeeescseeeeeeeeessseeee
108. eceived_id gt lt data gt lt reconnect gt lt reconnect gt lt code gt OK lt code gt lt reconnect gt 0 lt device_data gt lt device_id gt keyboard01 lt device_id gt lt data gt lt type gt onkeypress lt type gt lt keycode gt 50 lt keycode gt lt ascii gt b lt ascii gt lt data gt lt data_id gt 4 lt data_id gt lt device_data gt 0 lt close_device gt lt device_id gt keyboard01 lt device_id gt lt close_device gt 0 lt close_device gt lt device_id gt keyboard01 lt device_id gt lt code gt OK lt code gt lt data_id gt 5 lt data_id gt lt close_device gt 0 Device close Chapter 3 Programming Guide Applications ePOS Device lt disconnect gt Disconnection lt data gt of connection lt client_id gt sock3514555411 lt client_id gt gt lt data gt lt disconnect gt 41 Communication Box Message Example Application A ee ePOS Device fa Application B e Opens the Communication Box lt open_commbox gt lt sequence gt 1 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt lt member_id gt gt member1 lt member_id gt lt data gt lt open_commbox gt 0 lt open_commbox gt lt sequence gt 1 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt da lt code gt 0K lt code gt lt data gt lt data_id gt 1 lt data_id gt lt open_commbox gt 0 lt open_co
109. ed device into TM i a Printer e Confirm that the local printer is registered using the following procedure 1 Confirm that TM i is registered for the device ID local_printer in Registered printers 2 Click Test printing Check that printing can be done in the registered printer e Register the connected network printer using the following procedure 1 Set the following items and click Add Device ID Enter the ID any character string of the printer to be controlled Model Select the model of the printer to be controlled IP Address Specify the IP address of the printer for each device ID Retry interval ms Specify the retry interval after timeout 2 After confirming that the printer is added to Registered printers click Test printing Check that printing can be done in the registered printer T Customer Display Q Register the connected customer display in the following procedure 1 Select Use 2 Set the following items and click Apply Communications Set the communication speed data bit and parity The device ID of the customer display is fixed to local_display settings Brightness settings Set the brightness of the customer display 3 Click Test display Confirm that the characters are displayed on the customer display QO Key Input Device Register the connected key input device in the following procedure 1 Set the following items and click
110. eeeesseeeeeeeeeesseeeeeseenseneeeeees 39 Communication Box Message EXOMPI6 wo ee rr rra 42 E Array of lt data gt elements in lt device_data gt Message ccococccccooncccnonnncnonancnnnnannncnnnnos 44 6POS D VICS XML hose ic auaa sees re aaa aeaii iaaa 45 E ePOS Device XML Lisbon anat i iia 45 ME NO 45 Message Data for Communication BOX ooo ronrrro rara rr rr rr 46 Message Data for Each DEV CE oo iE IE EE rre 46 MOSSOS nto feos ties sec e ein T 49 LAO EE tan testa tartare sacs ial Te te e eon o 49 SISCOMMOCT Ss inna aiaa avd io aiii 50 lt CISCONNECTS ii hwhica Ghiienaurat neon E E a x cae ania E E 51 Lda lAlLe gt 3 ida AA A EOS 52 lt OPDEN COMIDO A A a 54 lt CIOSS SCOMIMDOXS ia dinar aa shee vitan vv ve na ee tro verdad 56 LA 4 o AA O 57 OPEN de UIC ia ao a a T 58 ECOS AAC da A Ana vos 60 SESVICSYL AGT OSs nda a ii dada 62 lt a ai 63 E Message Data for Communication BOX oooocccccccccnnnnnccnnnancnnnnnnennnnnncnnnnncnnnnnnnnnnnnrnrnnanns 64 lt type gt getcommhistor lt VPS gt dida led duce ronda haan 64 AIVPeOss ENE POS A A dara 66 lt IVDESONISCEIVEK TV OES ai Et Eat 67 E Message Data for Device Hub Terminal oooonccccnnnoccnonocccnncncnnnnncnnnnnnn cnn nannncnnnrnn nana 68 lt IYpe gt shUTIOWN lt S TY PO gt civic io dra de DA A A AA ER e DD 68 lt IYDO gt ONSRUTAOWN lt T YO gt 00cccccocccccocoon no roronon nora rara arena r rn ranas 68 E Message Data for the Barcode SCONMET ccooooccccncccc
111. elect the device control script to be registered 6 Click Ada The device control script is registered and listed in Registered control script at the bottom of the screen Chapter 2 Building Environment Registration of Device Register the device to be controlled by ePOS Device XML into TM Intelligent Configure the settings using EPSON TMNet WebConfig TM DT Series ss TMNet WebConfig Information Printer Web service settings gt Current status Printer to be registered System settings gt Network gt Date and time Item Set value Device ID Settings Web service settings O Network printer O Local printer Startup settings mts Y Pa 5 TM T88V Device Admin Device registration gt Printer m 100 ms Control script b_Add delete Registered printers Device ID Model no IP address Retry interval ms Web content i gt Update settings i Y local_printer TM T70 DT Local printer 100 Operating Server access lt Configure the settings in the following procedure A Make sure that the TM DT s power is turned on 2 Start EPSON TMNet WebConfig from the shortcut on the desktop e Ifyou are making settings from an external device set the TM DT IP address in the 3 address for the Web browser http IP address of TM DT webconfig Check the IP address of TM DT with the status sheet
112. es a communication path with t 49 P RANEE ePOS Device Service I F Communication paih a EET Re establish communication route with 50 p the ePOS Device Service l F NS Cut off communication route with 51 ePOS Device Service l F Administrator E Acquires administrator and installation lt admin_info gt a 52 information location information Communication Box lt open_commbox gt Opens the Communication Box 54 in ePOS Device Ver 2 5 and lt close_commbox gt Closes the Communication Box 56 later lt commbox_data gt Communication between applications 57 lt open_device gt Opens communication with a device 58 Device open close lt close_device gt Closes communication with a device 60 lt device_data gt Requests device control Send device control data i 62 lt device_data gt Responds to device control Notifi f tents wh Error notification lt error gt A a E 63 error Occurs 45 Message Data for Communication Box Designates the data for data communication between applications with the sub element for the lt data gt element for the lt commbox_data gt message Before designating data this designates the type of message data with the lt type gt element then designates the sub element data The lt type gt elements that can be used are listed in the chart below in ePOS Device Ver 2 5 and later Value for lt type gt oa Acquires the transfer
113. gs in received data Escape processing is performed for the following character strings Character string before amp Ampersand amp amp gt Greater than symbol Sat lt Lesser than symbol amp lt Double quotation mark amp quot Single quotation mark Sapos T Example lt data gt lt type gt onstring lt type gt lt input gt amp amp 2398749238429 lt input gt lt prefix gt 49 lt prefix gt lt data gt 136 Chapter 4 ePOS Device XML lt type gt setMSRPrefix lt type gt Specifies the key code to determine the card information reception with a keyboard with an MSR If the key code specified by this message was input the character strings of the card information received from there will be notified as an ondata message Request Specifies the key code to determine the card information reception with a keyboard with an MSR Sub element Data ype keycode int Sets the keycode for determining the beginning when card information is received For key code details refer to the List of KeyCode p 185 1 Example lt data gt lt type gt setMSRPrefix lt type gt lt keycode gt 52 lt keycode gt lt data gt 137 lt type gt ondata lt type gt Response Returns the received data of the card information from the keyboard with an MSR to the application Sub element Data ype track string Entire data of J
114. he native application 2 connect message Establish a communication path to ePOS Device Service I F bo b 3 open_device message type_printer 3 1 Cmd 4 Device open 4 1 Response ae Soe 6 device_data message 6 1 Cmal Control device using device_data message 6 1 1 Execute Le Response to device_data message p 7 Execution result ii i 7 1 device_data message 8 close_device message Tag Temesa 8 1 Cmd and Socket I F communication 9 Device close Cut connection ePOS Device Service dl 9 1 Response A l l l l l l l l l l l l 10 disconnect message Disconnection of TCP IP conection 4 33 If Reconnecting to the TM Intelligent when the Network was Cut Off If network communication with the TM Intelligent is cut off the client application will reconnect By reconnecting you can use the devices that were open without reopening them Also through the settings for opening the data to be sent to the client application that occurred while the network was cut off can be received upon reconnection The following sequence explains the message flow necessary upon reconnection and the necessary parameters Applications ePOS Device Device 1 Establishment of
115. hile pressing the FEED button After confirming the ERROR LED lights up press the FEED BUTTON twice and close the cover h ON Select the paper width according to the operation method to be printed Automatic setting of paper layout Automatic setting mode of TM L90 paper layout is used as follows A Turn the printer s power off and set the paper 2 While the cover is opened turn the power on while pressing the FEED button 3 After confirming the ERROR LED lights up press the FEED button 6 times and close the cover 217 218
116. ion of reconnection for network communication with the TM Intelligent Request Requests confirmation of reconnection to the TM Intelligent Sub element Data ype old_client_id string Specifies the client_id received by lt connect gt from the previous session new_client_id string Specifies the client_id received by lt connect gt from the cur rent session received_id int Specifies what last received communication with the data_id received from all communication data 1 Example lt reconnect gt lt data gt lt new_client_id gt 1234567890 lt new_client_id gt lt old_client_id gt 0987654321 lt old_client_id gt lt received_id gt 112 lt received_id gt lt data gt lt reconnect gt Response Returns the confirmation result for reconnection to the application Sub eiemeni Data ype code string Confirmation result for reconnection For details refer to the code below LI code Element value OK Successfully reconnected CLIENT_NOT_FOUND A connection that corresponds to the specified client_id does not exist PARAM_ERROR Parameter error occurred SYSTEM_ERROR System error occurred LI Example Normal lt reconnect gt lt code gt OK lt code gt lt reconnect gt Error lt reconnect gt lt code gt PARAM ERROR lt code gt lt reconnect gt Chapter 4 ePOS Device XML lt disconnect gt Closes the TC
117. iple tones are set for raster images intermitting printing may occur because the amount of data to print increases and white stripes may appear in the print result The scan quality of barcodes 2D codes printed as multiple tone raster images cannot be guaranteed Print them as two tone images To create raster graphic bit images use the ePOS Print XML generator tool or your own application Note the following when creating raster graphic images using your own application Two tone image Specify a multiple of 8 for the image width or fill the missing bits with zeros 16 tone image Specify a multiple of 2 for the image width or fill the missing bits with zeros Attribute e width e height e color Required attribute Specifies the image width in dots Required attribute Specifies the image height in cots Optional attribute Specifies the character color AMBAS valus none Characters are not printed color_1 default First color color_2 Second color color_3 Third color color_4 Fourth color 92 Chapter 4 ePOS Device XML e align Specifies the print position AlibulS yale left default Alignment to the left center Alignment to the center right Alignment to the right In page mode even if align is specified it is disabled YN For the standard mode specify the align attribute when at the start of a line The a
118. irectional gt 0201234567890 lt symbol gt lt symbol type gs1_databar_expanded_stacked gt 01 02012345678903 lt symbol gt 103 104 lt hline gt Draws horizontal lines Not available in page mode Attribute e xl Required attribute Specifies the draw start position of the horizontal line in dots e x2 Required attribute Specifies the draw end position of the horizontal line in dots e style Optional attribute Specifies the line type Ataata valus thin default Solid line Thin medium Solid line Medium thick Solid line Thick thin_double Double line Thin medium_double Double line Medium thick_double Double line Thick Example lt Draw double lines From the left end 100th dot to 200th dot gt lt From the left end 400th dot to 500th dot gt lt hline x1 100 x2 200 style thin_double gt lt hline x1 400 x2 500 style thin_double gt Chapter 4 ePOS Device XML lt vline begin gt Starts to draw vertical lines Not available in page mode 2 A vertical line is drawn up to the end position specified by the vline end element p 106 Use this element together with the vline end element Attribute e x Required attribute Specifies the start position of the horizontal line in dots e style Optional attribute Specifies the line type
119. isplaying the end of the character string 1 lang e Sets the display language If omitted the current settings are maintained en Default English ja Japanese 1 Example lt Display marquee from right of the screen at 200 ms character repeat at 1000 ms intervals gt lt marquee uwait 200 rwait 1000 gt Welcome lt marquee gt lt Display marquee from left of the screen at 200 ms character repeat at 1000 ms intervals gt lt marquee uwait 200 rwait 1000 format place gt Welcome lt marquee gt Chapter 4 ePOS Device XML lt clock gt Displays the time in the bottom right corner of the customer display screen The local time managed by the TM Intelligent s OS is displayed 1 Example lt clock gt lt clear gt Clears the display of the current window If a window does not exist the whole display is cleared 1 Example lt clear gt lt reset gt Resets the display Resetting the customer display sets it to the following conditions AU All character strings are cleared and all registered windows are discarded d Returns the cursor to the default conditions and moves it to the customer display origin point I Returns the display blinking and display brightness to default conditions 1 Example lt reset gt lt command gt Executes any ESC POS command Designate a command with a hexadecimal
120. k Out lt pulse gt Not supported Buzzer lt sound gt Optional Pattern A to E Error Paper end Stop 207 58mm 80mm Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported Reset lt reset gt Supported Command lt command gt Supported 208 Appendix TM T20ll 58mm 80mm Interface Ethernet Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 420 dots 576 dots 42 Column Mode 378 dots 546 dots Font For more information about what character codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A 42 Column Mode ANK 35 characters ANK 48 characters ANK 42 characters ANK 42 characters Font B 42 Column Mode ANK 46 characters ANK 64 characters ANK 31 characters ANK 60 characters Character Size Font A 42 Column Mode ANK 12 dots x 24 dots W x H ANK 9 dots x 17 dots ANK 13 dots x 24 dots Font B 42 Column Mode ANK 9 dots x 17 dots W x H ANK 12 dots x 24 dots ANK 9 dots x 17 dots Character Baseline Font A At the 21st dot from the top of the character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Page Mode Default Area 420 dots x
121. k mark to the cutting position e offset label Specifies label bottom position sd per 0 1mm unit Paper Type Valid value range Receipt without black mark with black mark Receipt with black mark SOK Setup not necessary Die cut label o without black mark Die cut label 0 to 15 Distance from the top of black mark to the bottom of label 119 120 Detailed description See below for the parameters that can be specified for each type of paper and the positions for those parameters Mark Parameter sf width sa height sb margin_top se margin_bottom sc offset_cut sd offset_label lt without Black Mark gt Receipt Top position Label Cut NX Example sf e a Bottom edge of print area lt with Black Mark gt sf sb Top position O m se Cut A A He sa sf Cut Top position Bottom edge of label Bottom edge se sa of print area sd Standard eject s Nyy Se SC lt To set 58mm receipt without black mark gt lt layout type receipt width 580 gt lt To set 58mm receipt with black mark gt lt layout type receipt_bm width 580 height 0 margin top 15 offset cut 0 gt lt To set 58mm die cut label without black mark gt lt layout type
122. keycodes array true gt 49 lt keycodes gt lt keycodes gt 50 lt keycodes gt lt keycodes gt 51 lt keycodes gt lt keycodes gt 52 lt keycodes gt lt data gt lt device_data gt Response Returns the data from the device Includes the result of device control events which occurred at the device and input data from the device Sub element Datatype sequence string Fixed as O device_id string Device ID where the data occurred data string Data that occurred Contents are defined for each device type For details refer to Message Data for Each Device p 46 data_id int If true is designated for lt buffer gt of the lt open_device gt mes sage the sent data ID is set If false is designated a space is set 1 Example lt device_data gt lt sequence gt 0 lt sequence gt lt device_id gt poskeyboard001 lt device_id gt lt data gt lt type gt onstring lt type gt lt input gt amp amp 2398749238429 lt input gt lt prefix gt 49 lt prefix gt lt data gt lt data_id gt 2 lt data_id gt lt device_data gt Chapter 4 ePOS Device XML lt error gt Response Returns the device control command and other common errors Sub element Data type sequence string ID to specify the message that caused the error It is the same value as the sequence designated by the request device_id string Device ID where the error occurred Desig
123. ki android avd AVD Name Target Name Platform API Level CPU ABI No AVD available 2 Edit Del Repai Details Start Y Avalid Android Virtual Device E A repairable Android Virtual Device X An Android Virtual Device that failed to load Click Details to see the error L Chapter 6 Sample Program il Select the name of the virtual device to create and the OS version of the virtual device Input any value for Name and make selections for Target and CPU ABI Then click the Create AVD button Create new Android Virtual Device AVD ePOS DeviceSample Android 4 1 2 API Level 16 ARM armeabi v7a Size O File T Enabled 9 Built in Resolution Property Abstracted LCD density Max VM application hea Device ram size C Override the existing AVD with the same name Tools List of existing Android Virtual Devices located at C Users toki android avd AVD Name Target Name Platform API Level CPU ABI WV ePOS DeviceSa Android 4 1 2 412 16 ARM armeabi v7a Avalid Android Virtual Device F A repairable Android Virtual Device X An Android Virtual Device that failed to load Click Details to see the error io 4 Click the button to run Eclipse Java Eclipse SDK File Edit Refactor IC MAB HE Package Explorer 53 D B BE
124. lay Sub element Sub eloment lt window gt Window settings 84 lt text gt Character display 90 lt cCursor gt Cursor display 92 lt blink gt Settings for screen blinking 94 lt brightness gt Settings for the customer display brightness 95 lt marquee gt Settings for character string marquees 99 eclock gt Timedisplay TOA lt clear gt Clears the current window display 109 lt reset gt Resetsthecustomerdisplay 106 lt command gt Executes the ESC POS command 107 1 Example lt Example with a text tag added as a sub element gt lt epos display xmlns http www epson pos com schemas 2012 09 epos display gt lt text gt Hello world lt text gt lt epos display gt 124 Chapter 4 ePOS Device XML lt response gt This is the XML document that returns from the customer display to the application Attribute Li success e Acquires the display result true or 1 Successfully displayed false or 0 Failed to display LI code e Acquires the error code EDSP_NOT_FOUND Could not find the error code EDSP_NOT_OPEN Failed to open the device EDSP_INVALID_WINDOW An unregistered window was designated EDSP_SYSTEM_ERROR An unexpected error occurred EDSP_SCHEMA_ERROR The XML structure is invalid EX_BADPORT An error occurred in internal communication error with
125. le License Java SE Java SE Products Products Third Party Third Party Licenses Licenses Certified System Certified System Configurations Configurations The Java SE Downloads window appears Select Accept License Agreement and select the file to be installed Save the file to a desired location In this manual download Windows x86 to construct the environment Overview Downloads Documentation Community Technologies Training Java SE Downloads Thank you for downloading this release of the Java Platform Standard Edition Development Kit JDK The JDK is a development environment for building applications applets and components using the Java programming language The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java platform Looking for the JavaFX SDK The JavaFX SDK is available here You must accept the Oracle Binary Code License Agreement for Java SE to download this software Accept License Agreement Decline License Agreement Product File Description File Size Download Linux x86 65 43 MB jdk 6u37 inux i586 rpm bin Linux x86 68 44 MB jdk 6u37 linux i586 bin Linux x64 65 65 MB 3 jdk 6u37 linux x64 rpm bin Linux x64 68 71 MB jak 6u37 linux x64 bin Linux Intel Itanium 53 95 MB jak 6u37 linuxia64 rpm bin Linux Intel Itanium 60 67 MB 3 jak 6u37 linuxia64 bin Solaris x86 68 3
126. le line paper feed line feed In addition the per line line feed space can be set Attributes Available for Each Printing Method D 2 2 c D 0 gt cg i o aE E a aE Attribute Description oo o v 0 o N oa a 0 8 2 2 E 3 Cc EN Lu Lu unit Paper feed amount in dots Oo O Oo 90 line Paper feed amount in lines e Oo e A 90 linespc Per line paper feed amount O o 90 Paper feed position of label pos p P A A A 90 paper black mark paper Attribute e unit Specifies the paper feed amount in dots e line Specifies the paper feed amount in lines e linespc Default 30 Specifies the per line paper feed amount in dots e pos Specifies paper feed position of label paper black mark paper Attribute value oeeling Feeds to the peeling position cutting Feeds to the cutting position current_tof Feeds to the top of the current label next_tof Feeds to the top of the next label When the per line paper feed amount is 30 dots up to 240 lines can be specified NH The standard mode retains the line feed space separate from the line feed space retained by the page mode When the linespc attribute is specified in this element it will affect the linespc attribute in each of the lt text gt and lt feed gt elements that follow Inthe page mode pos attribute cannot be specified Example Chapter 4 ePOS Device XML lt Feed paper
127. lement inside the page element Q e Not available in standard mode Use the hline vline begin and vline end elements instead Attribute e xl Required attribute Specifies the drawing start position of the horizontal line in dots e yl Required attribute Specifies the drawing start position of the vertical line in dots e x2 Required attribute Specifies the drawing end position of the horizontal line in dots e y2 Required attribute Specifies the drawing end position of the vertical line in dots e style Optional attribute Specifies the line type ANTE LIA value thin default Solid line Thin medium Solid line Medium thick Solid line Thick thin_double Double line Thin medium_double Double line Medium thick_double Double line Thick Example lt Draw a rectangle with a thin double line with the start position 100 0 and the end position 500 200 as its vertexes gt lt page gt lt rectangle x1 100 yi 0 x2 500 y2 200 style thin double gt lt page gt Chapter 4 ePOS Device XML lt cut gt Sets paper cut Available in standard mode Not available in page mode Execute when at the top of a line When the paper is cut the state turns to when at the top of 3 a line Attribute e type Optional attribute Specifies the paper cut type E no_feed Cut without feeding
128. lign attribute set in this element also applies to the align attribute in each of the text logo barcode and symbol elements e mode Optional attribute Specifies the color mode Atipute value mono default Monochrome two tone grayl Multiple tones 16 tone Example lt Print an 8 dot wide 8 dot high filled in raster image gt lt image width 8 height 8 gt 8 lt image gt 93 94 lt logo gt Prints a logo registered in the NV memory of the printer Page mode does nat support printing in multiple tones Multiple tone graphics can only be AN printed in standard mode e Using model dedicated utility or logo registration utility TMFLogo register a logo in the 3 printer in advance In page mode a logo is laid out in the current print position with the reference point being its bottom left dot Attribute e keyl Required attribute Specifies the value of the key code 1 set at the time of NV logo registration e key2 Required attribute Specifies the value of the key code 2 set at the time of NV logo registration Be sure to specify this value e align Specifies the print position Aliibuts valus left default Alignment to the left center Alignment to the center right Alignment to the right Q In page mode even if align is specified it is disabled For the standard mod
129. line The following functions are enabled in forced transmission mode Drawer kick out lt pulse gt p 114 Stopping the buzzer lt sound gt p 115 Recovery from errors that can be recovered from lt recovery gt p 121 Reset lt reset gt p 121 Sending commands in real time lt command gt p 117 79 80 Sub element Printer s print mode lt Example with a text tag added as a sub element gt lt epos print xmlns http ww epson pos com schemas 2011 03 epos print gt lt text gt Hello world lt text gt lt epos print gt 3 T om Ke S PIEIES y o O cement Function El E 9 9 a E Bla si gs 2 8 o wi ju S a 2 yn lt text gt Prints text e eile Oo O Oo 84 lt feed gt Paper feed 0 0 e 90 lt image gt Prints raster image 4A A4 A O O 92 lt ogo gt PrintsNVlogo gt n le eoa la e e lt barcode gt Prints barcode o oe 4 A Oo e 95 lt symbol gt Prints symbol 44 A e Oo 99 lt hline gt Prints horizontal line AIA A Oo A 104 lt vline begin gt Starts vertical line AIA A O A 105 lt vline end gt Ends vertical line AIA A Oo A 106 lt page gt Page mode A 4 e A 107 lt area gt Sets a page mode print area A A A A 0 108 lt direction gt Sets a page mode print direction A A A O 109 lt position gt Sets a page m
130. lligent e TM DT Series e TM i Series TM i firmware Ver 4 0 or later 1 Barcode Scanner Execution environment This section explains the following environments Information such as the webpage URLs and versions of files to download is current as of February 2013 Read the information you need depending on your environ ment O Mac OS X 10 7 5 Li Apple Xcode 4 5 2 O iOS SDK 6 0 T Sample Program ePOS Device_Sample_XML_Vx x x Zip 172 Chapter Sample Program Flow of environment construction for TM DT Series The following illustrates the flow of constructing the environment for the sample program If the Windows Security screen appears while using EPSON TMNet WebConfig enter your Q user name and password The default values are as follows User name epson Password epson 1 Network Settings Configure the system and TM DT network settings For the TM DT network settings use either of the following procedures e Configuring the Windows network settings with TM DT e Installing TMNet WinConfig in an external device Windows computer to be used for configuration 2 Connection of barcode scanner to TM DT Connect a barcode scanner to TM DT 3 Setting the Barcode Scanner p 175 Register the barcode scanner to be connected into TM DT Make registration using a Web browser 4 Setting the Sample Program p 177 173 Flow of environment construction for TM i Series The following ill
131. lt data_id gt 4 lt data_id gt lt close_commbox gt 0 Array of lt data gt elements in lt device_data gt message The following programming method is used to describe an array in the lt data gt tag Specify the attribute array true at the beginning of the element to be used for the array 1 After that specify a value with the same element name Example To express keycodes 49 50 51 52 lt data gt lt type gt setprefix lt type gt lt keycodes array true gt 49 lt keycodes gt lt keycodes gt 50 lt keycodes gt lt keycodes gt 51 lt keycodes gt lt keycodes gt 52 lt keycodes gt lt data gt 44 NORD AA VE This chapter explains the ePOS Device XML ePOS Device XML List ePOS Device XML includes the following T Message p 45 Chapter 4 ePOS Device XML This is an XML for request messages from the application to the TM Intelligent and response messages from the TM Intelligent to the application T Message Data for Communication Box p 46 in ePOS Device Ver 2 5 and later This XML is used for data communication between applications This forms the sub element for the lt data gt element in lt commbox_data gt messages T Message Data for Each Device p 46 This XML stores the data for requests and responses for each controlled device This forms the sub element for the lt data gt element in lt device_data gt messages Message Establish
132. mmbox gt lt sequence gt 1 lt sequence gt lt data gt lt box_id gt box1 amp lt box_id gt lt member_id gt member2 lt member_id gt lt data gt lt open_commbox gt 0 lt open_commbox gt lt sequence gt 1 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt lt code gt 0K lt code gt gt lt data gt lt data_id gt 1 lt data_id gt lt open_commbox gt 0 e Forwards data to the Communication Box lt commbox_data gt lt sequence gt 2 lt sequence gt lt data gt lt type gt send lt type gt lt box_id gt box1 lt box_id gt lt message gt gt send_message lt message gt lt data gt lt commbox_data gt 0 Chapter 3 Programming Guide Application A ePOS Device Application B lt commbox_data gt lt sequence gt 2 lt sequence gt lt data gt lt type gt onreceive lt type gt lt box_id gt box1 lt box_id gt lt sender_id gt member1 lt sender_id gt lt receiver_id gt gt lt receiver_id gt lt message gt send_message lt message gt lt data gt lt data_id gt 2 lt data_id gt lt commbox_data gt 0 lt commbox_data gt lt sequence gt 2 lt sequence gt lt data gt lt type gt send lt type gt lt box_id gt box1 lt box_id gt lt a lt code gt OK lt code gt lt count gt 1 lt count gt lt data gt lt data_id gt 2 lt data_id gt lt commbox_data gt 0 e Acquires the transfer history of
133. n Device Registration General Key Input Device gt General System Settings Wired aa ho Wireless PIE as Web Service Settings Device Registration key 5 m n Ta VDD Conroiseript 3 _Customer Display gt _Kev Input Device Delete gt _Serial Communication E Delete Configure the settings in the following procedure A Make sure that the barcode scanner is connected to the TM i 2 Make sure that the power to the TM i and the network computer is turned on 3 Enter the following into the URL entry field address bar or similar on the network computer s web browser http IP address of TM i webconfig e Check the IP address of TM i with the status sheet For checking method of the Q status sheet refer to Technical Reference Guide of each TM i e When accessing EPSON TMNet WebConfig you are promoted to enter user name and password of EPSON TMNet WebConfig The default is shown below User name epson Password epson 4 EPSON TMNet WebConfig starts Select Web Service Settings Device Registration Key Inout Device 5 The Key Input Device screen is displayed Perform the following settings and click Ada Device ID local_scanner Device name Select the applicable device from the list Control Script Scanner_Generic js 6 The registered barcode scanner is displayed in Registered key input devices 171 Building Environment for iOS Environment Device 1 TM Inte
134. nated if an error is in the device control message code string Displays the error that occurred using a code For details refer to the following data string The details of errors based on the driver are designated when a DRIVER_ERROR occurs data_id int If true is designated for lt buffer gt of the lt open_device gt mes sage the sent data ID is set If false is designated a space is set 1 code e lt When there is an error in lt device_data gt DEVICE_NOT_FOUND The designated device ID does not exist DEVICE_NOT_OPEN The designated device is not open SEND_ERROR An error occurred sending the data to the physical device DRIVER_ERROR Detected an error in the device PARAM_ERROR Parameter error occurred FUNCTION_NOT_FOUND The designated function does not exist in the driver e Any other error SYSTEM_ERROR System error occurred 1 Example lt error gt lt sequence gt 123 lt sequence gt lt device_id gt scanner002 lt device_id gt lt code gt DEVICE_NOT_OPEN lt code gt lt data gt lt data gt lt data_id gt 2 lt data_id gt lt error gt 63 Message Data for Communication Box lt type gt getcommhistory lt type gt Acquires the transfer history of the Communication Box Available with ePOS Device Ver 2 5 or later Request Requests acquisition of transfer history of the Communication Bo
135. nce number data string Information of the Communication Box to open For details refer to the data below 1 data Sub element Datatype box_id string Identifier of the Communication Box to open member_id string Member ID for identifying the client application in the Communication Box 1 Example lt open_commbox gt lt sequence gt 1 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt lt member_id gt member1 lt member_id gt lt data gt lt open_commbox gt Chapter 4 ePOS Device XML Response Returns the Communication Box open result to the application sub element Data ype sequence string The sequence number designated with the request data string Information of the Communication Box open result For details refer to the data below data_id string ID for identifying the sent data T data Sub slement Datatype box_id string Identifier of the Communication Box that is opened code string The processing result For details refer fo the code below e code OK Successfully opened the Communication Box ALREADY_OPENED The Communication Box is already opened MEMBERID_ALREADY_USED The specified member ID is already in use BOX_COUNT_OVER The maximum number of Communication Boxes that can be made is exceeded BOX_CLIENT_OVER The maximum number that can belong to a
136. ndroid Development Tools 20 0 3 v201208082019 427395 7 GE Android Hierarchy Viewer 20 0 3 v201208082019 427395 7 Ge Android Traceview 20 0 3 v201208082019 427395 Y E Tracer for OpenGL ES 20 0 3 v201208082019 427395 gt E 000 NDK Plugins Selecta Deselect all 5 items selected Details Y Show only the latest versions of available software Hide items that are already installed Y Group items by category What is already installed Show only software applicable to target environment Contact all update sites during install to find required software S 0 lt Back E 5 Confirm the plugin to be installed and click the Next button After confirming the terms of the license agreement select the I accept checkbox and click the Finish button Sa Review Licenses Licenses must be reviewed and accepted before the software can be installed Licenses License text D Apache License Apache License pa b Note jcommon 1 0 12 jar is under the BSD license rather than the Af Version 2 0 January 2004 p Note laml2 23 0 jar is under the BSD license rather than the EPL Y http wurw apache org licenses TERMS AND CONDITIONS FOR USE REPRODUCTION AND DISTRIBUTION 1 Definitions License shall mean the terms and conditions for use reproduction and distribution as defined by Sections 1 through 9 of this document
137. ng false or 0 default Cancels underlining e em Sets emphasized printing EE true or 1 Specifies emphasized printing false or 0 default Cancels emphasized printing e color Specifies the character color Afrmute value none Characters are not printed color_1 default First color color_2 Second color color_3 Third color color_4 Fourth color e x Default 0 Specifies the print start position of the text in dots In page mode this specification is the same as the specification for the horizontal print position by the position element but the print position in the horizontal direction only will be moved e y Default 21 Specifies the vertical print start position of the text in dots in ePOS Device Ver 2 2 and later In page mode the specification is the same as the specification for the vertical print position by the position element but the print position in the vertical direction only will be moved 7 Use this attribute inside the page element Chapter 4 ePOS Device XML e align Specifies the alignment pilus valle left default Alignment to the left center Alignment to the center right Alignment to the right For the standard mode specify the align attribute when at the start of a line Q In page mode even if align is specified it is disabled
138. o 20 in a whole number when creating a window 1 height e Designates the height 1 to 2 in a whole number when creating a window 126 Chapter 4 ePOS Device XML LI scrollmode e Designates the scroll method of the created window when creating a window Attribute value Description overwrite Default When characters are displayed while the display position is at the upper right ena the display position moves to the lower left end When characters are displayed while the display position is at the lower right end the position moves to the upper left end v_scroll When characters are displayed while the display position is at the upper right end the display position moves to the lower left end When characters are displayed while the display position is at the lower right end the characters already displayed in the lower row are scrolled to the upper row and the lower row is cleared h_scroll When characters are displayed while the display position is at the right end all the characters already displayed in the row where the cursor exists are scrolled one character to the left and a new character is displayed at the right end LI destroy e Designates whether to delete the window designated with number true or 1 Executes deletion false or 0 Default Does not execute deletion Error conditions 4 The following values are returned in
139. o check TA Information General gt General System Settings Wired gt _TCPIP Wireless _ICPAP gt Web Contents gt Time Device Admin Device Registration gt Printer gt _Customer Display b Kev Invut Device e ePOS Device use General to check ss TMNet Information General gt General System Settings Wired gt _TCPIP Wireless gt _TCPIP gt Web Contents gt Time WebConfig Version amp HI stew Web Service Settings Copyright C SEIKO EPSON CORPORATION 2011 2014 All rights reserved T WebConfig 5 4 TMNet Aa WebConfig Back A Information General e r TOCSY AT A Cotizaracion Printer Serial Number a o Updating the TM i Firmware Contact the distributor for how to update the firmware 22 Chapter 2 Building Environment Workflow TM DT Series 1 Network Settings Configure the system and TM DT network settings For the TM DT network settings use either of the following procedures e Configuring the Windows network settings with TM DT e Installing TMNet WinConfig in an external device Windows computer to be used for configuration 2 Connection of Device to TM DT Connect a device to TM DT For the devices that can be connected refer to Operating Environment p 16 Though TM DT has only one port for serial communication device USB connection is available with a serial USB conversion cable and driver
140. ode print position 0 0 A A A O 110 lt line gt Draws a page mode line AIA A A Oo 111 lt rectangle gt Draws a page mode rectangle 4A4AjJA A A O 112 l lt ct Papercut OA A A eo A B lt pulse gt Drawer kick out J Oo A 114 lt sound gt Soundsabuzzer OA A eo A 5 lt command gt Inserts a command O Oo Oo Tl tting of r layout Sa i Boe mee A siege eee s z L lt recovery gt Reco from vet 0 o 0 J A 121 in ePOS Device Ver 2 2 and later ela eee ee and later salle adel ls e 5 z IZ 1 Example Chapter 4 ePOS Device XML lt response gt This is an XML document that is returned from the printer to the application Attribute Li success e Obtains the print result true or 1 Printing succeeded false or 0 Printing failed code e Obtains the error code EPTR_AUTOMATICAL An automatically recoverable error occurred EPTR_COVER_OPEN A cover open error occurred EPTR_CUTTER An autocutter error occurred EPTR_MECHANICAL A mechanical error occurred EPTR_REC_EMPTY No paper in roll paper end sensor EPTR_UNRECOVERABLE An unrecoverable error occurred SchemaError The request document contains a syntax error DeviceNotFound The printer with the specified device ID does not exist PrintSystemeError An error occurred on the printing system EX_BADPORT An error
141. ollowing elements can be used A A lt text gt Prints text lt feed gt Paper feed lt image gt Prints a raster image lt logo gt Prints a NV logo lt barcode gt Prints a barcode lt symbol gt Prints a 2D code lt area gt Sets a print area lt direction gt Sets a print direction lt position gt Sets a print position lt line gt Draws a line lt rectangle gt Draws a rectangle lt command gt Inserts a command Example lt page gt lt page gt lt text gt ABCDE lt text gt lt Print ABCDE in page mode gt 107 108 lt area gt Specifies the page mode print area Specifies the origin point width and height based on the absolute origin point to set the print area The absolute origin point is a dot diagonally above the top left corner of the printable area Absolute origin point Origin point x y Height Print area Specify the print area according to the print content If print data extends beyond the print area the print result is such that the whole data cannot be printed completely Use this element inside the page element A x Altribute e x Required attribute Default 0 Specifies the origin of the horizontal axis in dots e y Required attribute Default 0 Specifies the origin of the vertical axis in dots e width Required attribute Default Differ according to each model Specifies
142. omer Display Control XML p 124 1 Example lt data gt lt type gt display lt type gt lt timeout gt 10000 lt timeout gt lt displaydata gt lt Customer display control XML gt lt data gt lt epos display gt lt displaydata gt lt epos display xmlns Chapter 4 ePOS Device XML lt type gt onxmlresult lt type gt Response Returns the result of sending to the customer display to the application Sub element Data type resultdata string Receives the response from the data sent to the customer dis play For details refer to lt response gt p 125 1 Example lt data gt lt type gt onxmlresult lt type gt lt resultdata gt lt response success true code status gt lt resultdata gt lt data gt 123 Customer Display Control XML This chapter explains the XML document that controls the customer display For customer display message data refer to Message Data for the Message Data for the Q Customer Display p 122 lt epos display gt This is the XML document sent from the application to the customer display It requests that the customer dis play execute the designated function lt epos display gt contains the necessary sub element for controlling the customer display Attribute 1 xmins e We re announcing the epos display namespace Find the namespace below http www epson pos com schemas 2012 09 epos disp
143. onDeviceData Any event API execution result receipt event of a F device object that runs with a browser 144 Chapter5 Device Control Script ClientConnection Object The object passed to the first parameter of the constructor of the device control script Sends data to a device object that can run with a browser Syntax send event data Parameter e event Object type String Specifies the event name of the device object e data Object type Object Specifies the data to be passed to the event of the device object Example In the example below the onkeypress event of the device object is called and 49 is obtained form data keycode and 1 from data ascii using the data parameter of the onkeypress event data keycode 49 ascii 1 clientConn send onkeypress data 145 DeviceConnection Object The object passed to the second parameter of the constructor of the device control script Sends data to a serial communication device 2 No data is sent when an input device that can run with an HID driver is used Syntax send data Parameter e data Object type Buffer Specifies the data to be sent to the device 146 Chapter5 Device Control Script Device Control Script Name Object onDeviceData event Input Device That Can Run with a HID Driver The event used to receive the data detected from a key input device For the device control s
144. onreceive data_id 3 37 Service Interface Specifications To enable control using ePOS Device XML use the following interface Transport layer Port No TCP 8009 The format and description of each data item are as follows e Terminating Communication message character Any length 1 byte Communication message UTF 8 character string in XML format Any length Terminating character NULL character 10 1 byte 38 Chapter 3 Programming Guide Communication Data Example Examples of communication data between the application and ePOS Device are as shown below where the NULL character is indicated as 10 Applications ePOS Device Establishment of TCP IP connection gt Establishment of connection lt connect gt lt data gt lt client_id gt sock3514555410 lt client_id gt lt lt protocol_version gt 2 lt protocol_version gt lt data gt lt connect gt 0 lt admin_info gt lt admin_info gt 0 gt Acquisition of the nido administrator lt code gt OK lt code gt datas information ai lt admin_name gt ep admin lt admin_name gt lt location gt Counter01 lt location gt lt data gt lt admin_info gt 0 lt open_device gt Device open lt device_id gt keyboard01 lt device_id gt lt data gt lt type gt type_keyboard lt type gt gt lt buffer gt true lt buffer gt lt data gt lt open_device gt 0 lt open_devic
145. or the Serial Device oooooooccconconccccccononononcccccnnnonennncnonnnnancnnnnnnnnancnnnnns 139 lt IYPe gt sendcoMmMand lt POS ici da de ld a ai 139 lt t pe gt onc mmandreply lt Iype gt ra ii win hina aetna beauties 140 DEVICES Control Script seco ceaicesoneiccesccasnscuredasansanancccteeasads 141 E PrOJTAMIMING icono id ici 141 Using Device Contra a eyi de ED LA E dw aia 141 Configuration of Device Control SCID To narrar rr ron nor rro rr ron rr rra rr rn rra rr 142 E List of Device Control Script APl coccion ennnen 144 ClientConnection Oe iia a A APA a 144 DeviceConnectiOn ODJSCT incccccnnicccccnionnnnccononanononnnono nono nonnn ron rr nono rr r rr r non rr rr anna n rr rr rn ron r rr rr nnan er arrncnninns 144 Device Control Script NOME ODJOCh tists seis ci id A E Aa EAN 144 E ClieniConnection Object oomicisii a ia atin 145 o 45 E DeviceConnection ObjeCtoooooocccccnonccoccccononoccncccononnnnnnnncnnnnnnnnnn cnn nnnnnnnn cnn nnnnnnrrrrnnnnnnnnnnn 146 SON a 46 E Device Control Script Name Object coconncccccnccononoccccconononnncccnonnannnnnncnnnnannnnrnnnnnnasnnnnnos 147 onDeviceData event Input Device That Can Run with a HID Driver sscsscscccrerccereerirn 147 onDeviceData event Serial Communication DEVICE were no rono nara rnrnn rra 147 AO Mii A A A a aaa 148 Sample POUM ia ia 149 Ronne E E E A O E atinada 149 E Building Environment for Android ooooccccnncccnnonnccnnonnconnnancnanannnnnnnnnnnnnn cnn cnn
146. pecifies the rotate printing pinta valle true or 1 Specifies rotated printing of text false or 0 default Cancels rotated printing of text The rotate attribute set in this element also applies to the rotate attribute in each of the Q text and symbol elements Example lt Print barcodes gt lt barcode type upc_a width 2 height 64 hri below gt 01234567890 lt barcode gt lt barcode type upc_e gt 01234500005 lt barcode gt lt barcode type ean13 gt 201234567890 lt barcode gt lt barcode type jan13 gt 201234567890 lt barcode gt lt barcode type ean8 gt 2012345 lt barcode gt lt barcode type jan8 gt 2012345 lt barcode gt lt barcode type code39 gt ABCDE lt barcode gt lt barcode type itf gt 012345 lt barcode gt lt barcode type codabar gt A012345A lt barcode gt lt barcode type code93 gt ABCDE lt barcode gt lt barcode type codel28 gt Babcde lt barcode gt lt barcode type gs1_128 gt 01 201234567890 lt barcode gt lt barcode type gsl1_databar_omnidirectional gt 0201234567890 lt barcode gt lt barcode type gs1_databar_truncated gt 0201234567890 lt barcode gt lt barcode type gs1l_databar _limited gt 0201234567890 lt barcode gt lt barcode type gs1_databar_expanded gt 01 2012345678903 lt barcode gt Chapter 4 ePOS Device XML Prints a 2D code Specifies the 2D code using a character string Data typ
147. plays using an underline format 1 Example lt Move the cursor to the top left of the customer display gt lt cursor x 1 y 1 gt lt Move the cursor to the top left of the current window gt lt cursor moveto top_left type underline gt 129 Controls screen blinking Blinking is repeated at the interval designated by interval The actual blinking interval is rounded up in 50 ms units Q For example if interval is 1 to 50 the actual interval is 50 ms if 51 to 100 then 100 ms Attribute Q interval e Designates the interval for blinking in a whole number o Terminates blinking and sets display to be continuously on 1 to 12700 Milliseconds for blinking interval 12701 to 12750 Turns off display maintaining displayed contents 1 Example lt Set screen blinking interval to 500 ms gt lt blink interval 500 gt lt Clear screen blinking gt lt blink interval 0 gt lt Turn off screen Maintain displayed contents gt lt blink interval 12750 gt lt cursor moveto top_left type underline gt 130 Chapter 4 ePOS Device XML lt brightness gt Controls the customer display brightness Attribute 1 value e Designate brightness in percentage 20 Brightness 20 40 Brightness 40 60 Brightness 60 100 Brightness 100 T Example
148. r codes can be printed refer to the user s manual that came with the printer Characters in a Line Font A ANK 42 characters ANK 30 characters Font B ANK 56 characters ANK 40 characters ae 42 characters 30 characters idee 56 characters 40 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 9 dots x 17 dots W x H rae 12 dots x 24 dots W x H esc 9 dots x 24 dots W x H font B Character Baseline Font A At the 21st dot from the top of the character Font B At the 15th dot from the top of the character pave At the 20th dot from the top of the character o At the 20th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Raster Image lt image gt Monochrome image Gray scale image Logo lt logo gt Monochrome image Gray scale image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODE39 ITF CODABAR CODE93 CODE128 GS1 128 GS1 DataBar Omnidirectional 6S1 DataBar Truncated 6S1 DataBar Limited GS1 DataBar Expanded 191 Only for South Asia model 80mm 58mm 2D Code lt symbol gt PDF417 AR Code MaxiCode 6S1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded Stacked Composite Symbology not supported Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 512 dots x 831 dots W x H 360 dots x 831 dots W
149. r to the bottom Example lt Print the characters ABCDE by rotating them 90 degrees clockwise gt lt page gt lt direction dir top_to_bottom gt lt text gt ABCDE lt text gt lt page gt 109 lt position gt Specifies the page mode print position Specifies the print position based on the start point of the print area The start point of the print area moves by following the rotation of the print area 2 Use this element inside the page element Attribute e x Required attribute Default 0 Specifies the origin of the horizontal axis in dots ey Required attribute Default 21 Specifies the origin of the vertical axis in dots following To print a character string Specify the left end of the baseline for the first character This can be omitted for left aligned printing of standard sized characters To print double sized height characters specify a value equal to or greater than 42 for y To print a barcode Specify the bottom left of the symbol And specify the barcode height for y To print a graphic logo Specify the bottom left of the graphic data And specify the graphic data height for y To print a 2D code Specify the top left of the symbol This can be omitted when printing from the top left Q Specify the print start position coordinates according to the content to be printed Refer to the Example lt Specify
150. ral devices 1 Devices that run with the OS standard driver can be used with a device control script without any drivers installed Li Accessing a device automatically locks the device exclusively Even if accessed from multiple terminals simultaneously the device is not under multiple controls When the terminal that has controlled the device releases the device the device becomes controllable from another terminal T If the network is cut off you can easily re establish the connection q Data can be sent and received between web applications For details refer to How to Use the Communication Box p 13 1 You can shut down the TM DT from the application message data for device hub terminal TM DT series is supported only System Configuration Example System with Application Installed in Tablet Computer Place and display the application in the tablet computer The application sends a request message to TM Intelligent TM Intelligent sends data to devices that can be controlled The devices and network printers connected to TM Intelligent are controlled TM Intelligent returns a response to the application ao RON Chapter Overview How to Use the Communication Box The Communication Box is a virtual data space that is provided by the ePOS Device Service I F for sending and receiving data between applications It is provided in ePOS Device Ver 2 5 and later between applications Create the dat
151. re maintained en Default English ja Japanese 1 Example lt Display character strings from top left gt lt text x 1 y 1 lang ja gt Carrots 100 lt text gt lt Display shaded character strings from the current cursor position gt lt text reverse true gt Welcome lt text gt lt Change the current window to window 2 gt lt window number 2 gt lt text x 1 y 1 lang ja gt Carrots 1 lt text gt 128 Chapter 4 ePOS Device XML lt cursor gt Controls the cursor location and display settings q Designates the cursor coordinates in the customer display using the x y designations q Designates the cursor location in the current window using the moveto designation A fx and y and moveto are simultaneously designated neither is executed Attribute LI x e Designates the cursor coordinates in the display using the x y designations Oy e Designates the cursor location in the current window using the moveto designation 1 moveto e Ifx andy and moveto are simultaneously designated neither is executed top_left Moves to the top left top_right Moves to the top right bottom_left Moves to the bottom left pottom_right Moves to the bottom right T type e Designates the cursor location in the current window Attribute value Description none Does not display the cursor underline Dis
152. s printer with the specification of without Serial port Chapter 2 Building Environment Building Environment This chapter describes environment building for ePOS Device Service I F Updating the ePOS Device Once you have updated the ePOS Device you can use the new ePOS Device functions TM DT Series Confirming the ePOS Device version You can confirm the version of the ePOS Device on the EPSON TMNet WebConfig title bar EPSON TMNet WebConfig ersion2 50 Windows Internet Explorer dy e http localhost webconfig Py E 4 x 2 EPSON TMNet WebConfig Ve X ez TMNet s WebConfig Downloading the ePOS Device update program Download the following file from the Epson website and save it in your local environment e Filename ePOS Device System Update Package For more information about the update method refer to the Readme file in the ePOS Device update package A The ePOS Device cannot be rolled back to an earlier version 21 The TM i Series TM i Firmware Ver 4 0 and later support ePOS Device Confirming the TM i Firmware version and the ePOS Device version There are the following two ways of checking the TM i Firmware version 1 Checking Firmware and ePOS Device in the status sheet SEES ESSE SASS K EPSON Status Sheet FEE lt General Information gt Firmware X XX ePOS Device X XX Model 4 Checking via EPSON TMNet WebConfig e TM i Firmware use About t
153. s will require 3 v Public JRE 300MB on your hard drive 3 Java DB Install to C Program Files Java jdk1 6 0_37 Gees e 3 Installation starts When installation completes the following wndow appears Click the Finish button r a J Java TM SE Development Kit 6 Update 37 Complete s ORACLE Java TM SE Development Kit 6 Update 37 Successfully Installed Product Registration is FREE and indudes many benefits Notification of new versions patches and updates Special offers on Sun products services and training Access to early releases and documentation When you dick Finish product and system data will be collected and the JDK product registration form will be presented If you do not register none of this information will be saved For more information on what data Registration collects and how it is managed and used see the Product Registration Information Page Chapter6 Sample Program Setting Up Eclipse Download install and set up Eclipse Downloading Eclipse Access the following URL and download Eclipse Save the file to a desired location In this manual download and set up Eclipse Classic http www eclipse org downloads Eclipse Downloads Packages Developer Builds Projects ASCO E ER Windows fax Eclipse IDE for Java EE Developers 221 MB Windows 32 Bit SE Downloaded
154. t device_id gt lt data gt lt type gt endorsecancel lt type gt lt data gt lt device_data gt Chapter 4 ePOS Device XML lt type gt micrread lt type gt Request Executes MICR reading If you set the paper after executing this message MICR reading is performed Sub element Datatype ignoreerror boolean Specifies the operation to perform when unreadable charac ters are detected For details refer to the ignoreerror below font string Specifies the MICR font to read For details refer to the font below timeout int Specifies the timeout time ms for the paper insert wait status 60 000 to 900 000 whole numbers 1 ignoreerror Element value Description true Replaces unreadable characters with and continues pro cessing false Stops processing 1 font Element value Description FONT_E13B Reads the E13B font FONT_CMC7 Reads the CMC7 font LJ Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt micrread lt type gt lt ignoreerror gt true lt ignoreerror gt lt font gt MICR_E13B lt font gt lt timeout gt 60000 lt timeout gt lt data gt lt device_data gt 75 76 lt type gt micrcancel lt type gt Request Cancels the paper insert wait status during MICR reading or MICR mechanism cleaning 1 Example lt device_data gt lt device_id gt local_prin
155. ta gt lt data gt lt device_data gt lt type gt slipcancel lt type gt 4 Request Cancels the paper insert wait status during slip printing J Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt slipcancel lt type gt lt data gt lt device_data gt 73 lt type gt endorseprint lt type gt Request Senas the print data and setting data to the endorse printer Sub etoment Daia ype 40cplmode boolean Sets the 40cpl mode For details refer to the 40cplmode below timeout int Specifies the timeout time ms for the paper insert wait status 60 000 to 900 000 whole numbers printdata string Designates the data to print For details refer to Printer Control XML p 79 1 40cplmode Element value true Enables the 40cpl mode false Disables the 40cpl mode 1 Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt endorseprint lt type gt lt 40cplmode gt false lt 40cplmode gt lt timeout gt 60000 lt timeout gt lt printdata gt lt Printer Control XML gt lt epos print xmlns lt epos print gt lt printdata gt lt data gt lt device_data gt lt type gt endorsecancel lt type gt Request Cancels the paper insert wait status during endorse printing 1 Example lt device_data gt lt device_id gt local_printer l
156. te e type Required attribute Specifies the barcode type ASAS upc_a UPC A upc_e UPC E eanl3 EAN13 jan13 JAN13 eane EAN8 jane JAN8 code39 CODE39 ir ITF codabar CODABAR code93 CODE93 code128 CODE128 gs1_128 GS1 128 gs1_databar_omnidirectional GS1 DataBar Omnidirectional gs1_databar_truncated GS1 DataBar Truncated gs1_databar_limited GS1 DataBar Limited gs1_databar_expanded GS1 DataBar Expanded e hri Specifies the HRI position none default HRI not printed above Above the barcode below Below the barcode both Both above and below the barcode e font Specifies the HRI font Attribute value font_a default Font A font_b Font B font_c Font C e width Default 3 Specifies the width of each module in dots Specifies an integer from 2 to 6 e height Default 162 Specifies the barcode height in dots 97 e align Specifies the print position Attribute valis left default Alignment to the left center Alignment to the center right Alignment to the right The align attribute set in this element also applies to the align attribute in each of the text Q image logo and symbol elements e rotate data type xs boolean S
157. ter lt device_id gt lt data gt lt type gt micrcancel lt type gt lt data gt lt device_data gt lt type gt micreject lt type gt Request Ejects the check paper 1 Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt micreject lt type gt lt data gt lt device_data gt lt type gt micrcleaning lt type gt Request Cleans the MICR mechanism After executing this message set the cleaning sheet to clean the MICR mechanism Sub etoment Daia ype Specifies the timeout time ms for the paper insert wait status 60 000 to 900 000 whole numbers timeout int 1 Example lt device_data gt lt device_id gt local_printer lt device_id gt lt data gt lt type gt micrcleaning lt type gt lt timeout gt 123456 lt timeout gt lt data gt lt device_data gt Chapter 4 ePOS Device XML lt type gt onreceive lt type gt Acquires the processing result of the HybridPrinter object Response Returns the message transfer result Sub eloment Data pe eventtype string Method name that returns an event SUCCESS string Processing result of the method that returns an event For details refer to the success below code string Execution result of the method that returns an event For details refer to the code below status string Hybrid printer status For details refer to the st
158. ters Font B ANK 56 characters Character Size Font A ANK 12 dots x 24 dots W x H Font B ANK 9 dots x 17 dots W x H Character Baseline Font A At the 21st dot from the top of the character Font B At the 16th dot from the top of the character Default Line Feed Space 30 dots Color Specification First color Raster Image lt image gt Monochrome image Logo lt logo gt Monochrome image Barcode lt barcode gt UPC A UPC E EAN13 JAN13 EAN8 JAN8 CODESO ITF CODABAR CODE93 CODE128 2D Code lt symbol gt PDF417 QR Code Ruled Line lt hline gt lt vline xxx gt Not supported Page Mode Default Area 512 dots x 1662 dots W x H Page Mode Maximum Area 512 dots x 1662 dots W x H Page Mode Line lt line gt Rectangle lt rectangle gt Not supported Paper Cut lt cut gt Cut Feed cut Drawer Kick Out lt pulse gt Supported Buzzer lt sound gt Not supported Paper layout setting lt layout gt Not supported Forced transmission mode Supported Recovery from an error lt recovery gt Supported 195 196 Reset lt reset gt Supported 80mm Command lt command gt Supported Appendix TM T82il i TM T82Il 80mm Interface Ethernet Wireless LAN Resolution 203 dpi x 203 dpi W x H Print Width 576 dots 42 Column Mode 546 dots Font For more information about what character codes can be
159. the device EX_TIMEOUT A time out error occurred in communication with the device EX_INVALID_VALUE Detected an invalid parameter T status e 0 is always set 1 Example lt Successfully performed gt lt response success true code status 0 gt lt Failed gt lt response success false code EDSP_NOT_FOUND status 0 gt 125 lt window gt Controls creating and deleting windows and moving the current window T If the attribute number x y width and height are designated the designated window is created When defining the window define it so that it does not overlap with an already defined window Specify the size to fit in the customer display size 20 digits x 2 rows A If true is designated for attribute number destroy the designated window is deleted A If an attribute that matches both window creation and deletion is designated neither process is per formed A If an attribute that matches window creation or deletion is not designated and number is designated the current window is moved to the designated window Attribute A number e Designates the target window number 01 Window 1 225 Window 2 3 Window 3 wal Window 4 ax e Designates the x coordinate 1 to 20 in a whole number when creating a window 1 y e Designates the y coordinate 1 to 2 in a whole number when creating a window 1 width e Designates the width 1 t
160. the Communication Box lt commbox_data gt lt sequence gt 2 lt sequence gt lt data gt lt type gt amp getcommhistory lt type gt lt box_id gt box1 lt box_id gt lt data gt lt commbox_data gt 0 lt commbox_data gt lt sequence gt 2 lt sequence gt lt data gt lt type gt getcommhistory lt type gt lt box_id gt box1 lt box_id gt lt code gt OK lt code gt lt history_list gt lt senderld gt member1 lt senderId gt lt receiverld gt lt receiverld gt lt message gt send_message lt message gt lt history_list gt lt data gt lt data_id gt 3 lt data_id gt lt commbox_data gt 0 43 Application A ePOS Device Application B e Closes the Communication Box lt close_commbox gt lt sequence gt 3 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt gt lt data gt lt close_commbox gt 0 lt close_commbox gt lt sequence gt 3 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt E lt code gt 0K lt code gt lt data gt lt data_id gt 3 lt data_id gt lt close_commbox gt 0 lt close_commbox gt lt sequence gt 3 lt sequence gt lt data gt amp lt box_id gt box1 lt box_id gt lt data gt lt close_commbox gt 0 lt close_commbox gt lt sequence gt 3 lt sequence gt lt data gt lt box_id gt box1 lt box_id gt lt code gt OK lt code gt gt lt data gt
161. the event of an error Error value Description EX_INVALID_VALUE When creating a window and the x y width or height overlaps with an already defined window EDSP_INVALID_ WINDOW When moving a window and the designated window does not exist LI Example lt Define window 1 from the top left with width 10 height 2 vertical scroll gt lt window number 1 x 1 y 1 width 10 height 2 scrollmode v_scroll gt lt Define window 2 from the center with width 10 height 2 vertical scroll gt lt window number 2 x 11 y 1 width 10 height 2 scrollmode v_scroll gt lt Move the current window to window 1 gt lt window number 1 gt lt Delete window 2 gt lt window number 2 destroy true gt 127 Controls display of character strings T If attributes x and y are designated display is performed from the designated cursor position A If attributes x and y are not designated display is performed from the current cursor position Altribute LI x e Designates the x coordinate for text display 1 to 20 in a whole number Uy e Designates the y coordinate for text display 1 to 2 in a whole number LI reverse e Designates whether to shade displayed characters true or 1 Performs shading false or 0 Default Does not perform shading 1 lang e Designates the language of displayed text If omitted the current settings a
162. the width of the print area in dots e height Required attribute Default Differ according to each model Specifies the height of the print area in dots Determine the width and height of the print area according to the print direction setting AN Otherwise the print data might not be printed completely Example lt Print the characters ABCDE by specifying the print area as origin 100 50 width 200 dots and height 30 dots gt lt page gt lt area x 100 y 50 width 200 height 30 gt lt text gt ABCDE lt text gt lt page gt Chapter 4 ePOS Device XML lt direction gt Specifies the page mode print direction Specifies the print direction and rotates the print area Following the rotation of the print area the start point of the print area moves Use this element inside the page element Attribute e dir Required attribute Specifies the rotation direction Atiipute value i Left to right left_to_right default o f No rotation Data is printed from the top left corner to the right Bottom to top bottom_to_top Counterclockwise rotation by 90 degrees Data is printed from the bottom left corner to the top Right to left right_to_left Rotation by 180 degrees Data is printed from the bottom right corner to the left Top to bottom top_to_bottom Clockwise rotation by 90 degrees Data is printed from the top right corne
163. this data lt Android gt lt iOS gt ePOS DeviceXML Sample ic ePOS DeviceXML Sample IPAddress 192 168 192 168 IP Address 192 168 192 168 DevicelD Printer local_printer DevicelD Printer local_printer DevicelD Scanner local_scanner DevicelD Scanner local_scanner z disconnect disconnect OnData PnPata 1000000001044 preto 1000000001037 1000000001020 1000000001020 1000000001051 1000000001013 1000000001099 1000000001051 print print Print successed local_scanner OK local_printer OK Connect to server success Print success local_scanner OK local_printer OK Connect to server success 149 Building Environment for Android Environment Device 1 TM Intelligent e TM DT Series e TM i Series TM i firmware Ver 4 0 or later 1 Barcode Scanner Execution environment This section explains the following environments Information such as the webpage URLs and versions of files to download is current as of February 2013 Read the information you need depending on your environ ment 1 Java SE Development Kit 6 Update 37 1 Eclipse Classic 4 2 1 1 Android SDK Tools 4 ADT Plugin 20 0 3 1 Sample Program ePOS Device_Sample_XML_Vx x x Zip 150 Chapter Sample Program Flow of environment construction for TM DT Series The following illustrates the flow of constructing the environment for the sample program user name and password The default values are as follows
164. tion and click the OK button a i 8 Runas laa ePOS DeviceXMLSample Jp Android JUnit Test Ed Java Applet Java Application Ju JUnit Test Description Runs an Android Application Cancel E d 6 The sample application is installed and run on the Android device 182 Chapter 6 How to Use the Sample Program Use the sample program using the following procedure A Perform application settings ic ePOS DeviceXML Sample IP Address 192 168 192 168 DevicelD Printer local_printer DevicelD Scanner local_scanner connect print Set as follows Sample Program AAA A he IP Address Input the TM Intelligent s IP address DevicelD Printer Input local_printer DevicelD Scanner Input local_scanner Click or tap connect QO N IP Address 192 168 192 168 DevicelD Printer local_printer DevicelD Scanner local_scanner disconnect OnData AAA print local_scanner OK local_printer OK Connect to server success 4 Scan a barcode using the barcode scanner Confirm that Connect to server success is disolayed on the bottom of the screen 183 5 If the barcode is properly scanned the scan result is displayed in OnData 184 ic ePOS DeviceXML Sample IP Address 192 168 192 168 DevicelD Printer local_printer DevicelD Scanner local_scanner disconnect PnPata 1000000001
165. um number of applications that can belong to one Communication Box 20 Space of transfer history that one Communication Box can maintain 10240 Byte Size of data that can be sent at one time 1024 Byte 15 Operating Environment 16 Application Environment Environment that allows socket communication and handling of XML documents 1 OS Examples iOS Android Windows Linux MacOS Application Terminal Devices that allow socket communication as connected to a network Example Smartphones tablet computers personal computers TM Intelligent TM DT Series A TM T88V DT 4 TM T7OII DT A TM H6000IV DT TM i Series d TM T88V i TM i firmware Ver 4 0 or later 4 TM T70 i TM i firmware Ver 4 0 or later O TM T20I1 A TM T82I1 i 2 TM i Firmware Ver 4 0 is compatible with ePOS Device Ver 2 5 Chapter 1 Overview TM Printer Besides a TM Intelligent printer the TM printers below can be controlled TM Printer TM DT Series TM T20I1 i TM T70 i M i firmware Ver 4 0 or later Vv TM T8211 i TM T88V M i firmware Ver 4 0 or later SUS TM H 000IV TM L90 TM P60Il TM P60ll Peeler TM P80 TM T20 Vv TM T20ll TM 170 A TM T70II Vv TM T82Il TM T88IV z TM T88V TM T90 TM U220 SUS YNYS TM T20ll i cannot control other TM printers A Interface Use a TM printer with the following
166. ustrates the flow of constructing the environment for the sample program 1 Connection of barcode scanner to TM i Connect a barcode scanner to TM i 2 Network Settings Make the network settings for the TM i using EPSON TMNet WebConfig 3 Setting the Barcode Scanner p 175 Register the barcode scanner to be connected into TM DT Make registration using an EPSON TMNet WebConfig 4 Setting the Sample Program p 177 174 Chapter Sample Program Setting the Barcode Scanner Register the barcode scanner to be controlled by ePOS Device XML into TM Intelligent Configure the settings using EPSON TMNet WebConfig TM DT Series About Web service settings AS gt Current status System settings b Network b Date and time Web service settings Startup settings D Startup settings Device Admin 3 D_Serial communication devic gt Other Registered key input devices Device ID gt Control script Control script Db_Ad delete scn0l Keybozrd_Genericjs A Make sure that the barcode scanner is connected to the TM DT 2 Make sure that the TM DT s power is turned on 3 Start EPSON TMNet WebConfig from the shortcut on the desktop Q 4 EPSON TMNet WebConfig starts Select Web service settings Device registration Key input device If you are making settings from an external device set the TM DT IP address in the address for the Web browser The def
167. ute e pattern Optional attribut Specifies the buzzer pattern Aputa value none Stop pattern_a default Pattern A pattern_b Pattern B pattern_c Pattern C pattern_d Pattern D pattern_e Pattern E error Error sound pattern paper_end Pattern when there is no paper pattern_1 Pattern 1 in ePOS Device Ver 2 2 and later pattern_2 Pattern 2 in ePOS Device Ver 2 2 and later pattern_3 Pattern 3 in ePOS Device Ver 2 2 and later pattern_4 Pattern 4 in ePOS Device Ver 2 2 and later pattern_5 Pattern 5 in ePOS Device Ver 2 2 and later pattern_6 Pattern 6 in ePOS Device Ver 2 2 and later pattern_7 Pattern 7 in ePOS Device Ver 2 2 and later pattern_8 Pattern 8 in ePOS Device Ver 2 2 and later pattern_9 Pattern 9 in ePOS Device Ver 2 2 and later pattern_10 Pattern 10 in ePOS Device Ver 2 2 and later e repeat Optional attribut Default 1 Specifies the number of repeats E The buzzer does not stop w 0 u 1 to 255 Number of repeats To stop the buzzer after designating 0 for repeat designate none for this element s Q pattern and make the request once more 115 116 e cycle in ePOS Device Ver 2 2 and later Specifies the buzzer sounding cycle in units of milliseconds
168. utomatically recoverable error occurred 0x00010000 Slip section is waiting for paper to be inserted 0x00020000 No paper in roll paper near end sensor 0x00040000 Slip section is waiting for paper to be removed 0x00080000 No paper in roll paper end sensor O0x00200000 No paper in the TOF detector 0x00400000 No paper in the BOF detector 0x01000000 A buzzer is on only for applicable devices 0x01000000 Slip not selected Ox02000000 Cannot print on a slip Ox80000000 The spooler has stopped Not used Chapter 4 ePOS Device XML Printer Control XML This chapter explains the XML document that controls printers For printer message data refer to Message Data for Printers p 70 This is the XML document sent from the application to printers It requests that the printer execute the desig nated function lt epos print gt contains the element Attribute 1 xmins e We re announcing the epos print namespace Find the namespace below http www epson pos com schemas 2011 03 epos print U force e This is the forced transmission mode in ePOS Device Ver 2 2 and later If you enable forced transmission mode print commands are forcibly sent to the printer true or 1 Sets forced transmission mode false or O Sets normal transmission mode Use forced transmission mode when the printer is offline Q It will result in an error if the printer is on
169. was detected on the communication port EX_TIMEOUT A print timeout occurred 81 Ld status e Depending on the printer situation an OR function is acquired in a decimal expression from the follow ing values Ox00000001 No response from the TM printer Ox00000002 Printing is successfully completed e Status of the 3rd pin of the drawer kick out connector H Ox00000004 e Battery offline status Ox00000008 Offline Ox00000020 The cover is open 0x00000040 Paper is being fed by a paper feed switch operation Ox00000100 Waiting to be brought back online 0x00000200 The paper feed switch is being pressed ON Ox00000400 A mechanical error occurred Ox00000800 An autocutter error occurred Ox00002000 An unrecoverable error occurred 0x00004000 An automatically recoverable error occurred Ox00020000 No paper in roll paper near end sensor 0x00080000 No paper in roll paper end sensor Ox01000000 A buzzer is on only for applicable devices Ox80000000 The spooler has stopped Not used Chapter 4 ePOS Device XML 1 battery e Depending on the battery situation an OR function is acquired in a decimal expression from the fol lowing values Status of power Attribute valus 0x30XX The AC adapter is connected 0x31XX The AC adapter is not connected Remaining battery AMBOS v
170. x to the ePOS Device Service I F Sub element Data type box_id string Identifier of the Communication Box to acquire transfer history from 1 Example lt commbox_data gt lt sequence gt 4 lt sequence gt lt data gt lt type gt getcommhistory lt type gt lt box_id gt box1 lt box_id gt lt data gt lt commbox_data gt Response Returns the transfer history of the Communication Box Sub eloment Data ype box_id string Identifier of the Communication Box whose transfer history was acquired code string Result of the sent data For details refer to the code below history_list string Acquired transfer history Notifies lt history_list gt the same number of times as the number of the acquired transfer history items Stored in the latest order of data For details refer to the history_list below 64 LI code Chapter 4 ePOS Device XML OK Successfully acquired transfer history of the Communication Box NOT_OPENED A Communication Box is not open SYSTEM_ERROR System error occurred 1 history _list senderld Sender s member ID receiverld Receiver s member ID message Received message 1 Example lt commbox_data gt lt sequence gt 4 lt sequence gt lt data gt lt code gt 0K lt code gt lt history_list gt lt history_list gt lt history_list gt lt history_list gt
171. y Deselect All Delete packages Done loading packages 162 Chapter 6 Sample Program il 5 Select Accept All and click the Install button Installation of Virtual Device starts Packages Y Android SDK Platform tools revision 1 Y Documentation for Android SDK API1 Y SDK Platform Android 4 1 2 API16 revi Y SDK Platform Android 3 2 API13 revisi Y Samples for SDK API16 revision 1 Y Samples for SDK API 13 revision 1 Y ARM EABI v7a System Image Android Y Intel x86 Atom System Image Android Y Mips System Image Android API16 re Y Google APIs Android API16 revision 3 2d oneio ATi Andenid ADLI onirin Something depends on this package Package Description amp License Package Description Android SDK Platform tools revision 14 Dependencies This package is a dependency for Android SDK Tools revision 20 0 3 Archive Descripti Archive for Windows Size 10 6 MiB SHA1 6028258d8f2fbal4d8b40c3cf507 afa0289aaal3 Accept Reject m 163 Installing ADT Plugin install ADT Android Development Tools Plugin To execute this operation the computer must be connected to the Internet If the proxy setting Q is required for Internet connection refer to Setting Proxy for Eclipse p 158 A Start Eclipse Select Help Install New Software Java Eclipse SDK
172. ype gt TM DT TM i Hybrid Printer in ePOS Device Ver 2 5 and later lock lt Request gt Locks the device port unlock Request gt print Request gt rint data and setting data to receipt printers lt Unlocks the device port lt Pi onxmlresult lt Response gt Data from receipt printers slipprint lt Request gt Print data and setting data to slip printers slipcancel lt Request gt Cancels the paper insert wait status during slip printing endorseprint lt Request gt Print data and setting data to slip printers endorsecancel lt Request gt Cancels the paper insert wait status during endorse printing micrread lt Request gt MICR reading micrcancel lt Request gt Cancels the paper insert wait status during MICR reading micreject lt Request gt Ejects the check paper micrcleaning lt Request gt Cleans the MICR mechanism onreceive lt Response gt Hybrid printer processing result Customer Display display lt Request gt Display data and setting data to the customer display onxmiresult lt Response gt Data from the customer dis play Vv Vv 123 47 Serial devices cannot be used with a TM i Series printer with the specification of without a Serial port z Value for lt type gt err TM DT TM i lt Response gt onkeypress Input character strings from Y Y
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - CASIO Industrial Management Ethernet Switch Mode d'emploi Manual teléfono DECT GDC-345H den Kleinanzeiger ohne Bilder herunterzuladen Samsung 8KG Crystal Blue Machine à Laver pompa ad aria air pump druckluftbetätigte hydropumpe pompe Garland G36-2G24R User's Manual Copyright © All rights reserved.
Failed to retrieve file