Home
Server Direct Print User`s Manual - Epson America, Inc.
Contents
1. Chapter 4 Status Notification Execution of Sample Program Confirm that Status Notification of TM intelligent printer is set Open the sample program page from the Web browser Example http IP address of the Web Server demo indexStatus html N The resultPrint log is created from the message from the TM intelligent printer and the result is displayed on the screen Q 1 8 StatusNotification Windows Internet Explorer YX K N Y tela EJS gt Bit Wdemo IndexStatus htm gt 84 x E sing 3 pr de Favorites 88 E StatusNotification x f Status Notification Printer Status Printer name local_printer Status ASB value is 251658260 Status of the drawer kick number 3 connector pin H Stop the spooler 59 Status Type 60 The following types of ASB AutoStatusBack status can be obtained from the TM i Code 0x00000001 No printer response 0x00000002 Print complete 0x00000004 Status of the drawer kick number 3 connector pin H 0x00000008 Offline status 0x00000020 Cover is open 0x00000040 Paper feed switch is feeding paper 0x00000100 Waiting for online recovery 0x00000200 Paper feed switch is being pressed 0x00000400 Mechanical error occurred 0x00000800 Auto cutter error generated 0x00002000 Unrecoverable error generated 0x00004000 Auto recovery error generated 0x00020000 No paper in th
2. TM Intelligent Printer TM Intelligent Printer ePOS Print TM T88V DT TM DT TM T70II DT o TM H6000IV DT TM T88V i TM T70 i TM i o TM TB2II i TM L90 i O Supported A Not supported 1 ePOS Device ver 2 2 or later 2 TM i firmware ver 3 0 or later TM Printer TM T88V 6 o TM T88IV o A TM T70 6 le TM T7OI o 6 TM T90 6 TM 120 e TM T20II o o TM T82I1 o o TM L90 e o TM U220 67 Oo TM P6OII o TM P60II Peeler e o TM P80 o A O Supported A Not supported 1 TM i firmware ver 4 0 or later 2 TM i firmware ver 3 0 or later Chapter Overview Contents In the Package 1 Server Direct Print User s Manual This Document T Detailed user s manual for each printer Sample Program The sample program is included in the Server Direct Print User s Manual package T epsonsample_eposprint zip Sample Program for ePOS Print XML Utility Used to register NV logo to the printer Utility TM printer TM T88V Utility e TM T88V i TM T88V DT TM T88V TM T70ll Utility e TM T7OII DT TM T70Il TM H6000IV Utility e TM H6000IV TM H6000IV DT ss ae TM T2O Utility e TM T20 Utility specialized for each model TM T20Il Utility e TM T20ll TM T82II Utility e TM T82Il i TM T82Il TM P6OIl Utility e TM P60I TM P60ll Peeler TM P80 Utility e TM P80 e TM L90 TM L90 i e TM T90 Logo registration utility
3. Connect the TM i to the network and turn the power ON Start the Web browser on the setup computer and enter as follows http IP address of the TM i PrinterConfigurationPage For details about the IP address settings for TM i see IP Address Settings p 23 EPSON TMNet WebConfig starts Select Web Service Settings Direct Print The Direct Print screen appears Set the following items and click Apply Server Direct Print Description Select the Enable Set ID for the server side program to identify TM i This ID becomes the user ID used for Digest access authentication The set value will also be passed as an ID parameter value for the form data posted to the server Not required for the sample program Password Set your password used for Digest access authentication Not required for the sample program Server 1 URL Specify the Test_print php address of the Web server Example http IP address of Web server Test_print php Click the Access Test button to check if the address is accessible Interval s Set the request interval 29 ee re Sets whether the server authentication is performed with the registered certificate when accessed through https Authenticate Server 6 When using Server select System Settings Proxy About Information A System Settings Network Proxy S General Proxy K General
4. Sstrmsg Mechanical error generated n if asb amp 0x00000800 0x00000800 Sstrmsg Auto cutter error generated n 7 61 62 if Sasb 0x00002000 0x00002000 Sstrmsg Unrecoverable error generated n if Sasb 0x00004000 0x00004000 Sstrmsg Auto recovery error generated n if Sasb amp 0x00020000 0x00020000 Sstrmsg No paper in the roll paper near end detector In if Sasb amp 0x00080000 0x00080000 Sstrmsg No paper in the roll paper end detector n if Sasb amp 0x80000000 0x80000000 Sstrmsg Stop the spooler In result fprintf fhandle Printer name s Status ASB value is s In Sprinterstatus devicename Sasb Sresult fprintf Sfhandle s n strmsg if Sresult OK else N G fclose fhandle gt Chapter 4 Status Notification Request and Response Request The format of request message is URL encoded form data application x www form urlencoded Parameter Value ConnectionType Status ID The ID set with WebConfig p 54 ResponseFile Status Information POST demo Test_status php HTTP 1 1 Host 192 168 192 10 Content Type application x www form urlencoded Content Length xxx ConnectionType SetStatus amp ID amp Status Status Information The status information configuration is as follows lt xml version 1
5. Web Server 192 168 192 10 TM Intelligent Printer TM T88V i 192 168 192 20 Router 192 168 192 1 TM Printer 192 168 192 21 1 Web Server Its operation has already been checked using IIS and XAMP 3 Router 1 TM Intelligent Printer e TM T88V i TM T70 i TM L90 i TM T88V DT TM T7OII DT or TM H6000IV DT 1 TM Printer File Configuration The server returns a response containing print data when the printer sends a request Test_print php The printing result is retained in this file The file is created after resultPrint log printing index html Sends a print instruction and displays the printing result demo sample xml The data of response message Chapter 2 Sample Program Printing Result Cooking Slip Delivery Slip 2 Alt Beer Seat AS an DELIVERY TICKET 0001 2013 03 19 13 53 15 Order 0001 Time Mar 19 2013 13 53 15 Seat A 3 Alt Beer 6 00 x 2 12 00 TOTAL 12 00 Program Flow The flow from the initial display to the print completion of the sample program is as shown below 1 Start the browser 2 Enter the order 3 Receive a request from the printer 4 Responses print data sample xml to the printer 5 Output the printing result sent from the printer to resultPrint log after 6 Display the printing result on the screen 19 Environment Settings The environment setting flow of the sample program is as shown
6. 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 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 presents information that is necessary information for using the TM Intelligent The TM Intelligent series in this manual is a generic term for the TM DT series and TM i series The TM DT series in this manual is a generic term for the following printers e TM T88V DT e TM T7OII DT e TM H6000IV DT The TM i series in this manual is a generic term for the following printers e TM T88V i s TM T70 i e TM T82ll i s TM L90 i Manual Content The manual is made up of the following sections Chapter 1 Overview Chapter 2 Sample Program Chapter 3 Request and Response Chapter 4 Status Notification Contents BE FOr Sate y ESTE T A A S O E E A E E T 3 Key TOS YMDOIS in ARE E E AA Ta 3 ME Restriction Of Use m es anne 3 E About this Manudil es een ie 4 Aim ofthe Manual it A ad Ro eae AAA A 4 Manual Contrario FREIE IFEHFEFEFOERRGFRAFPERFERTHERERFFRREFEREFERRFORERRFFRTERFREFRTERTEFTREFFERRFEFEBERFERROER 4 BE COMPSON iii ii stance iis dev etext 5 OVGEIVIOW nee
7. Digest Access Authentication This section describes the flow and settings for carrying out Digest access authentication with the web server Web Server 3 HTTP request containing a user ID and password Print request Printing Result 3 1 Server process acne HTTP Response Print request Printing Result For Digest access authentication the printer sends a dummy HTTP request before sending a print related request to the server The server returns a response with HTTP status code 401 Unauthorized The printer sends a print related request containing the user ID and password The server carries out the Digest access authentication process Once authenticatea the server continues to carry out the print related process Digest Access Authentication Settings Digest access authentication requires settings for the TM intelligence printer and the server TM Intelligent Printer Use EPSON TMNet WebConfig of TM i TM DT to set your user ID and password required for Digest access authentication Server Direct Print Enable Disable Intervals 5 For details see Server Direct Print Settings for individual TM intelligent printers Mii p 27 TM DT p 34 Web Server Settings For detailed information on how to set Web server s Digest access authentication see individual Web server documents etc 51 Program Example 52 See the following programming data file name
8. TMFLogo e TM T88IV e TM T70 i TM T70 e TM U220 Download For customers in North America go to the following web site http 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 13 TM DT Version 14 The functions that can be implemented vary with the TM DT software version ePOS device Version of the TM DT If you update the ePOS Device you will be able to use Server Direct Print s new functions Confirming the ePOS Device version You can confirm the version of the ePOS Device on the EPSON TMNet WebConfig title bar EPSON TMNet WebConfig Yersionz 50 Windows Inte UZ Q a http localhost webconfig lt TMNet n WebConfig Downloading the ePOS Device update program Download the following file from the Epson website and save it in your local environment e File name ePOS Device System Update Package For more information about the update method refer to the Readme file in the ePOS Device update package The ePOS Device cannot be rolled back to an earlier version TM i Version Chapter 1 Overview The functions that can be implemented vary with the TM i firmware version Inquire with your dealer concerning updates for the TM i firmware Confirming the TM i firmware version You can confirm the version of the ePOS Device on the EPSON TMNet WebCon
9. code3 hri none font font_a width 2 height 60 gt 0001 lt barcode gt lt feed unit 30 gt lt text align left gt lt text gt 0001 lt text gt lt text gt 03 19 2013 13 53 15 lt text gt lt ePOSPrint gt tag lt text reverse true gt lt text gt Kitchen lt text gt lt text reverse false gt lt text gt lt text gt New Order lt text gt lt text gt lt text gt lt text width 1 height 2 gt lt text gt Seat lt text gt lt text width 2 height 2 gt lt text gt A 3 lt text gt lt text width 1 height 1 gt lt text gt lt text gt lt text width 2 height 2 gt lt text gt 2 lt text gt lt text width 1 height 2 gt lt text gt Alt Beer lt text gt lt text width 1 height 1 gt lt text gt lt text gt lt cut type feed gt lt text rotate false gt lt epos print gt lt PrintData gt lt ePOSPrint gt lt PrintRequestinfo gt 47 Request Printing Result 48 TM intelligent printer sends a HTTP POST request printing result shown below after printing E re 4 Ld I 2 1 Create XML from a database or other system 3 Create print data 4 Print 5 HTTP Request Printing Result 6 1 Register printing result to a database or other system 6 2 HTTP Response Printing Result The application can check the printing res
10. lt timeout gt Timeout time in milliseconds lt timeout gt lt Parameter gt Example lt Parameter gt lt devid gt local_printer lt devid gt lt timeout gt 10000 lt timeout gt lt Parameter gt 45 Print Data Describe the print data in the ePOS Print format and specify the data to the lt epos print gt tag For ePOS Print XML reference see Chapter 4 ePOS Print XML Reference in ePOS Print XML User s Manual included in the package HTTP 1 1 200 OK Header 4 Content Type text xml charset utf 8 Content Length xxx lt xml version 1 0 encoding utf 8 gt lt PrintRequestinfo gt lt ePOSPrint gt Specify the lt Parameter gt device ID lt devid gt local_printer lt devid gt lt timeout gt 10000 lt timeout gt lt Parameter gt lt PrintData gt lt epos print xmins http www epson pos com schemas 2011 03 epos print gt lt text lang en gt lt textsmooth true gt lt text align center gt lt text font font_b gt lt ePOSPrint gt tag lt text width 2 height 2 gt lt text reverse false ul false em true color color_1 gt lt text gt DELIVERY TICKET lt text gt lt feed unit 12 gt lt text gt lt text gt lt text align left gt lt text font font_a gt lt text width 1 height 1 gt lt text reverse false ul false em false color color_1 gt lt text gt Order 0001 lt text gt lt t
11. Print to check if the registered printer operates properly 25 IM i firmware ver 4 0 or later Use the following procedure for registration G3 PILLE S WebConfig ELSON Information A Web Service Settings Device Admin Device Registration General Printer K General System Settings Wired gt o _ gt Wireless _ICPAP N TM L90 y a gt gt Time CT H Web Service Settings 4 vice Admin vice Registration 6 FAA Check Device ID Model IP Address Retry Interval ms Test Prin b_Serial Communication C tocal_printer TM T88V i Local printer an Test Print Search Printer TRS Delete Web Contents _Update Settings Server Access gt _Direct Print gt _Status Notification Start the setup Computer ah Connect all TM printers to the network and power on N Start the Web browser on the setup computer and enter as follows http 1P address of the TM i PrinterConfigurationPage For details about the IP address settings for TM i see IP Address Settings p 23 Es EPSON TMNet WebConfig starts Select Web Service Settings Printer A The Printer screen appears Configure the following items click Add al Description Device ID Set the ID for the controlled printer Any character string Model Select the model for the controlled printer IP Address Set the printer IP address for ea
12. System Settings 7 xx_ _ _ICPAP Proxy URL and Port Wireless N A b_TCPAP Se Password OP A dieg Enable Proxy for following services System Settings 2 2 Automatic Update CEnable 9 Disable Network a m Wired Direct Print OEnable 9 Disable Wired Status Notification OEnable Disable gt _TCPIP Wireless k K Wireless Apply gt _TCPIP Security _Authenticate Server 6 Proxy b Proxy Time 7 The Proxy screen appears Set the following items then click Apply A AE EAN Enter the proxy server URL and port number in the following Proxy URL and Port Number http host name port number Example http 10 0 0 1 8008 ID Registers the proxy authentication ID Password Registers the proxyauthentication password Automatic Sets whether the proxy is used for automatic update of Update Web contents a en Print Sets whether the proxy is used for Server Direct Print atus Notiication Sets whether the proxy is used for Status Notification Chapter 2 Sample Program TM DT Settings Configure the following settings to TM DT A Initial OS Settings p 31 A Initializing the ePOS Device p 32 I IP Address Settings p 33 I Service Startup Settings p 34 U Server Direct Print Settings p 35 I Registration of TM Printer p 37 Initial OS Settings This section describes the procedure for making OS settings when the TM DT is turned on
13. Test_print php lt php header Content Type text xml charset UTF 8 define REQUEST_XML_PATH demo request sample xml define RESPONSE_XML_PATH demo response sample xml if isset _POST ConnectionType Shttp_request _POST ConnectionType if Shttp_request GetRequest send print data ID Sshop_id _POST ID create print data if file_exists REQUEST_XML_PATH return print data Shandle fopen REQUEST_XML_PATH r fpassthru handle fclose Shandle move file rename REQUEST_XML_PATH RESPONSE_XML_ PATH else if Shttp_request SetResponse get print result xml simplexml_load_string _POST ResponseFile if count xml gt response 0 save log Sfhandle fopen ResultPrint log wt foreach xml gt response as response fprintf Sfhandle success s ncode s n Sresponse success response code fclose fhandle else Ignore other connectionType than GetRequest and SetResponse Chapter 4 Status Notification Status Notification This chapter describes the Status Notification function Overview Status Notification is used to periodically notify the TM intelligent printer status to the Web server The Web server automatically responds with an empty response Operating the printer management application created by the user with the Web server enables grasp of the stat
14. below 1 Router Settings Set information such as SSID IP address DHCP and allocated IP address For details see the manual for each device 2 Web Server Settings 1 Web Server Configuration Configure IIS and XAMPP in the computer 2 Sample Program Configuration p 21 Save the sample program files in the computer 3 Network Settings Configure the network settings such as IP address to the computer 3 1M Printer Network Settings p 22 Set an IP address to the TM printer to be connected 20 Chapter 2 Sample Program A TM Intelligent Printer Settings T TMi p 23 e IP Address Setting e Register the TM Printers Device ID IP Address e Server authentication setting set this as necessary e Proxy server setting set this as necessary e Server Direct Print Setting TM i firmware ver 4 0 or later A TM DT p 31 e Initial OS Settings e Initializing the ePOS Device e IP Address Setting Service Startup Settings Server Direct Print Setting Register the TM Printers Device ID IP Address sample Program Configuration Save the sample program files to the Web server Save the files directly under the following folders IIS inetpub wwwroot Test_print php demo index html XAMPP xampp htdocs sample xml Expansion of epsonsample_eposprint zip 21 TM Printer Network Settings Configure the network settings such as IP address from the Web brows
15. for the first time A display and keyboard are required to set up the OS AN Connect the display when the power to the TM DT is off Connecting the display when the power is on could cause the display to not function correctly This section describes details for Windows Embedded POS Ready 2009 If you are using a Q different OS substitute the name of the OS as appropriate A Make sure the power to the TM DT is off and then connect the display and keyboard When the power to the TM DT is turned on for the first time the Windows Embedded POS Ready 2009 Setup screen is displayed briefly The logon screen is displayed Enter your user name and password Refer to the TM DT Technical Reference Guide for details about initial settings The desktop for the OS is displayed Select Start Control Panel Clock Language and Region Date and Time Set the date time and time zone h M N 31 32 Initializing the ePOS Device Use the shortcut on the desktop to enable the ePOS Device Enabled is set in the default factory settings Enabling the ePOS Device Select the ePOS Device Enabled shortcut on the desktop Chapter 2 Sample Program IP Address Settings Set an IP address This setting is the same as for Windows computers Use the following procedure e Setting in Windows e Setting in EPSON TMNet WebConfig TM DT software ver 2 x or later e Setting in EPSONNet Config TM DT software
16. http www epson pos com schemas 2011 03 epos print success false code EX_BADPORT status 1 battery 0 gt lt PrintResponselnfo gt 49 Error code Request Error This occurs when the device has a problem The following table shows errors that can occur EPTR_AUTOMATICAL An automatically recoverable error occurred e Continuous printing of high density printing EPTR_COVER_OPEN The device has a problem The cover is open EPTR_CUTTER The device has a problem The cutter has a foreign matter EPTR_MECHANICAL The device has a problem Mechanical error etc EPTR_REC_EMPTY There is no paper No paper EPTR_UNRECOVERABLE An unrecoverable error occurred Low voltage The port is invalid or the device is not connected s The registered information is invalid e The device power is off EX_BADPORT Fide a e The device is not connected e Other device control software exists on the system Timeout occurred e The process was not completed within a certain period of time EX_TIMEOUT e Alarge amount of data was sent with 1 method Response Printing Result The format of response message is XMLCtext xml To indicate that the server received the printing result the Web server returns a response as follows HTTP 1 1 200 OK Content Type text xml charset utf 8 Content Length 0 50 Chapter 3 Request and Response
17. is 192 168 192 168 If you are making settings from an external device set the TM DT IP address in the A http IP address of TM DT webconfig 2 Select as Settings Web service settings Startup settings The Startup settings screen appears 3 Set the following according to the system you are using and then click Apply a ts whether t TM DT T trol ipheral Device control en x an Sale On Default POS devices Automatic update of Sets whether to automatically update web off web content content Server direct print Sets whether to use server direct print On S Sets IIS to sene status poitcaion when using On Off the server direct print function Chapter 2 Sample Program Server Direct Print Settings Configure the Server Direct Print settings using EPSON TMNet WebConfig EPSON TMNet WebConfig Yersion Windows Internet Explorer Oore File Edit View Favorites Tools Help e 4 x De Live Search ttp localhost webconfig y Favorites GS EPSON TMNet WebConfig Versions ll lt TMNet WebConfig Information a Web service settings Server direct print b Current status System settings Db Network bh Date and time Server direct print Web service settings Startup settings gt Startup settings URL Acestes Device Admin Interval sac 5 Device registration bins b Customer display b Key input device Ober Control s
18. is properly finished by analyzing a HTTP POST request print request from the printer Request Print Request This section describes the request print request from the TM i TM Intelligent Printer Web Server 1 1 HTTP Request Print request 1 2 1 Create XML from a lt database or other system TM intelligent printer periodically sends a HTTP POST request print request shown below The format of request message is URL encoded form data application x www form urlencoded Set the sending destination and sending interval according to Server Direct Print Settings p 27 Parameter Value ConnectionType GetRequest ID The ID set with WebConfig p 27 POST demo Test_print php HTTP 1 1 Host 192 168 192 10 Content Type application x www form urlencoded Content Length 29 Header ConnectionType GetRequest amp ID 41 Response Print request This section describes the response print request containing the print data from the Web server gt Web Server 2 1 Create XML from a database or other system The application responds by creating response data as shown below This data contains print data The format of response message is XML text xm HTTP 1 1 200 OK Content Type text xml charset utf 8 Content Length xxx lt xml version 1 0 encoding utf 8 gt lt PrintRequestinfo gt lt ePOSPrin
19. text align left gt lt text gt 0001 lt text gt lt text gt 03 19 2013 13 53 15 lt text gt lt text reverse true gt lt text gt Kitchen lt text gt lt text reverse false gt lt text gt lt text gt New Order lt text gt lt text gt lt text gt lt text width 1 height 2 gt lt text gt Seat lt text gt lt text width 2 height 2 gt lt text gt A 3 lt text gt lt text width 1 height 1 gt lt text gt lt text gt lt text width 2 height 2 gt lt text gt 2 lt text gt lt text width 1 height 2 gt lt text gt Alt Beer lt text gt lt text width 1 height 1 gt lt text gt lt text gt lt cut type feed gt lt text rotate false gt lt epos print gt lt PrintData gt lt ePOSPrint gt lt PrintRequestinfo gt Chapter 3 Request and Response Response When No Printing Is Performed When no printing is required to notify no print data the following response is returned for a HTTP request print request sent from the TM intelligent printer See Test_print php of the sample program HTTP 1 1 200 OK Content Type text xml charset utf 8 Content Length O About Response Message A response message consists of a header and lt ePOSPrint gt tags lt Parameter gt tag Set the lt Parameter gt tag as shown below lt Parameter gt lt devid gt Device ID used for slip printing lt devid gt
20. ver 2 x or later Setting in Windows Click Start Control Panel View network status and tasks and make a Network connection Right click the connection you want to set and then select the connection properties Setting in EPSON TMNet WebConfig You can make these settings via a network from the computer you want to set You can set an IP address even if a display is not connected to TM DT Use the following procedure Start EPSON TMNet WebConfig from the shortcut on the desktop EPSON TMNet WebConfig starts address for the Web browser The default IP address for TM DT is 192 168 192 168 If you are making settings from an external device set the TM DT IP address in the A http IP address of TM DT webconfig Select as Settings System settings Wired LAN TCP IP The TCP IP Setting Wired screen appears EPSON TMNet WebConfig Version Windows Internet Explorer go http localhost webconfig vl ite X Be Live Search File Edit View Favorites Tools Help w Favorites EPSON TMNet WebConfig versioni TMNet WebConfig Web service settings System settings Network TCP IP Setting Wired Wired LAN IRE Item Set value Wireless LAN Get IP Address Manual a b_ Wireless LAN IRTE TP address 192 168 11 190 E Subnet Mask 255 255 255 0 D SSL 9 4 c 1 1 Date and time Det Gateway 92 168 11 1 D Time settin A Acquire DNS Server Address Automa
21. 0 encoding utf 8 gt lt statusmonitor Version 1 00 gt lt printerstatus devicename kitchen_printer asbstatus 0x00000001 gt Obtain the ASB status lt printerstatus devicename kitchen_printer2 asbstatus 0x00000001 gt lt printerstatus devicename local_printer asbstatus OXOFO0003C gt lt statusmonitor gt Response The format of response message is XML text xml To indicate that the server received the status notification the Web server returns a response as follows HTTP 1 1 200 OK Content Type text xml charset utf 8 Content Length 0 Digest Access Authentication Digest access authentication can be used for the status notification See Digest Access Authentication 0 51 63 64
22. EPSON EXCEED YOUR VISION Server Direct Print User s Manual Overview Describes the operating environment and system configuration of Server Direct Print Sample Program Describes how to use the sample program and how to configure the system Request and Response Describes the requests and responses of Server Direct Print Status Notification Describes the Status Notification function M00062904 Rev E Cautions No part of this document may be reproduced 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 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 the U S failure to strictly comply with Seiko Epson Cor
23. HERGERGESERICHEFFECTEHEFERSEETTEEETEREFLER 31 laine a es lale TTT 31 Initializing the ePOS DEVIC iiss hws a a AA an 32 IPAddress SSI ici arten mn poe ia Ae acute 33 Service LST E U ae LT 34 server Direct Print n lae iia da edad 35 Registration OIM a len ie ong Re mae 37 E Execution of Sample Program u 4420u444400nnnnnannnnnnnnnnnnnannnnnnnnnnnnnnnnnnnnannnnnnnnnnnnnnnnnnanen 39 Request and Response Heeres 41 R Request Print Requesh cccccccccccocconcononanaanonononcncnonononnnnnnnnnnnnnnnnnnn nano cnn nn cnn cnc nnncnnenannnnn 41 E Response Print TEquest coin accedan dale dada dni 42 Response When No Printing Is Performed sees 45 About RESPONSE MOSSA GSi ini re En do NAAA 45 E Request Printing Result ooo di 48 EIS code ida 50 Response Printing RESUID is nr sites keinen lisa 50 E Digest Access Authentication iciciisiisisiccccis nadie tangas grada 51 Digest Access Authentication Settings sees 5 L Program is Tais coins de 52 Status NOTING e le 53 ME OVOIVIOW iii ETOT TT 53 R Overview of Status Notification Sample Program sss sese esse sse ees see eesee eser eser enner 54 TM Intelligent Printer Serina sees eee eee eee 54 Ex cution Of Sample Program ia ae E A E A EEA CEGE aire cna nace 59 E Status Type oh antl hase nein in ee a en he 60 E Request and Response ivi iii asin inva avidin 63 REQUEST weet A o E dead 63 Neelo E E A aT A HR H HT 63 Digest Access Authentication eeee
24. b service settings Printer The Printer screen appears 37 38 3 Set the following items and click Ada Description Device ID Set the ID for the controlled printer Any character string Model no Select the model for the controlled printer IP address Set the printer IP address for each device ID p 22 Retry interval ms Set the timeout retry interval Specify 100 The information of the registered device is displayed in Registered printers Click Test Print to check if the registered printer operates properly Chapter 2 Sample Program Execution of Sample Program Q AQ N Using EPSON TMNet WebConfig confirm that Server Direct Print settings are valid Open the sample program page from the Web browser Example http IP address of the Web server demo index html Click Order Entry In response to a request from the TM intelligent printer print data is sent and a slip is printed from the printer resultPrint log is created from the printing result sent from the TM intelligent printer and the printing result is displayed on the screen 39 40 Chapter 3 Request and Response Request and Response This chapter describes requests from the TM intelligent printer and responses from the Web server User s application can start printing by returning a response containing print data to a HTTP POST request print request from the printer It can also check if printing
25. ch device ID p 23 Set the timeout retry interval Retry Interval ms l Specify 100 The information of the registered device is displayed in Registered printers Click Test Print to check if the registered printer operates properly Chapter 2 Sample Program Server Direct Print Settings Configure the Server Direct Print settings using EPSON TMNet WebConfig IM i firmware ver 3 x or earlier r EPSON TMNet WebConfig Version SEBEI Windows Internet Explorer Bia G o lZ atas 2 41 x E ans PE ie Favorites EPSON TMNet WebConfig Version sii ss TMNet WebConfig Configuration Server Direct Print Setting General TCP IP j 3 5 Wireless Server Direct Print Enable Disable TCP IP l Web Contents D Time f Password Network URL Wired Intervals 8 TCPAP Wireless TCP IP ER OB l 4 Gee Print Status Notification Option Administrator Use the following procedure for registration A Start the setup Computer 2 Connect the TM i to the network and turn the power ON 3 Start the Web browser on the setup computer and enter as follows http IP address of the TM i PrinterConfigurationPage For details about the IP address settings for TM i see IP Address Settings 0 23 4 EPSON TMNet WebConfig starts Select as Direct Print 27 28 The Server Direct Print Setting scr
26. ct the Enable Set ID for the server side program to identify TM i This ID becomes the user ID ID used for Digest access authentication The set value will also be passed as an ID parameter value for the form data posted to the server Not required for the sample program Set your password used for Digest access authentication Password Not required for the sample program Specify the Test_print php address of the Web server URL Example http IP address of the Web Server Test_status php Click the Access Test button to check if the address is accessible Interval s Set the request interval Authenticate Sets whether the server authentication is performed with the registered Server certificate when accessed through https Chapter 4 Status Notification TM DT Settings Configure the Status Notification settings using EPSON TMNet WebConfig EPSON TMNet WebConfig Version Windows Internet Explorer Go http localhost webconfig vs x du Live Search File Edit View Favorites Tools Help we Favorites EPSON TMNet WebConfig Yersion lt TMNet WebConfig Information a Web service settings gt Current status System settings States notification gt Network gt Date and time Item Set value D Web service settings Password Startup settings A Startup settings URL Asse Device Admin Interval sec 5 Device registration gt P
27. dress of the Web server URL Example http IP address of the Web Server Test_status php Click the Access Test button to check if the address is accessible Interval s Set the request interval TM i firmware ver 4 0 or later S sea AO 3 IS http ebco D e e son TMNet WebConfi A Web Service Settings Server Access General Status Notification b General System Settings 5 _ICPAP Wireless Pamei me m gt Web Contents K Time JRI Access Test a 5 Web Service Settings Authenticate Server OEnable Disable Device Admin Device Registration Printer Apply _Customer Display z y b_Key Input Device gt _Serial Communication C Search Printer gt _Search Web Contents _Update Settings Server Access 4 gt _Direct Print gt _Status Notification Start the setup Computer Connect the printer to the network and turn the power ON N Start the Web browser on the setup computer and enter as follows http IP address of the TM i PrinterConfigurationPage For details about the IP address settings for TM i see IP Address Settings 0 23 Go 55 56 EPSON TMNet WebConfig starts Select Web Service Settings Status Notification The Status Notification screen appears Set the following items and click Submit Description Status Notification Sele
28. e roll paper near end detector 0x00080000 No paper in the roll paper end detector 0x01000000 Buzzer activated supported model only 0x80000000 Stop the spooler Chapter 4 Status Notification Program Example Refer to the programming below File name Test_status php lt php header Content Type text xml charset UTF 8 Open the file to save status Sfhandle fopen ResultStatus log wt Update the printer status if isset _POST Status Sstatus _POST Status xml simplexml_load_string status foreach xml gt printerstatus as printerstatus Sasb hexdec printerstatus asbstatus Sstrmsg if asb amp 0x00000001 0x00000001 Sstrmsg No TM printer response n if asb amp 0x00000002 0x00000002 Sstrmsg Print completed n if asb amp 0x00000004 0x00000004 Sstrmsg Status of the drawer kick number 3 connector pin n if asb amp 0x00000008 0x00000008 Sstrmsg Offline status In 7 if asb amp 0x00000020 0x00000020 Sstrmsg Cover is open n if asb amp 0x00000040 0x00000040 Sstrmsg During paper feeding by pressing paper feed switch In if asb amp 0x00000100 0x00000100 Sstrmsg Waiting for online recovery n if asb amp 0x00000200 0x00000200 Sstrmsg Paper feed switch is being pressed ON n if asb amp 0x00000400 0x00000400
29. een appears Set the following items and click Submit Server Direct Print Select the Enable Set ID for the server side program to identify TM i This ID becomes the user ID used for Digest access authentication The set value ID will also be passed as an ID parameter value for the form data posted to the server Not required for the sample program Set your password used for Digest access authentication Password Not required for the sample program Specify the Test_print php address of the Web server URL Example http IP address of Web server Test_print php Click the Access Test button to check if the address is accessible Interval s Set the request interval TM i firmware ver 4 0 or later Chapter 2 Sample Program Use the following procedure for registration QO N General gt General System Settings 5 Wireless _ICPAP K Web Contents Time Configuration Web Service Settings Device Admin Device Registration b_Printer _Customer Display b_Key Input Device gt _Serial Communication C Search Printer b_Search Web Contents _Update Settings 4 Server Access b_Direct Print _Status Notification Direct Print IO me sf bem PE Interval s a I Interval s 5 C Start the setup computer A Web Service Settings Server Access Access Test 5 5 Apply
30. er on the setup PC to the printer using EPSON TMNet WebConfig 22 A Be sure to set the TM printer network settings for each TM printer 8 p A u 2 E EPSON TMNet WebCorfi x TCP IP Setting EEN Get IP Address Manual Y Information Set using Automatic Private IP Addressing APIPA Disable V Set using PING Disable v IP Address Subnet Mask Default Gateway Configuration Socket Timeout Value 300 Configure the settings according to the following procedure vn O a A Start the setup Computer Connect the printer to the network and turn the power ON Start the Web browser and type the URL of the TM printer interface into the address bar Enter the password http IP address of the TM printer PrinterConfigurationPage The default ID address of TM printer is 192 168 192 168 Q The login name for the TM printer is epson and the default password is epson EPSON TMNet WebConfig starts Select as Configuration Network TCP IP The TCP IP Setting screen appears Configure the network settings for the TM printer and click SUBMIT Print the status sheet with the TM printer to confirm that the IP address is updated and turn off the TM printer Repeat Step 2 to 6 for all TM printers Chapter 2 Sample Program TM i Settings Configure the following
31. eript b Ad delete Web content b Update settings gt Server access b Direct print b Status notification mi A Start EPSON TMNet WebConfig from the shortcut on the desktop EPSON TMNet WebConfig starts If you are making settings from an external device set the TM DT IP address in the 3 address for the Web browser The default IP address for TM DT is 192 168 192 168 http IP address of TM DT webconfig 2 Select as Settings Web service settings Direct print The Server direct print screen appears 35 36 3 Set the following items and click OK Description Set ID for the server side program to identify TM DT This ID becomes the user ID used for Digest access authentication The set value will also be passed as an ID parameter value for the form data posted to the server Not required for the sample program Password Set your password used for Digest access authentication Not required for the sample program URL Specify the Test_print php address of the Web server Example http IP address of Web server Test_print php Click the Access Test button to check if the address is accessible Intercal sec Set the request interval Chapter 2 Sample Program Registration of TM Printer Register the device ID and IP address of the controlled TM printer to TM DT Use EPSON TMNet WebConfig to register the device ID This pri
32. ext width 1 height 1 gt lt text reverse false ul false em false color color_1 gt lt text gt Time Mar 19 2013 13 53 15 lt text gt lt text gt Seat A 3 lt text gt lt text gt lt text gt lt text width 1 height 1 gt lt text reverse false ul false em false color color_1 gt lt text gt Alt Beer lt text gt lt text gt 6 00 x 2 lt text gt lt text x 384 gt lt text gt 12 00 lt text gt lt text gt lt text gt lt text reverse false ul false em true gt lt text width 2 height 1 gt lt text gt TOTAL lt text gt lt text x 264 gt lt text gt 12 00 lt text gt lt text reverse false ul false em false gt lt text width 1 height 1 gt lt feed unit 12 gt lt text align center gt lt barcode type code39 hri none font font_a width 2 height 60 gt 0001 lt barcode gt lt feed line 3 gt lt cut type feed gt lt epos print gt lt PrintData gt Chapter 3 Request and Response lt ePOSPrint gt lt ePOSPrint gt lt Parameter gt lt devid gt kitchen_printer lt devid gt lt timeout gt 10000 lt timeout gt lt Parameter gt lt PrintData gt lt epos print xmins http www epson pos com schemas 2011 03 epos print gt lt text lang en gt lt text smooth true gt lt text rotate true gt lt text align center gt lt barcode type
33. fig title bar Make sure that this printer is ready to print the paper is set and the power is turned on and hold down the push button at the rear of this printer for at least 3 seconds before releasing it TM i firmware ver 4 0 or later TM i firmware ver 3 x or earlier pook EPSON Status Sheet pook lt General Information gt Firmware X XX ePOS Device X XX Model TM T88V i Time Firmware TM i Firmware Version is printed under lt General Information gt EELEE EEEk EPSON Status Sheet ELELEE k lt General Information gt Software X XX Model TM T88V i Time yyyy mm dd hh nn ss GMT hh nn Software TM i Firmware Version is printed under lt General Information 15 Restriction 16 a If power is restored the device or the cover is open during printing printing may not occur properly 1 To turn the device power off and on be sure to allow an interval of five seconds or more between power a off and on Use a switching hub to connect the device If no switching hubs are used the device in online status is more likely to be judged as offline depending on the traffic condition Drawer open operates when the TM intelligent printer is in online status when the roll paper is loaded and the roll paper cover is closed If you are using a TM i firmware version 3 0 or later TM DT firmware version 2 2 or later if you designate forced transm
34. ission mode with ePOS Print XML it will operate offline When the specified timeout time has passed after printing starts the printing is canceled but the data recognized by the printer before print cancelling process starts is printed Chapter 2 Sample Program sample Program This chapter describes how to use the sample program for Server Direct Print e In this chapter a system configuration using a Web server is explained as an example Q In this chapter the Web server is described as a Web server configured with IIS Microsoft Internet Information Services When using other environment interpret the descriptions accordingly Overview Use the sample program screen to enter orders The Web server sends a response containing print data for a request sent from the TM intelligent printer The TM intelligent printer uses the returned response data to print a delivery slip to the main unit and two pieces of cooking slip to the TM printer The print results appear on the screen ServerDirectPrint Windows Internet Explorer Y K l ENS SESE PE E 0O B hip 78 BE Es demo index html Sie Favorites 88 E ServerDirectPrint x a Server Direct Print Order Entry Print Result success true code success true code 17 Hardware Configuration The system configuration of the sample program is as shown below
35. make 7 R Overview of Server Direct Print urs4444444444nnBnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnannnnnnn 7 Printing POGES Sien ars ner binnen nn ii 9 R Overview of Status Noltification uur 240unsnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnannnnnnnnnnnnnnnnnnnnanenn 10 E Operating ENVIO MENE naeh sove 11 How to Access the Web server sese 11 Number of URLs accessible for Server Direct Print sss eee 11 TM Intelllgent Printer 2 0 8 aan a AAA DENT 12 AE ess sav T THT 12 E Contents In the POCkaOJDE wi ia yb eak uaw enata han 13 MOU ainia aia a a ad nr anne AAA nate 13 SAMPpleS PTODMA TTT 13 Ulla a AA AS A AA 13 DOWN rasa crea R oe NEAR acti 13 BB TM DI VOrSiOM iia iii 14 MBS TIM i VOTSION uti 15 E Re a U 16 Sample eee l TT 17 l eT 17 sele o ARO SA rennen nennenswerten era erahnen iaai iniii 18 File COMIGQUIGTION seinen nn en nn an niin nie aie EA 18 Salai ara Ve A TTT T 19 Program FlIOW TTT 19 E Environment Setlings 22er sehn 20 E Sample Program Configuration z u44444044440nnnnnnnnnnnnnannnnnnnnnnnnnnnnnnnnannnnnnnnnnnnnnnnnnnannnn 21 E TM Printer Network Settings sese sseee sss sees essere seer ese serene enen nenen 22 L RISE 310 Te cio ici TT 23 IAEA lae rs ee danse tales cases 23 Registration TM Printer ran E UE et ER 24 Server Direct Print Settings sese eee 27 BL N 6 E 110 s IORRPRRRERRORSSRRCREETROPFREFRRFEFEERSEERIHEFERRPEBEFFRPENELEBEEEESERREERFE
36. nter is already registered with the local_printer device ID and therefore this setting is not required EPSON TMNet WebConfig Version Windows Internet Explorer Go http localhost webconfia pe 4 x da Live Search File Edit View Favorites Tools Help 57 Favorites EPSON TMNet WebConfig Version iris gt Current status System settings Printer to be registered gt Network 3 b Date and time Ttem Set value Device ID Web service settings Type Network printer Local printer Startup setting Model no TM TESV E gt Startup settings TP address 2 Device Admin Device registration Retry interval 100 a b Printer b Customer display Add b Kev input device D Serial comemnication devic b Omer 4 Control script S b Ade delete Registered printers DericeID Model no IP address Retry interval ms Web content gt Update settings toccal_printer TM TTONDT Local printer 100 Test printing Sarwar arraro Use the following procedure for registration A Start EPSON TMNet WebConfig from the shortcut on the desktop EPSON TMNet WebConfig starts address for the Web browser The default IP address for TM DT is 192 168 192 168 If you are making settings from an external device set the TM DT IP address in the Q http IP address of TM DT webconfig Select as Settings We
37. ot be deleted from the device NM The device ID of TM i printer can be changed IM i firmware ver 3 x or earlier 3 lle http MM al l PrinterConfigurationPage E ie Favorites EPSON TMNet WebConfig Version 3 00WW Be TE Bing Pr ss TMNet WebConfig IP Address Network Retry Int 100 Wired BEAT Check Device ID Model IP Address Retry Interval ms Test Print Option local_printer TM T70 i Local printer 100 Administrator Time Te i Delete Use the following procedure for registration A Start the setup Computer 2 Connect all TM printers to the network and power on 3 Start the Web browser on the setup Computer and enter as follows http IP address of the TM i PrinterConfigurationPage For details about the IP address settings for TM i see IP Address Settings 0 23 4 EPSON TMNet WebConfig starts Select as Device Chapter 2 Sample Program The Device Settings screen appears Set the following items and click Submit Device ID Set the ID for the controlled printer Any character string Model Select the model for the controlled printer IP Address Set the printer IP address for each device ID p 22 Set the timeout retry interval Retry Interval ms Specify 100 The information of the registered device is displayed in Device List Click Test
38. poration s operating and maintenance instructions 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 and EXCEED YOUR VISION 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 Safari and TrueType are either registered trademarks or trademarks of Apple Inc in the United States and other countries Seiko Epson Corporation 2013 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 2 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
39. r 7 EPSON TMNet WebConfig Version MER Windows Internet Explorer ENS G 3 l e http PrinterConfigurationPage IS G x Ia Bing Pr iy Favorites EPSON TMNet WebConfig Version Sill Mr ET Status Notification Setting General Wired ICPAP 5 E c Wireless Status Notification Enable Disable TCP IP We ent ID Time Password Configuration Network URL Access Test Wied Interval s 5 TCP IP Wireless h er TCPAP Device Search Web Contents 4 Direct Pri Status Notification Option Administrator Time Use the following procedure for registration A Start the setup Computer 2 Connect the printer to the network and turn the power ON 3 Start the Web browser on the setup computer and enter the IP address of TM i set in IP Address Settings p 23 54 Chapter 4 Status Notification 4 EPSON TMNet WebConfig starts Select Status Notification 5 The Status Notification Settings screen appears Set the following items and click Submit Description Status Notification Select the Enable Set ID for the server side program to identify TM i This ID becomes the user ID ID used for Digest access authentication The set value will also be passed as an ID parameter value for the form data posted to the server Not required for the sample program Set your password used for Digest access authentication Password Not required for the sample program Specify the Test_print php ad
40. rinter gt Customer display b Kev input device _Serial communication device _Other Control seript h Ade delete Web content b Update settings Server accezz b Direct print D_Starus notification 1 l Use the following procedure for registration A Connect the TM DT to the network and turn the power ON 2 Start EPSON TMNet WebConfig from the shortcut on the desktop EPSON TMNet WebConfig starts address for the Web browser The default IP address for TM DT is 192 168 192 168 If you are making settings from an external device set the TM DT IP address in the YX http IP address of TM DT webconfig 3 Select as Settings Web service settings Status notification The Status notification screen appears 57 58 A Set the following items and click Apply Description Set ID for the server side program to identify TM DT This ID becomes the user ID used for Digest access authentication The set value will also be ID passed as an ID parameter value for the form data posted to the server Not required for the sample program Set your password used for Digest access authentication Password i Not required for the sample program Specify the Test_print php address of the Web server URL Example http IP address of the Web Server Test_status php Click the Access Test button to check if the address is accessible Interval sec Set the request interval
41. s Print LJ I I I I 5 HTTP Request Printing result database or other system 6 1 Register printing result to a Overview of Status Notification 10 Status Notification is the function used to periodically notify the printer status to the Web server The web server registers status from TM intelligent printer to database then responds with an empty response to TM intelligent printer Operating the printer management application created by the user with the Web server enables grasp of the status of the printers installed in a shop from a remote place gt TM Intelligent Printer Web Server 1 1 HTTP Request Status Information 1 2 Register the status to the database Operating Environment Chapter 1 Overview How to Access the Web server HS Proxy server 6 67 Proxy authentication A eo Digest authentication 67 e HTTPS communication eo e HTTPS communication with server authentication A o O Supported A Not supported 1 Available only for Web contents automatic updating 2 TM i firmware ver 4 0 or later 3 Available only for Server Direct Print and Status Notification 4 ePOS Device ver 2 2 or later Number of URLs accessible for Server Direct Print TM DT 1 f TM i firmware ver 4 0 or later TM i 3 TM i firmware ver 3 x or earlier 1 11
42. settings to TM i I IP Address Settings p 23 T Registration of TM Printer p 24 U Server Direct Print Settings p 27 IP Address Settings There are two ways of setting IP address of TM i e Automatic Setting Using DHCP e Manual Setting Using EPSON TMNet WebConfig Automatic Setting Using DHCP A Make sure the power of TM i is turned off and then connect it to the network 2 Turn on the TM i IP address is obtained automatically by DHCP 3 If automatic acquisition of IP address using DHCP successed the IP address is printed If automatic acquisition of IP address using DHCP fails the IP address is set to Q 192 168 192 168 Manual Setting Using EPSON TMNet WebConfig A Start the setup Computer 2 Connect all TM printers to the network and power on 3 Start the Web browser on the setup computer and enter as follows lt TM i Firmware ver 3 x or earlier gt http IP address of the TM i PrinterConfigurationPage lt TM i Firmware ver 4 0 or later gt http IP address of the TM i webconfig 4 EPSON TMNet WebConfig will start Make the network setting For detail refer to Technical Reference Guide of each TM i After making the setting click Apply 5 Print the TM i status sheet and check the network setting 23 24 Registration of TM Printer Register the device ID and IP address of the controlled TM printer to TM i Use EPSON TMNet WebConfig to register the device ID e TM i printer cann
43. smeeeereenennennernnnenennnennnnnennnenennnnnnnnenen nenne nennennennernenen sensor nennen 63 Chapter Overview Overview This chapter describes the overview of Server Direct Print and Status Notification Overview of Server Direct Print Server Direct Print function enables the TM intelligent printer TM i and TM DT to obtain the print data from the Web server and print the data TM intelligent printer can be used also for controllable printers in the network The TM intelligent printer can print to a TM printer in the network 1 Request 2 Response lt Data to be printed gt Web server Application 3 TM printer print data 1 2 TM Printer TM intelligent printer periodically sends a print request 1 in the figure above to the Web server The Web server application includes print data in the response 2 in the figure above to a print request from the TM intelligent printer When no print data exists the Web server returns an empty response If print data for the TM printer is included in a response the TM intelligent printer controls the TM printer in order to do the printing 3 in the figure above The print data can be printed in the ePOS Print XML format Upon receipt of a response of print data including print layout from the Web server application the TM intelligent printer converts the ePOS Print XML format into the print layout and prints it Difference from General Printing Sys
44. t gt lt ePOSPrint gt tag Print request 1 lt ePOSPrint gt lt ePOSPrint gt lt ePOSPrint gt tag Print request 2 j lt ePOSPrint gt lt PrintRequestinfo gt Note Enclosing the ePOSPrint tag in the PrintRequestinfo tags enables sending multiple print requests to the printer 42 Chapter 3 Request and Response The print data configuration is as follows HTTP 1 1 200 OK Header Content Type text xml charset utf 8 Content Length xxx lt xml version 1 0 encoding utf 8 gt lt PrintRequestinfo gt lt ePOSPrint gt lt Parameter gt pol 2 lt devid gt local_printer lt devid gt lt timeout gt 10000 lt timeout gt lt Parameter gt lt PrintData gt lt epos print xmins http www epson pos com schemas 2011 03 epos print gt lt text lang en gt lt textsmooth true gt lt text align center gt lt text font font_b gt lt ePOSPrint gt tag lt text width 2 height 2 gt lt text reverse false ul false em true color color_1 gt lt text gt DELIVERY TICKET lt text gt lt feed unit 12 gt lt text gt lt text gt lt text align left gt lt text font font_a gt lt text width 1 height 1 gt lt text reverse false ul false em false color color_1 gt lt text gt Order 0001 lt text gt lt text width 1 height 1 gt lt text reverse false ul false em false color color_1 gt l
45. t text gt Time Mar 19 2013 13 53 15 lt text gt lt text gt Seat A 3 lt text gt lt text gt lt text gt lt text width 1 height 1 gt lt text reverse false ul false em false color color_1 gt lt text gt Alt Beer lt text gt lt text gt 6 00 x 2 lt text gt lt text x 384 gt lt text gt 12 00 lt text gt lt text gt lt text gt lt text reverse false ul false em true gt lt text width 2 height 1 gt lt text gt TOTAL lt text gt lt text x 264 gt lt text gt 12 00 lt text gt lt text reverse false ul false em false gt lt text width 1 height 1 gt lt feed unit 12 gt lt text align center gt lt barcode type code3 hri none font font_a width 2 height 60 gt 0001 lt barcode gt lt feed line 3 gt lt cut type feed gt lt epos print gt lt PrintData gt lt ePOSPrint gt lt ePOSPrint gt lt Parameter gt lt devid gt kitchen_printer lt devid gt lt timeout gt 10000 lt timeout gt lt Parameter gt lt PrintData gt 43 44 lt ePOSPrint gt tag lt epos print xmins http www epson pos com schemas 2011 03 epos print gt lt text lang en gt lt text smooth true gt lt text rotate true gt lt text align center gt lt barcode type code39 hri none font font_a width 2 height 60 gt 0001 lt barcode gt lt feed unit 30 gt lt
46. tem In general printing systems the application sends a print instruction to the printer With Server Direct Print the printer sends an Inquiry of print request to the Web application and the Web application returns a response that has print data included in it Traditional Printing Server Direct Print Computer A Web Server Application Application Specifies a printer Global IP Address Print layout data TM Printer A Print data q TM Intelligent Printer Chapter Overview Printing Process TM intelligent printer asks the Web server whether data to be printed exists 2 When data to be printed exists the Web server application creates an XML format response containing the data to be printed and returns it to the TM intelligent printer When no data to be printed exists an empty response is returned LV TM intelligent printer prints the data to the specified printer TM intelligent printer sends a request printing result to check whether the data was printed properly A 5 Upon receipt of the printing result the application performs the required process The Web server automatically resoonds with an empty response The printing flow is as follows TM Intelligent Printer Web Server 1 1 HTTP Request Print request 1 gt 2 1 Create XML from a database or other system 2 2 HTTP Response Print request 3 Create print data Le
47. tically Power D Shutdown settings DNS Server Ad ress in order ofuse a 3 Make the other network settings and then click Apply Setting in EPSONNet Config To set an IP address for TM DT from an external device use EPSONNet Config You can set an IP address even if a display is not connected to TM DT For more information refer to the EPSONNet Config Operation Guide The default IP address for TM DT is 192 168 192 168 33 34 Service startup settings To make service startup settings use EPSON TMNet WebConfig and the following procedure EPSON TMNet WebConfig Yersion Windows Internet Explorer B S y J htp localhost webconfia yl ts Xx du Live Search File Edit View Favorites Tools Help 5x Favorites E EPSON TMNet WebConfig Yersior lt TMNet WebConfig em Lm u L Information Web service settings b Curent status System settings Web service function b Network b Date and time Ttem Set value Device control 6 On OF i C La Web service settings Automatic update of Web content Em e OF Startup settings Server direct print C 01 oz gt Startup settings Status notification On oF Device Admin Device registration gt Printer gt Customer display A Start EPSON TMNet WebConfig from the shortcut on the desktop EPSON TMNet WebConfig starts address for the Web browser The default IP address for TM DT
48. ult if printing is properly finished and the printer status by analyzing request data Parameter Value ConnectionType SetResponse ID The ID set with WebConfig p 27 ResponseFile Printing result Host 192 168 192 10 Content Length xxx POST demo Test_print php HTTP 1 1 Content Type application x www form urlencoded ConnectionType SetResponse amp ID amp ResponseFile Printing Result Check the lt response gt tag for the printing result lt xml version 1 0 encoding utf 8 gt lt PrintResponselnfo Version 1 00 gt Success lt response gt tag lt response xmins http www epson pos com schemas 2011 03 epos print success true code status 251854870 battery 0 gt Failed lt response xmins http www epson pos com schemas 2011 03 epos print success false code EX_BADPORT status 1 battery 0 gt lt PrintResponselnfo gt Chapter 3 Request and Response Checking Error Occurrence Check if the lt response gt tag indicates success or failed U tem description true Success false Failed On failure an error code is described in code For details see Error code p 50 lt PrintResponselnfo Version 1 00 gt Success lt response xmins http www epson pos com schemas 2011 03 epos print success true code status 251854870 battery 0 gt Failed lt response xmins
49. us of the printers installed in a shop from a remote place TM Intelligent Printer 1 1 HTTP Request Status Information 1 2 Register the status to the database 2 1 HTTP Response Status Information For TM DT enable the following settings in EPSON TMNet WebConfig NM ePOS Device p 32 Service startup settings p 34 e Device control p 37 Server direct print p 35 Status notification p 54 53 Overview of Status Notification Sample Program This program displays the status of the connected printer on the screen For the configuration such as Hardware Configuration p 18 and Environment Settings p 20 the same configuration is used as with the Server Direct Print p 18 File Configuration Description Test_status php Obtains and displays the result in response to a request from the printer resultPrint log The printing result is retained in this file The file is created after printing demo indexStatus html Displays the printer status TM Intelligent Printer Settings e TM i Settings p 54 The registration screen will vary according to the model of TM Intelligent printer A TM DT Settings p 57 TM i Settings TM i firmware ver 3 x or earlier Configure the Status Notification settings using EPSON TMNet WebConfig
Download Pdf Manuals
Related Search
Related Contents
Emerson ACE95 Data Sheet Canon PIXMA MX492 Getting Started Guide Blanco 157-040 User's Manual 33119 manual - printspreads.indd Panasonic CZ-RWSU1U Installation Manual Karuma PlayBase - Updating PlayBase Unit to 4.0 User's Manual LUPUSEC XT1 Handbuch - LUPUS Mode d`emploi testo 106 取扱説明書 - オットーボック・ジャパン Copyright © All rights reserved.
Failed to retrieve file