Epson TM-T20II-i Server Direct Print Users Manual for TM-i firmware ver.4.1
Epson TM-T20II-i Manual
View all Epson TM-T20II-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Epson TM-T20II-i manual content summary:
- Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 1
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 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 2
to this product, or (excluding the U.S.) failure to strictly comply with Seiko Epson Corporation'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 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 3
For Safety Key to Symbols The symbols in this manual are identified by their level of importance, as defined 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 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 4
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. TM-T88V-DT TM-T70II-DT TM-H6000IV-DT The TM-i series in this manual is a generic term - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 5
...9 ■ Overview of Status Notification 10 ■ Operating Environment ...11 How to Access the Web server ...11 Number of URLs accessible for Server Direct Print 11 TM Intelligent Printer...12 TM Printer...12 ■ Contents In the Package 13 Manual ...13 Sample Program ...13 Utility ...13 Download ...13 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 6
Access Authentication Settings 37 ■ Program Example...38 Status Notification 39 ■ Overview...39 ■ Overview of Status Notification Sample Program 40 TM Intelligent Printer Settings...40 Execution of Sample Program ...43 ■ Status Type ...44 ■ Request and Response ...47 Request...47 Response ...47 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 7
is set in the TM intelligent printer, print data can be printed from another printer when it cannot be printed from the printer. *1 *2 *1 : For TM-i Firmware Ver.4.1 or later of the TM-i series. Not supported by the TM-DT series. *2 : When forwarding is set in the TM intelligent printer. 7 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 8
printing systems, the application sends a print instruction to the printer. With Server Direct Print, the printer sends an Inquiry of print request to Computer Application Specifies a printer Print layout data TM Printer Print data Web Server Application Global IP Address TM Intelligent Printer 8 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 9
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. 3 TM intelligent printer prints the data to the specified printer. 1 4 TM intelligent printer sends a request (printing result) to check whether the data was - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 10
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 the status of the printers installed in a shop from a remote place. TM Intelligent Printer Web Server 1 : - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 11
Proxy authentication Digest authentication HTTPS communication HTTPS communication with server authentication TM-DT ✔*1 ✔*3 ✔*4 - ✔ : Supported, - : 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 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 12
-i TM Intelligent Printer TM-T88V-DT TM-T70II-DT TM-H6000IV-DT TM-T88V-i TM-T70-i TM-T20II-i TM-T82II-i TM-T83II-i TM-L90-i ePOS-Print ePOS-Device Ver.2.2 or later TM-i firmware Ver.3.0 or later For details about how to check the version of TM-i Firmware and of ePOS-Device, refer to the Technical - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 13
utility (TMFLogo) TM printer TM-T88V-DT, TM-T88V-i TM-T70II-DT TM-H6000IV-DT TM-T20II-i TM-T82II-i TM-T83II-i TM-L90-i TM-T70-i For the utility to register the NV logo to a printer other than the TM intelligent printer, refer to the Technical Reference Guide for each printer - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 14
power 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 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 15
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 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 16
Version 2.00 Specification of Version 2.00 is available in the TM-i Firmware Ver.4.1 or later. 16 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 17
[192.168.192.10] TM Intelligent Printer (TM-T88V-i) [192.168.192.20] Chapter 2 Sample Program 2 Router [192.168.192.1] TM Printer [192.168.192.21 print instruction and displays the printing result. (For Version 1.00) The data of response message. (For Version 1.00) Sends a print instruction and - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 18
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. 18 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 19
details, see the manual for each device. TM printer to be connected. Configure the network settings such as IP address to the printer by using EPSON TMNet WebConfig from a Web browser on the setup computer. For the configuration procedure, refer to the Technical Reference Guide for each TM printer - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 20
TM Intelligent Printer Settings ❏ TM-i (p. 21) IP Address Setting Server Direct Print Setting (Including Server authentication setting and Proxy server setting) Register the TM Printers (Device ID, IP Address) ❏ TM-DT a zip file, refer to the Technical Reference Guide for each printer. 20 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 21
Sample Program TM Intelligent Printer Settings TM-i Settings ❏ IP Address Setting : Refer to the Technical Reference Guide for each printer. ❏ Server Direct Print Setting : p. 21 Server authentication setting (TM-i Firmware Ver.4.0 or later, available) Proxy server setting (TM-i Firmware - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 22
the server-side program to identify TM-i. This ID becomes the user ID Set the request interval. Request interval refers to the interval between the end 10.0.0.1:8008 ID Registers the proxy authentication ID. Password Registers the proxyauthentication password. Enable Proxy for following services - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 23
to register the device ID. • TM-i printer cannot be deleted from the device. • The device ID of TM-i printer can be changed. 1 Connect all TM printers to the network and power on. 2 EPSON TMNet WebConfig starts. For TM-i Firmware Ver.4.0 or later, select [Web Service Settings] - [Direct Print]. For - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 24
settings to TM-DT. ❏ Initial OS Settings : Refer to the Technical Reference Guide for each printer. ❏ Initializing the ePOS-Device : Refer to the Technical Reference Guide for each printer. ❏ IP Address Settings : Refer to the Technical Reference Guide for each printer. ❏ Service Startup - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 25
setting is not required. Use the following procedure for registration. 1 Connect all TM printers to the network and power on. 2 EPSON TMNet WebConfig starts. Select as [Settings]-[Web service settings]-[Printer]. 3 The "Printer" screen appears. Set the following items and click [Add]. Item Device - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 26
1 Using EPSON TMNet WebConfig, confirm that Server Direct Print settings are valid. 2 Open the sample program page from the Web browser. Example: http://[IP address of the Web server]/demo/index.html 3 Click [Order Entry]. 4 In response to a request from the TM intelligent printer, print data - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 27
a database or other system 3 2.2 : HTTP Response (Print request) TM intelligent printer periodically sends a HTTP POST request (print request) shown below. The format /Test_print.php HTTP/1.1 Host: 192.168.192.10 Content-Type: application/x-www-form-urlencoded Content-Length: 29 ConnectionType=GetRequest - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 28
Response (Print request) This section describes the response (print request) containing the print data from the Web server. TM Intelligent Printer 1 : HTTP Request (Print request) 2.2 : HTTP Response (Print request) Web Server 2.1 : Create XML from a database or other system Response data created - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 29
tag. For ePOSPrint XML reference, see Chapter 4 "ePOS-Print XML Reference" in "ePOS-Print XML User's Manual". HTTP/1.1 200 OK Content-Type: text >10000 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 30
Print Job ID Specification of print job ID is available in the TM-i series (TM-i Firmware Ver.4.1 or later). When specifying the print job ID, > ABC123 . . . - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 31
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: 0 31 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 32
sends a HTTP POST request (printing result) shown below after printing. TM Intelligent Printer Web Server 1 : HTTP Request (Print request) 2.2 : HTTP Response (Print request) 2.1 /demo/Test_print.php HTTP/1.1 Host: 192.168.192.10 Content-Type: application/x-www-form-urlencoded Content-Length: - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 33
="utf-8"?> #Success - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 34
code="" status="251854870" battery="0"/> #Failed - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 35
device has a problem. Mechanical error, etc. EPTR_REC_EMPTY There is no paper. No paper EPTR_UNRECOVERABLE An unrecoverable error occurred. Low voltage EX_BADPORT The port is invalid or the device is The registered information is invalid. not connected. The device power is off. The - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 36
Response (Printing Result) The Web server sends a response (print result) upon receipt of print result to the TM intelligent printer. TM Intelligent Printer Web Server 1 : HTTP Request (Print request) 2.2 : HTTP Response (Print request) 2.1 : Create XML from a database or other system 3 : - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 37
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. For - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 38
Program Example See the following programming data (file name: Test_print.php) - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 39
from a remote place. TM Intelligent Printer Web Server 1 : HTTP Request (Status Information) 2 : Register the status to the database 2.1 : HTTP Response (Status Information) 4 For TM-DT, enable the following settings in EPSON TMNet WebConfig. • ePOS-Device • Service startup settings (p. 24 - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 40
to the model of TM Intelligent printer. • "TM-i Settings" (p.40) • "TM-DT Settings" (p.42) TM-i Settings Configure the Status Notification settings using EPSON TMNet WebConfig. Use the following procedure for registration. 1 Connect the printer to the network and turn the power ON. 2 Start the Web - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 41
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 if the address is accessible. Set the request interval. Request interval refers to the interval between the end of the previous communication and the start - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 42
EPSON TMNet WebConfig. 1 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. If you are making settings from an external device, set the TM-DT Request interval refers to the interval between the end - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 43
Chapter 4 Status Notification Execution of Sample Program 1 Confirm that Status Notification of TM intelligent printer is set. 2 Open the sample program page from the Web browser. Example: http://[IP address of the Web Server]/demo/indexStatus.html 3 The "resultPrint.log" - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 44
0x00020000 0x00080000 0x01000000 0x80000000 Description No printer response Print complete Status of the drawer kick number 3 connector pin = "H" Offline status Cover is open Paper feed switch is feeding paper Waiting for online recovery Paper feed switch is being pressed Mechanical error occurred - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 45
Refer to the programming below. (File name: Test_status.php) - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 46
detector \n"; } if (($asb & 0x00080000) == 0x00080000) { $strmsg .= " No paper in the roll paper end detector \n"; } if (($asb & 0x80000000) == 0x80000000) { $strmsg .= " Stop the spooler \n"; } $result = fprintf($fhandle, "Printer name = %s : Status ASB value is %s \n", $printerstatus['devicename - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 47
Value Status The ID set with WebConfig (p. 40) 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&ID=&Status=Status Information The status information configuration is as - Epson TM-T20II-i | Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 48
48
Server Direct Print
User’s Manual
M00062905
Rev.F
Overview
Sample Program
Request and Response
Status Notification
Describes the operating environment and system
configuration of Server Direct Print.
Describes how to use the sample program and how to
configure the system.
Describes the requests and responses of Server Direct
Print.
Describes the Status Notification function.