Epson TM-T70-i ePOS-Print XML Users Manual

Epson TM-T70-i Manual

Epson TM-T70-i manual content summary:

  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 1
    and how to build a system. Programming Guide Describes how to write programs in Web application development. ePOS-Print XML Reference Describes the ePOS-Print XML. ePOS-Print Editor Describes the ePOS-Print Editor. Appendix Describes the specifications for printers used for ePOS-Print. M00048208 Rev
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 2
    with Seiko Epson Corporation's operating and maintenance instructions. • Seiko Epson Corporation shall not be liable against any damages or problems arising systems. The system is compatible with all types of EPSON POS printers (excluding the TM-C100) and displays. Moreover, its flexibility makes
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 3
    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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 4
    -i  TM-T70-i  TM-T82II-i  TM-T88V-i Manual Content The manual is made up of the following sections: Chapter 1 Overview Chapter 2 Sample Program Chapter 3 Programming Guide Chapter 4 ePOS-Print XML Reference Chapter 5 ePOS-Print Editor Appendix Support Information by Printer 4
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 5
    Manual ...4 Aim of the Manual ...4 Manual Content ...4 ■ Contents...5 Overview 9 ■ ePOS-Print XML ...9 Features...9 Function ...10 ePOS-Print Service Supported Printer ...13 TM-i Printers That Can Be Controlled 14 ■ Provided Article...15 Package ...15 Manual ...15 Sample Program ...15 Download
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 6
    32 Android ...33 Windows CE ...35 iOS ...39 Windows Store Apps...40 Programming Guide 41 ■ How to Use XML Schemas 41 Visual Studio ...41 Eclipse ...45 Checking the Printer Status ...55 ■ Printing in Other Environments 56 Microsoft Silverlight ...56 Adobe Flex ...57 ePOS-Print XML Reference 59 ■
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 7
    Support Information by Printer 115 TM-L90-i/ TM-L90 ...115 TM-T20II-i/ TM-T20II ...118 TM-T70-i/ TM-T70...120 TM-T70-i/ TM-T70 (Multi-language model 122 TM-T82II-i ...124 TM-T88V-i/ TM-T88V...126 TM-P20 ...128 TM-P60II...130 TM-P60II with Peeler ...132 TM-P80 ...134 TM-T20...136 TM-T70II ...138 TM
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 8
    8
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 9
    supported TM printer ePOS-Print Service Features ❏ Allows printing from SOAP/HTTP-supported devices. Not OS-dependent. ❏ Installation of drivers and plug-ins is not required. ❏ No PCs or servers are required for printing. ❏ In case of TM-i series, it can print to other TM printer via TM intelligent
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 10
    Function The installed functions vary depending on the model. For details, refer to Support Information by Printer (p.115). Item position By Unit, By Line Mono, Multiple-tone (for TM-T88V-i and TM-T88V only) Mono, Multiple-tone (for TM-T88V-i and TM-T88V only) UPC-A, UPC-E, EAN13(JAN13), EAN8(JAN13
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 11
    Chapter 1 Overview ePOS-Print Service ePOS-Print Service is an XML Web service for printing using ePOS-Print XML. It is installed in ePOS-Print supported TM printer. When a print document is sent from a host to ePOS-Print Service using SOAP/HTTP, ePOS-Print Service performs printing and returns a
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 12
    HTTP communication is possible and XML documents can be handled ❏ OS (Example: iOS/ Android/ Windows CE/ Windows/ Linux/ MacOS, etc.) ❏ HTML5-supported browser, Flex, Silverlight ❏ Java, .NET Framework Device A device capable of HTTP communication by connecting to the network. (Example: smart phones
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 13
    , refer to Support Information by Printer (p.115). TM-i Series ❏ TM-L90-i ❏ TM-T20II-i ❏ TM-T70-i (TM-i firmware Ver.4 or later) ❏ TM-T70-i (TM-i firmware Ver.3.x or earlier) 1 ❏ TM-T82II-i ❏ TM-T88V-i (TM-i firmware Ver.4 or later) ❏ TM-T88V-i (TM-i firmware Ver.3.x or earlier) TM Printer
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 14
    's printers of TM-i.  TM-T70-i (TM-i firmware Ver.4 or later)  TM-T88V-i (TM-i firmware Ver.4 or later)  TM-T82II-i  TM-T20II-i ❏ Following printers with the UB-E02, UB-E03, UB-R03, or UB-R04 embedded.  TM-L90  TM-T20  TM-T20II  TM-T70  TM-T70II  TM-T82II  TM-T88IV  TM-T88V  TM-T90  TM
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 15
    User's Manual (This Document) ❏ TM-L90-i Technical Reference Guide ❏ TM-T20II-i Technical Reference Guide ❏ TM-T70-i (TM-i firmware Ver.4 or later) Technical Reference Guide ❏ TM-T70-i (TM-i firmware Ver.3.x or earlier) Technical Reference Guide ❏ TM-T82II-i Technical Reference Guide ❏ TM-T88V-i (TM
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 16
    Service installed on a printer can be confirmed as follows. Model  TM-L90-i  TM-T20II-i  TM-T70-i  TM-T82II-i  TM-T88V-i  TM-P20  TM-P60II  TM-P60II with Peeler  TM-P80  TM-T88V  TM-T88IV  TM-T70
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 17
    Internet Explorer 9 does not allow XML data to be sent to the printer from security-protected Web pages (HTTPS). ❏ When multiple tones are set settings to clear the data left in the printer.  (in ePOS-Print Ver.3.0 and later) 1  In the printer DIP switches (memory switches), configure the Busy
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 18
    18
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 19
    ] button to execute. 2 Sample program execution result Print text Print barcode: EAN13 Paper feed: 24 dots Application Environment Paper cut A response message from ePOS-Print supported TM printer 19
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 20
    see "Environment Settings in Other Execution Environments" on page 28. The following environments are provided for the sample program: Environment HTML5-supported Web browser Java Windows (Visual Basic .NET) Silverlight Flash Android iOS Windows CE Windows Store Apps File Name HtmlApplication1.zip
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 21
    an example of IP address settings as network settings. Web server [192.168.192.10] 2 Wireless Network Terminal [192.168.192.XXX]* Wireless LAN Router [192.168.192.1] *:When DHCP is used for the terminal ❏ Web server ❏ Wireless LAN Router ❏ ePOS-Print supported TM printer (1 set) ❏ Terminal with
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 22
    as SSID, IP address, DHCP, and allocated IP address. For details, refer to the manual for the device you are using. 2. Network Setting of ePOS-Print Supported printer Configuration is done from a Web browser. For details, refer to the Technical Reference Guide for the printer. 3. Network settings
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 23
    Device ID Settings ❏ TM-i Series For details, refer to the Technical Reference Guide for each TM-i Series printer. ❏ TM Printer (Wireless LAN Model) (p. 23) TM Printer (Wireless LAN Model) For a TM printer, enable ePOS-Print and set the device ID. 1 Connect the TM printer to the network. 2 Start
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 24
     For mobile printer (Wireless LAN Model) Item ePOS-Print Device ID Setting Set to Enable. (Default: Disabled) Align with the system settings. (Default: local_printer) 4 Click [Send]. 5 Turn the TM printer's power off and on again. 24
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 25
    portion "// URL of ePOS-Print supported TM printer" in the source file to the IP address of ePOS-Print supported TM printer and the save the source file. // URL of ePOS-Print supported TM printer var address = 'http://192.168.192.168/cgi-bin/epos/ service.cgi?devid=local_printer&timeout=10000 2 25
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 26
    Registering the Sample Program Register the sample program into the Web server. When registering the Web server of TM-i, refer to "When Registering the Sample Program into the TM-i" on page 27. Register as follows: 1 Start the Web server. 2 Copy the sample program into the following folder: Example:
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 27
    .zip css/ img/ js/ index.html : zip file : Application file 2 Connect the printer to the network and turn the power ON. 3 Start the web browser and input the TM-i IP address into the address bar. 4 EPSON TMNet WebConfig starts. Select as [Configuration]-[Web Contents]. 5 The "Web Contents Update
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 28
    Source editing Description Microsoft Visual Studio 2010 IIS (Internet Information Services) or Apache HtmlApplication1.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment.  TM-i: Automatically acquired by DHCP (192.168.192.168 if it
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 29
    file name Source editing Eclipse Description Java SE Development Kit 6 JavaProject1.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment.  TM-i: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically acquired
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 30
    program file name Source editing Description Microsoft Visual Studio 2010 - WindowsApplication1.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment.  TM-i: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 31
    2010 Microsoft Silverlight 4 Tools for Visual Studio 2010 SilverlightApplication1.zip, crossdomain.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment.  TM-i: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 32
    Flash Builder 4.5 or later Flash Builder 4.5 or later FlexProject1.zip, crossdomain.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment.  TM-i: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically acquired
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 33
    Development Tools) Plug-in for Eclipse Sample program file name AndroidProject1.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment. Source editing  TM-i: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 34
    create a new entry. Installing ADT Plug-in 1 Start Eclipse. 2 From the menu items, select as [Help]-[Install New Software]. 3 The "Install" screen appears. Click that a path to Android SDK has not been set, there is no problem. 4 Click the [Browse] button. 5 Select the [Android - Android SDK]
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 35
    Edit the IP address of ePOS-Print supported TM printer to suit the network environment.  TM-i: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically acquired)  TM Printer: 192.168.192.168 Environment Setting Procedure 2 1 Install Visual Studio
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 36
    8 The Device Emulator starts. In the Device Emulator, select as [File]-[Configure...][Network]. 9 The "Emulator Properties" dialog box appears. Select [Network]. Tick "Enable NE2000 PCMCIA network adapter and bind to:" and select the computer's network card. Click the [OK] button. 36
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 37
    10In the Device Emulator, select as [Start]-[Settings]. Chapter 2 Sample Program 11In the Device Emulator, select as [Settings]-[Connections]-[Network Cards]. 2 37
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 38
    12In the Device Emulator, select [The Internet] and then select the same network card as that of your computer. 13Set the IP address and click [OK] at the top right of the screen. 14A confirmation dialog box appears. Click [Yes]. 15Restart the Device Emulator. 38
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 39
    program file name iOSDeviceProject1.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment. Source editing  TM-i: Automatically acquired by DHCP (192. displayed when [Set Active Executable] is selected, select an iPhone or iPad file. 39
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 40
    file name Source editing Description Microsoft Visual Studio 2012 Windows 8 App1.zip Edit the IP address of ePOS-Print supported TM printer to suit the network environment.  TM-i: Automatically acquired by DHCP (192.168.192.168 if it cannot be automatically acquired
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 41
    Chapter 3 Programming Guide Programming Guide This chapter describes how to write programs in the application development using ePOS-Print. How to Use XML Schemas The XML document editing support function in the integrated development environment helps efficiently create XML documents and validate
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 42
    3 Set the XML schema "epos-print-3.x.x.xsd" to the XML file. [XML]-[Schemas...]-[Add...] 42
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 43
    Chapter 3 Programming Guide Editing Example For details on elements, refer to ePOS-Print XML Reference (p.59). 1 Enter the character "". Then, the
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 44
    4 Select "text" from the candidates and enter an empty space. Then, attribute candidates appear. 5 Select "lang" from the candidates. Then, attribute value candidates appear. 6 Select "en" from the candidates and enter the character ">". Then, the text element is added. 7 Enter a character string to
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 45
    Chapter 3 Programming Guide Eclipse Setting Procedure Create an XML file and set the location of the schema using URL as follows:
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 46
    barcodes, etc. This mode is suitable for the type of printing such as printing receipts that requires the paper length to change according to the print space. Page mode In way that data is sent after checking the printer status. For the above procedure, refer to Checking the Printer Status (p.55). 46
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 47
    Chapter 3 Programming Guide Print Document Creation Create a print document using elements in the epos-print root element. For details on elements, refer to Element List (p.59). Refer to the following program for print document creation.
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 48
    settings for the text to print using the attributes of the text element. Refer to the following program for print document creation. For the string "Hello print document creation. var request = ''; //Create a print document
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 49
    >'; } • This section describes how to print a raster image. In addition, there is also a method of printing graphics registered in the NV memory of the printer. For details, refer to (p.74). • For details on how to create raster images
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 50
    raster graphic bit-image data using a base 64 encoded character string. Refer to the following program for print document creation. For the string " Start print document creation. var request = ''; //Create a print document
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 51
    printer end point address, refer to Printer End Point Address (p.52). Refer to the following program. ePOS-Print supported TM printer checks the status of the TM printer (); //Set the end point address var url = 'http://192.168.192.168/cgi-bin/epos/ service.cgi?devid=local_printer&timeout=10000';
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 52
    following format: http://[domain]/cgi-bin/epos/service.cgi?devid=[device ID]&timeout=[timeout time] Items to specify Domain Device ID Timeout period Description Specify either the IP address or the domain name of ePOS-Print supported TM printer. Specifies the printer to be used for printing. The
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 53
    code ❏ Printer status ❏ Printer's battery status The printer status can be obtained when communication with the printer is possible. Refer to the new XMLHttpRequest(); //Set the end point address var url = 'http://192.168.192.168/cgi-bin/epos/ service.cgi?devid=local_printer&timeout=10000'; //Open
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 54
    Error handling Refer to the following program for the error handling method by a callback function. // Set a response receipt callback function  '\nStatus:\n'; // Obtain the printer status var asb = res[0].getAttribute('status'); if (asb & 0x00000001) { msg += ' No printer response\n'; } if (asb &
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 55
    Chapter 3 Programming Guide Checking the Printer Status To check the printer status without printing, send empty print data. Refer to the following program. //Set the end point address var url = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer &timeout=10000'; //Create an
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 56
    = "http://schemas.xmlsoap.org/soap/envelope/"; private XNamespace epos = "http://www.epson-pos.com/schemas/2011/03/epos-print"; private string address = "http://192.168.192.168/cgi-bin/epos/ service.cgi?devid=local_printer&timeout=10000"; public MainPage() { InitializeComponent(); } private void
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 57
    Chapter 3 Programming Guide Adobe Flex
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 58
    58
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 59
    for ePOS-Print XML print documents. For differences in specifications according to printer type, refer to Support Information by Printer (p.115). Element List Root element Element Function Standard mode Page mode Page Request ● ● p. 60 Prints text ● ● p. 64
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 60
    printer. This document requests the printer to execute the specified function and performs initialization when printing starts. has elements. Refer > (p.97)) Example Empty printing document Drawer kick-out when
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 61
    4 ePOS-Print XML Reference An XML document, a printer returns to a host as a response. This document sends the printer status after command execution. The response timing varies depending on the printer status. • When the power is turned ON: Time set to the TM printer • When the power
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 62
    0x40000000 0x80000000 Description No response from the TM printer Printing is successfully completed Status of the xs:unsignedInt) The battery status of the printer is obtained. 0 is indicated when the model doesn't have a battery installed. Status of power Attribute value 0x30XX 0x31XX
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 63
    Chapter 4 ePOS-Print XML Reference Example When paper runs out while printing and printing fails. Example of printing failure when battery runs out during
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 64
    . • In page mode, characters are laid out in the current print position with the reference point being the character baseline dot (Appendix (p.115)). Entity Reference To write symbols required for printer control such as horizontal tab, line feed, and the following symbols, use their corresponding
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 65
    ePOS-Print XML Reference Attribute  lang : (data type xs:language) Specifies the target language. Attribute value Description en(default) English(ANK) de not installed in a printer cannot be printed. • For printable character code, refer to the detailed instruction manual of your printer.
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 66
    boolean) Sets smoothing. When smoothing is enabled, the print quality of characters will be improved. Attribute value true or 1 false or 0 (default) Description Specifies smoothing. Cancels smoothing  dw : (data type xs:boolean) Sets the double-sized width. Attribute value true or 1 false or
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 67
    Chapter 4 ePOS-Print XML Reference  height : (data type tns:text-scale) Specifies the vertical scale. Attribute value Integer from 1 to 8 (default : 1) Vertical scale Description When the double-sized height attribute and the height attribute are specified in one element at the same time,
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 68
    only will be moved. Use this attribute inside the page element.  align : (data type tns:align) Specifies the alignment. Attribute value left (default) center right Description Alignment to the left Alignment to the center Alignment to the right • For the standard mode, specify the align
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 69
    4 ePOS-Print XML Reference Example To print a character string based on the following settings: Item Language Smoothing Align Setting English Enable Center Align Font Double-sizing Underline Font A Double width and height characters Enable
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 70
    the paper feed amount in dots.  line : (data type xs:unsignedByte) Specifies the paper feed amount in lines.  linespc : (data type xs:unsignedByte, Default : 30) Specifies the per-line paper feed amount in dots.  pos : (data type tns:feed-pos) It specifies paper feed position of label
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 71
    Chapter 4 ePOS-Print XML Reference Example To feed paper 3 lines forward: To start a new line after printing a character string:
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 72
    laid out in the current print position with the reference point being its bottom left dot. The print supported in Page Mode. Multiple tone graphic printing is supported multiple of 8 that does not exceed the printer paper width for the width attribute value. none color_1 (default) color_2 color_3
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 73
    Print XML Reference  align : (data type tns:align) Specifies the print position. Attribute value left (default) center right , data type tns:image-mode) Specifies the color mode. Attribute value mono (default) gray16 Description Monochrome (two-tone) Multiple tones (16-tone) Example To print
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 74
    printer in advance. • Multiple tone printing is not supported in Page Mode. Multiple tone graphic printing is supported in Standard Mode only. • In page mode, a logo is laid out in the current print position with the reference left (default) center right epson-pos.com/schemas/2011/03/epos-print">
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 75
    barcode standard are made, or if the barcode becomes larger than the printer's print area. And an error response will not be returned, either. • In 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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 76
    Barcode type CODE128 GS1-128 GS1 DataBar Omnidirectional GS1 DataBar Truncated GS1 DataBar Limited BARCODE_GS1_ DATABAR_EXPANDED 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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 77
    Chapter 4 ePOS-Print XML Reference To specify binary data that cannot be represented by character strings, use the hri : (data type tns:barcode-hri) Specifies the HRI position. Attribute value none (default) above below both Description HRI not printed Above the bar code Below the bar code Both
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 78
    Specifies the rotate printing. Attribute value true or 1 false or 0 (default) Description Specifies rotated printing of text. Cancels rotated printing of text. elements. Example To print barcodes: epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 79
    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 to 3-digit number) GS:(\x1d) Service class code (1- to 3-digit
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 80
    Type GS1 DataBar Expanded Stacked Aztec Code DataMatrix Description Convert the character string to the string in UTF-8, apply the escape sequence, and then encode the string. You can enclose an application identifier (AI) in parentheses. The parentheses are used as HRI print characters and are
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 81
    Chapter 4 ePOS-Print XML Reference Attribute value datamatrix_rectangle_12 datamatrix_rectangle_16 Type DataMatrix later) 4 v • Select the level according to the 2D-code type. • Select the default for MaxiCode and two-dimensional GS1 DataBar.  width : (data type xs:unsignedByte) Specifies
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 82
    row Specifies the maximum width for the barcode (106 or above)  align : (data type tns:align) Specifies the print position. Attribute value left (default) center right Description Alignment to the left Alignment to the center Alignment to the right The align attribute set in this element also
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 83
    Chapter 4 ePOS-Print XML Reference Example To print 2D-codes: ABCDE ABCDE 908063840\x1d850\x1d001\
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 84
    -style) Specifies the line type. Attribute value thin(default) medium thick thin_double medium_double thick_double Description Solid line: Thin From the left end: 400th dot to 500th dot
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 85
    XML Reference 4 <
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 86
    ) Specifies the line type. Attribute value thin(default) medium thick thin_double medium_double thick_double Description Solid line line from 100th to 200th dot from the left end.
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 87
    Chapter 4 ePOS-Print XML Reference Changes the mode from standard mode to page mode. Elements via a command Example To print "ABCDE" in page mode: 4 ABCDE 87
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 88
    print area (in dots). (Required attribute data type xs:unsignedShort Default :Differ according to each model) Specifies the height of the 50), width: 200 dots, and height: 30 dots:
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 89
    -Print XML Reference direction. Attribute value Description Left to right left_to_right (default) (No rotation.Data is printed from the top rotating them 90 degrees clockwise:
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 90
    Default "21") Specifies the origin of the vertical axis (in dots). Specify the print start position (coordinates) according to the content to be printed. Refer method and print the characters "ABCDE":
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 91
    Chapter 4 ePOS-Print XML Reference Draws a line in page mode. • Use this element inside the page between the start position (100, 0) and the end position (500, 0):
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 92
    draw a rectangle with a thin double line, with the start position (100, 0) and the end position (500, 200) as its vertexes: 92
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 93
    Chapter 4 ePOS-Print XML Reference Sets paper cut. • Cannot be written in the tag. • Execute "when at the top of a paper is cut.) Example To perform feed cut operation: 4 93
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 94
    ms 400 ms 500 ms Description Example To send a 100msec pulse signal to the pin 2 of the drawer kick connector: 94
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 95
    Chapter 4 ePOS-Print XML Reference Sounds a buzzer. • Cannot be written in the tag. • The buzzer function and the drawer cannot be used together. • This element is not available if the printer is not provided with the buzzer. Attribute  pattern : (data type tns:sound-pattern)
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 96
    Example To repeat the sound pattern A three times: 96
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 97
    xs:hexBinary) For information about ESC/POS commands, see the ESC/POS Command Reference. You can view the ESC/POS Command Reference from https://reference.epson-biz.com/. Example 41424344450a
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 98
    Attribute value receipt (default) receipt_bm label label_bm Description Receipt (without black mark) Receipt (with Receipt (with black mark) Die-cut label  (without black mark) Die-cut label (with black mark) Valid value range Description 0 Setup not necessary 0 (auto) 284 to 1550 (manual
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 99
    Print XML Reference  margin-bottom :(data type xs:Short, When not specified : 0) Specifies bottom margin (in units of 0.1 mm). Paper Type Receipt  (without black mark) Receipt (with value of range is depending on the printer model. For detail, refer to "Appendix - Printer specifications". 99
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 100
    paper, and the positions for those parameters. Mark sf sa sb se sc sd Parameter width height margin_top margin_bottom offset_cut offset_label sf Receipt Top position Cut sf sb sc sa Top position Label Cut sf Bottom edge of print area sb se sa sc sc
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 101
    Setting label paper in TM-P Series printers 4 For TM-P Series printers (except TM-P60), before printing labels, it is necessary to set the label size and feed label paper. Perform control by referring to the following:
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 102
    transmission mode (p. 60) to use this element. Example Recovers from errors that can be recovered from and clears the buffer. 102
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 103
    Chapter 4 ePOS-Print XML Reference Resets the printer. (in ePOS-Print Ver.3.0 and later) • Cannot be written in the tag. • Other printing commands in the print document are ignored. Example Resets the printer <
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 104
    104
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 105
    Editor included in the contents in the package. This tool is a support tool for generating XML data. This tool allows you to create an Google Chrome 19 or later  Apple Safari 5.1.7 or later  iPad Safari in iOS 5.1 or later Environment Setting Procedure • In Google IP address]/editor/index.html 105
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 106
    3 ePOS-Print Editor appears. 106
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 107
    the [Setting] tab to display the Setting screen. Item Model IP address of ePOS-Print supported TM printer Device ID of the target printer Print timeout (milliseconds) Monitor the status Description Specify the model of the printer to be used for printing. The Preview screen resizes according to
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 108
    element can be deleted using the x button located on its right side. ePOS-Print Editor can import an ePOS-Print XML print document. For details, refer to Import (p.112). Deletes the edited details. Sets forced transmission mode. 108
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 109
    NV logo is added, set the key code. 3 Select the [Preview] tab to check the preview image. When a printer is connected, you can also check the image by printing. For details, refer to Print (p.111). • Logo printing, barcode printing, 2D code printing, ESC command, buzzer sound, drawer kick, and
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 110
    4 Select the [XML] tab. The ePOS-Print XML document is displayed. Use it by copying. Save the ePOS-Print XML print document, and you can edit it by importing it again. 110
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 111
    printer settings, refer to Setting (p.107)). Item Description Data to be sent (ePOS-Print XML) The ePOS-Print XML document is displayed. Send Sends data to the printer print document is printed to ePOS-Print supported TM printer.  The acquired status is displayed in the Information box. 111
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 112
    Import ePOS-Print Editor can import an ePOS-Print XML print document. This function is used to edit the already created ePOS-Print XML print document. Item Data to be import (ePOS-Print XML) Apply Information Close Description Pastes the ePOS-Print XML print document. Imports the ePOS-Print XML
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 113
    Chapter 5 ePOS-Print Editor Encoding Graphic Data Use ePOS-Print Editor to convert raster graphic bit-image data into a base 64 encoded character string. How to Use ePOS-Print Editor Create data as follows: 1 Store the image file you want to print into the same level as the index of this tool. 2
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 114
    6 Select the [XML] tab. 7 Code converted into a base 64 encoded character string is displayed in [ePOS- Print XML Print Document]. Copy the desired character string for use. 114
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 115
    Support Information by Printer Model Page Model TM-L90-i p. 115 TM-T20II-i TM-T70-i p. 122 TM-T82II-i Multi-language model TM-L90 p. 115 TM-P20 TM-P60II with Peeler p. 132 TM-P80 TM-T20II p. 118 TM-T70 TM-T70II TM-T90 p. 138 TM-T88IV p. 142 TM-U220 Page Model p. 118 TM-T70
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 116
    Receipt Die-cut label Default Line Feed Space 30 dots Color Specification  First color  First color, Second color (when two-color printing is set) Page Mode Default the settings of the printer using the memory switch supported Page Mode Line Rectangle Not supported
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 117
    ePOS-Print Setting (TM-L90) Item Printing Method Character Code Tables Thermal (203 dpi) Page 0-5, 16-19 Value Appendix 117
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 118
    TM-T20II-i/ TM-T20II 80 mm Interface Ethernet, Wireless LAN Resolution 203 dpi x 203 dpi (W x H) Print Width (42 Column Mode) 576 dots (546 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.
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 119
    Buzzer Optional Paper layout setting Not supported Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80 mm ePOS-Print Setting (TM-T20II) Item Printing Method Character Code Tables Value
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 120
    TM-T70-i/ TM-T70 80 mm Interface Ethernet, Wireless LAN Resolution 180 dpi x 180 dpi (W x H) 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 a Line Font A ANK: 42
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 121
    Forced transmission mode Recovery from an error Reset Command Supported Supported Supported Supported ePOS-Print Setting (TM-T70) Item Printing Method Character Code Tables Thermal (180 dpi) Page 0-5, 16-19 80 mm Value Appendix 121
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 122
    TM-T70-i/ TM-T70 (Multi-language model) 80 mm 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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 123
    Forced transmission mode Recovery from an error Reset Command Supported Supported Supported Supported ePOS-Print Setting (TM-T70) Item Printing Method Character Code Tables Thermal (203 dpi) Page 0-5, 16-19 80 mm Value Appendix 123
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 124
    TM-T82II-i 80 mm Interface Ethernet, Wireless LAN Resolution 203 dpi x 203 dpi (W x H) Print Width (42 Column Mode) 576 dots (546 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 Default Default
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 125
    black mark paper Not supported Drawer Kick-Out Supported Buzzer Optional Paper layout setting Not supported Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80 mm Appendix 125
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 126
    TM-T88V-i/ TM-T88V 80 mm 58 mm Interface Ethernet, Wireless LAN Resolution 180 dpi x 180 dpi (W x H) Print Width 512 dots 360 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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 127
    Reset Command 80 mm 58 mm Optional (Pattern A to E, Error, Paper end, Stop) Not supported Supported Supported Supported Supported ePOS-Print Setting (TM-T88V) Item Printing Method Character Code Tables Value Thermal (180 dpi) Page 0-5, 16-19, 20-21, 26,30-31
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 128
    Default Area Page Mode Maximum Area Raster Image Logo Barcode 58 mm Wireless LAN 203 dpi x 203 dpi (W x H) 384 dots Font A, Font B, Font C, Font D, Font E For more information about what character codes can be printed, refer to the user's manual that came with the printer
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 129
    GS1 DataBar Stacked,  GS1 DataBar Stacked Omnidirectional, GS1 DataBar Expanded Stacked, Composite Symbology Not supported Supported (Only for solid line) Feeds paper to cutting position Supported Not supported Supported(Pattern 1 to 10, Stop) Supported Supported Supported Supported Supported 129
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 130
    Line Rectangle Receipt 58 mm Receipt 60 mm Wireless LAN 203 dpi x 203 dpi (W x H) 420 dots 432 dots 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. ANK: 35 characters, ANK: 36
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 131
    Buzzer Paper layout setting Forced transmission mode Recovery from an error Reset Command Receipt 58 mm Cut, Feed cut Not supported Not supported Supported(Pattern 1 to 10, Stop) Not supported Supported Supported Supported Supported Receipt 60 mm 131
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 132
    >, Receipt 58 mm Receipt 60 mm Die-cut label Wireless LAN 203 dpi x 203 dpi (W x H) 420 dots 432 dots 160 to 400 dots 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. ANK: 35 characters
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 133
    (Only for solid line) Feed cut (Feeds paper to cutting position) Supported Not supported Supported(Pattern 1 to 10, Stop) Supported Supported Supported Supported Supported Die-cut label Paper Layout Paper type Receipt paper (without black mark) width (sf) 290 to 600 height (sa) 0 margin_top
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 134
    Mode Default Area Page Mode Maximum Area Raster Image Logo Receipt 58 mm Wireless LAN 203 dpi x 203 dpi (W x H) 576 dots, 546 dots (42 column mode) 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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 135
    cut (Feeds paper to cutting position) Supported (Only black mark paper) Not supported Supported(Pattern 1 to 10, Stop) Supported (Only for receipt paper) Supported Supported Supported Supported Paper Layout Paper type Receipt paper (without black mark) Receipt paper (with black mark) width (sf
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 136
    TM-T20 Interface Resolution Print Width Font Characters in a Line Font A Font B Character Size Font A Font B Character Baseline Font A Font B Default printed, refer to the user's manual that came with the printer. ANK  (Composite Symbology not supported) Not supported 420 x 831 dots
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 137
    Out Buzzer Paper layout setting Forced transmission mode Recovery from an error Reset Command 58 mm 80 mm Not supported Not supported Optional (Pattern A to E, Error, Paper end, Stop) Not supported Supported Supported Supported Supported 137
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 138
    TM-T70II 80 mm 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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 139
    > Paper layout setting Forced transmission mode Recovery from an error Reset Command Supported Supported Not supported Supported Supported Supported Supported 80 mm ePOS-Print Setting Item Printing Method Character Code Tables Value Thermal (203 dpi) Page
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 140
    TM-T88IV 80 mm 58 mm Interface Ethernet, Wireless LAN Resolution 180 dpi x 180 dpi (W x H) Print Width 512 dots 360 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 Page Mode Default Area 512
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 141
    paper Drawer Kick-Out Supported Buzzer Not supported Paper layout setting Not supported Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported ePOS-Print Setting Item Printing Method
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 142
    TM-T90 58 mm 60 mm 80 mm Interface Ethernet, Wireless LAN Resolution 180 dpi x 180 dpi (W x H) Print Width 360 dots 384 dots 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
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 143
    mode Recovery from an error Reset Command 58 mm Supported(Solid line only) Cut, Feed cut Not supported Not supported Supported Not supported Supported Supported Supported Supported 60 mm ePOS-Print Setting Item Printing Method Character Code Tables Thermal (180
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 144
    TM-U220 76 mm 70 mm 58 mm 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. Characters in
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 145
    layout setting Forced transmission mode Recovery from an error Reset Command 76 mm Not supported Not supported Not supported Supported Supported ePOS-Print Setting Item Printing Method Character Code Tables Impact Page 0-5, 16-19 70 mm Value Appendix 58 mm
  • Epson TM-T70-i | ePOS-Print XML Users Manual - Page 146
    146
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

ePOS-Print XML
User’s Manual
M00048208
Rev.I
Overview
Sample Program
Programming Guide
ePOS-Print XML Reference
ePOS-Print Editor
Describes the features and development environment.
Describes how to use the sample program and
how to build a system.
Describes how to write programs in Web application
development.
Describes the ePOS-Print XML.
Describes the ePOS-Print Editor.
Appendix
Describes the specifications for printers used for ePOS-Print.