background image

36

TCP Socket Port: Transfers printing data and printer status by direct socket communications (bi-

directional).

Automatic IP Address Assignment Protocols

The UB-E04 supports DHCP and APIPA, the protocols that assign an IP Address automatically. Automatic IP 
address assignment is performed with the protocols in the order of descending priorities shown in the 
table below. If automatic assignment with one protocol results in "disabled" or "failure," the subsequent 
protocol is used.

Protocol for acquiring status and setting

The following protocols are used to acquire the status and set for the UB‐E04.

SNMP: 

The general purpose MIB management tool, OPOS/APD, uses this to acquire and set 

the TM printer status.

Port type

TCP communication port for direct printing

Port number

9100

Port communication direction

Bi-directional

Maximum simultaneous 
connections

6

Number of connections that can 
print

1 (Other users must wait until the printing has completed.)

Timeout

Default: Approx. 90 sec.
Can be set using the network configuration tool (EpsonNet Config).

Job cancellation

Not supported

Protocol

Priority

Explanation

DHCP

1

Demands the assignments of the IP address, the subnet mask and the 
getaway address to the DHCP server and sets them.

APIPA

2

Assign only IP address from following IP addresses.
169.254.1.0 to 169.254.253.255
In this case, it is not possible to communicate on the network outside 
the router.

Manual 
assignment

3

When the automatic IP address assignment protocol is set to unused, 
the manually controlled address is set.

SNMP Version

SNMP v1 (RFC1157) compliant
(SNMPv2 and SNMPv3 not supported.)

Protocol

UDP/IP

Server Port Number

161

Trap Sending Port Number

162

Summary of Contents for UB-E04

Page 1: ...Information This chapter explains necessary information when you develop applications Programming Samples This chapter explains information for programming Product Specifications This chapter explains product specifications Appendix This chapter explains network parameters and a comparison of the UB E03 and UB E04 M00091201 Rev B Technical Reference Guide ...

Page 2: ...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 EXCEED YOUR VISION and ESC POS are registered trademarks of Seiko Epson Corporation Wi Fi WPA and WPA2 are either register...

Page 3: ... carefully to avoid serious bodily injury CAUTION Provides information that must be observed to prevent damage to the equipment or loss of data Possibility of sustaining physical injuries Possibility of causing physical damage Possibility of causing information loss Provides information that must be observed to avoid damage to your equipment or a malfunction Provides important information and usef...

Page 4: ... on the power outlet Overloading the outlet may lead to fire Shut down your equipment immediately if it produces smoke a strange odor or unusual noise Continued use may lead to fire Immediately unplug the equipment and contact your dealer or a Seiko Epson service center for advice Never attempt to repair this product yourself Improper repair work can be dangerous Never disassemble or modify this p...

Page 5: ...on Cautions for Use Connect the Wireless LAN unit to the USB Type A connector before turning the printer on Do not connect a device other than the Wireless LAN unit to the UB E04 s USB Type A connector If you connect a device other than the Wireless LAN unit to the UB E04 s USB Type A connector or if you remove the Wireless LAN unit while the printer is operating the printer will experience an unr...

Page 6: ...justments so that the unit does not use the same channel as other wireless LAN devices nearby Keep the following points in mind when using the Wireless LAN unit in an environment with devices that generate radio interference such as a kitchen microwave Install the printer as far away from devices that generate radio interference as possible Use the USB extension cable included with the Wireless LA...

Page 7: ... access point have a security settings function to deal with these problems You can reduce the possibility these problems will occur by performing security settings before use Security settings are performed immediately after purchase Initial setting WPA2 PSK Limitations You cannot stop the transmission of radio waves If you need to stop the transmission of radio waves turn off the TM printer The ...

Page 8: ...rs to develop design and install POS system or to develop and design printer applications Manual Content The manual is made up of the following sections Chapter 1 Product Overview Chapter 2 Set up Chapter 3 Application Development Information Chapter 4 Programming Samples Chapter 5 Product Specifications Chapter 6 Appendix ...

Page 9: ...9 Product Overview 11 Features 11 Parts Name and Function 12 LAN connector 12 LED 12 USB Type A Connector For connecting Wireless LAN unit 13 Push button 13 Set up 15 Set up methods 15 Flow of Setup 16 Printing the status sheet Check Settings 17 Set up using EpsonNet Config 18 Set up using EpsonNet Config Web version 19 Set up using arp ping commands 21 Initializing 22 EpsonNet Config Web version ...

Page 10: ...ons 35 Software Specifications 35 Supported Protocols 35 Printing Protocols 35 Automatic IP Address Assignment Protocols 36 Protocol for acquiring status and setting 36 HTTP HTTPS 37 System Bootup Time 38 Supported TM Printers 38 Environmental Specifications 38 Limitations 38 TM Printer Settings 38 Communication 38 Customer Display Use 39 Open Source Software License 39 Appendix 41 Ethernet and Wi...

Page 11: ... n 2 4 GHz compliant It supports infrastructure mode and 802 11 ad hoc mode It also supports WEP 64 128 bit WPA2 PSK and WPA2 Enterprise Network Function It supports TCP IP protocol It supports DHCP and APIPA It supports ENPC and SNMP You can use ENPC and SNMP to acquire the printer status It supports IPv4 Setting The settings utility EpsonNet Config is available Please download it from the Epson ...

Page 12: ...established The yellow LED when transmitting or receiving data What is the CPU low power consumption mode If there is no data transmission or receiving and the push button is not operated for 3 seconds or longer the UB E04 transitions to CPU low power consumption mode While in CPU low power consumption mode the UB E04 uses less power than usual You cannot disable the CPU low power consumption mode...

Page 13: ...nt the network parameters status Setting initialization While holding the push button turn the printer s power on and continue to hold the push button until the initialization start message is printed approx 10 seconds to restore all settings to their factory default After turning the printer s power on it can take about 15 to 20 seconds until the UB E04 functions are enabled If printing the statu...

Page 14: ...14 ...

Page 15: ... the Web application equipped in the UB E04 from a Web browser to perform settings Because you specify the printer s IP address to open it you need to set your computer to the same network segment as the printer With EpsonNet Config Web version you can set more items than with EpsonNet Config Method 3 Set up using arp ping commands This method involves setting the printer s IP address in the setti...

Page 16: ...Printing the status sheet check settings Method 1 Method 2 Method 3 Use EpsonNet Config to perform other settings Use EpsonNet Config Web version to perform other settings Use arp ping command to set printer IP address Finish Finish Finish Use EpsonNet Config Web version to perform settings ...

Page 17: ...e right of the LAN connector for about 3 seconds to print the status sheet Once printing starts release the push button Press the push button with a thin object such as a tweezers Example status sheet After turning the printer s power on it can take about 15 to 20 seconds until the UB E04 functions are enabled Do not start pushing the push button during this time Push button ...

Page 18: ...e list If it is not displayed check that Filter is set to All or Network connected devices then click Refresh Or select Tools then Option and check the settings of Search Parameters 3 Select the target printer then click Configuration If you cannot determine the target printer from the product name or the IP address use the MAC address You can check the printer s MAC address on the status sheet 4 ...

Page 19: ... the status sheet 3 Start up your Web browser and input the printer s IP address into the address field E g http 192 168 192 168 4 Input your user name and password on the authentication window Input epson for both the user name and password You can change the password in the Optional setting menu under Password By factory default all UB E04 devices are set to the same IP address 192 168 192 168 I...

Page 20: ...The changes are sent to the printer 7 Click the Reset button on the Web page displayed after sending The sent contents are enabled Depending on the changes such as the IP address the connection with the setting computer may be cut and the EpsonNet Config window may not be displayed To reconnect you need to set the net work settings of the setting computer to the same network segment as the printer...

Page 21: ... E04 settings on the status sheet 1 Delete the IP address you want to set to the printer from the ARP table arp d IP address E g arp d 192 168 0 10 2 Add the printer s MAC address and the IP address you want to set to the ARP table arp s IP address MAC address E g arp s 192 168 0 10 00 26 AB 7B 00 00 3 Execute the ping command and enable settings ping IP address you want to set E g ping 192 168 0 ...

Page 22: ...essed turn on the printer s power Press the push button with a thin object such as a tweezers 3 Continue to hold the push button until the initialization start message below is printed approx 10 seconds After about 20 seconds a message notifying the completion of the reset is printed After the completion message a status sheet is printed Do not turn the printer s power off until initialization is ...

Page 23: ... Administrator name installation location interface card model number MAC address hardware version software version connected printer name wireless connection channel wireless transmission speed MAC address of the wireless connection access point wireless radio wave strength printer status TCP IP You can confirm TCP IP protocol IP address settings SNMP You can confirm SNMP protocol settings Bonjou...

Page 24: ...tting WEP wireless password setting Authentication algorithm setting OpenSystem Shared key Auto Power saving function settings Disable Enable If using WPA2 Enterprise in the above encryption method the following settings are required EAP authentication setting EAP TLS PEAP TLS PEAP MSCHAPv2 Client signed certificate Client Signed Certificate1 Client Signed Certificate2 Client Signed Certificate3 U...

Page 25: ...icate Import You can check and set the following items for certificate imports File format settings PEM DER Certification Password Protection PKCS 12 Certificate File name input Password input If you import and select an invalid certificate you will no longer be able to start up EpsonNet Config Web version In that case use EpsonNet Config to select a certificate other than the invalid one for exam...

Page 26: ...address setting Community name input IP Trap2 Trap setting Disable Enable Trap address setting Community name input Bonjour This sets Bonjour Bonjour setting Disable Enable Name input for when using Bonjour Printer name setting for when using Bonjour Installation location input You can use upper and lower case alphabet characters numerals and hyphens however only use upper and lower case alphabet ...

Page 27: ...6 19 20 21 26 30 31 11 15 32 53 Protection with a password You can set a password for protecting the set content You can select the following functions on the Optional menu Administrator Information This registers the administrator name and the location where the printer is installed Reset This resets the interface card or restores it to initial settings Password This changes the password User Nam...

Page 28: ...C address using the following procedures Printing the status sheet Label attached on the product A printer self test May not be supported by some TM printers Using EpsonNet Config to confirm Using a Web browser to confirm EpsonNet Config Web version function ...

Page 29: ...t XML see the ePOS Print XML User s Manual Software The following software is provided for application development Development Kit Utilities To use ePOS Print XML or SDK for JavaScript set ePOS Print to Enable in EpsonNet Config Web Version beforehand For details about EpsonNet Config Web Version see EpsonNet Config Web version on page 23 Manual Description ePOS Print SDK This is a developer kit t...

Page 30: ...a go to the following web site and follow the on screen instructions http www epsonexpert com For customers in other countries go to the following web site http download epson biz com service pos Manual Description ePOS Print XML User s Manual Describes ePOS Print XML statements This manual comes with sample programs ...

Page 31: ... The UB E04 is equipped with LPR protocol as a general printing protocol It is easy to print by using LPR because the printing is also supported by the operating system However the command statuses sent by the printer are ignored because the printing by protocols applies only to output of the printer The UB E04 supports direct printing via the TCP PORT9100 It is possible to control the printer dir...

Page 32: ...tup 0x0101 data Create socket if sock socket AF_INET SOCK_STREAM 0 INVALID_SOCKET fprintf stderr Error socket d n WSAGetLastError exit 1 Set connection timeout Linger l_onoff 1 Linger l_linger 60 setsockopt sock SOL_SOCKET SO_LINGER char Linger sizeof struct linger initialize the parameter memset addr 0 sizeof addr addr sin_family AF_INET addr sin_port htons 9100 addr sin_addr s_addr inet_addr arg...

Page 33: ...lude netdb h int main int argc char argv int sock struct sockaddr_in addr if argc 2 printf usage ltcp ip address n exit 1 create socket sock socket AF_INET SOCK_STREAM 0 if sock 0 perror socket exit 1 initialize the parameter memset addr 0 sizeof addr addr sin_family AF_INET addr sin_port htons 9100 addr sin_addr s_addr inet_addr argv 1 connect if connect sock struct sockaddr addr sizeof addr 0 pe...

Page 34: ...ts regardless of the LPR Port9100 protocol However only the first connection received can actually print to the TM printer and any other connection requests will go into standby until the connection currently printing is closed In an environment where multiple connection requests occur if the printing host does not close the connection and leaves it open even after printing is finished or the conn...

Page 35: ... APIPA Protocols used to automatically set information such as the IP address SNMP ENPC Protocols used to acquire product information HTTP HTTPS Protocols used in the Web browser performing product settings Protocols for printing with ePOS Print Protocols used for updating the UB E04 firmware Only supported by HTTP DNS DDNS mDNS Bonjour Protocols for name resolution Port number 515 Maximum simulta...

Page 36: ...port for direct printing Port number 9100 Port communication direction Bi directional Maximum simultaneous connections 6 Number of connections that can print 1 Other users must wait until the printing has completed Timeout Default Approx 90 sec Can be set using the network configuration tool EpsonNet Config Job cancellation Not supported Protocol Priority Explanation DHCP 1 Demands the assignments...

Page 37: ...nd changing the UB E04 s network parameters Trap Destination Up to 2 destination IP addresses can be registered Initially nothing is set Supported PDU type Get Request Get Next Request Get Response Set Request Trap Community Each community name can be set with 16 ASCII characters or less Protocol UDP IP UDP port number 3289 Compatible packet types Probe Initialize Query Setup Notify HTTP version H...

Page 38: ... dealer regarding new TM printers not listed above Environmental Specifications Limitations The UB E04 has the following limitations For limitations on TM printers see Technical Reference Guides for TM printers TM Printer Settings Set the printer receive buffer capacity to Large Communication When printing a high volume of data such as graphics the print speed may be slower For cautions regarding ...

Page 39: ...ly connect the Ethernet cable to the DM D connector or drawer kick connector Open Source Software License This product uses open source software in addition to Epson proprietary software For information of the open source software used in this product see the following URL http xxx xxx xxx xxx licenses html For xxx xxx xxx xxx in the above URL input your printer s IP address ...

Page 40: ...40 ...

Page 41: ...256 characters no value Yes Yes Yes Yes No Location Person max 256 characters no value Yes Yes Yes Yes No Password max 20 characters epson No Yes No Yes No Community Name 1 read only public Yes No Yes No No Community Name 2 max 31 characters no value Yes Yes Yes Yes No IP Trap1 Enable Disable Disable No No Yes Yes No IP Trap2 Enable Disable Disable No No Yes Yes No Community Name IP Trap 1 max 31 ...

Page 42: ...Articles Parameters Default EpsonNet Config EpsonNet Config Web version Status Sheet Refer Setting Refer Setting SSID max 32 characters EPSON_Printer Yes Yes Yes Yes Yes WPA WPA2 Pre Shared Key Pass Phrase 8 63 ASCII characters or max 64 Hexadecimal characters EpsonNet No Yes No Yes No MAC Address refer to WLAN option s Label Yes No Yes No Yes Network mode Infrastructure Ad Hoc Infrastructure Yes ...

Page 43: ...Assignment Protocols DHCP APIPA Protocol for acquiring status and setting SNMP ENPC HTTP HTTPS Network configuration utility EPSON TMNet WinConfig EpsonNet Config Password protected internal settings None Yes External environment Substrate size 70 mm 58 mm 2 76 2 28 Operating temperature humidity 0 C to 50 C 32 F to 122 F 10 to 90 RH non condensing Added functions ePOS Print support Not supported ...

Reviews: