background image

Chapter 2   Set up

27

2

Setting IP Address Using arp/ping Command

You

 

can

 

set

 

the

 

IP

 

address

 

using

 

the

 

arp/ping

 

command.

 

This

 

way

 

of

 

setting

 

is

 

available

 

with

 

the

 

host,

 

which

 

is

 

in

 

the

 

same

 

segment

 

as

 

that

 

of

 

the

 

UB

E03.

Preparing the computer and acquiring the information

Preparation

• TM

 

printer

 

with

 

the

 

UB

E03

 

installed

• Computer

 

(Windows

 

7/Windows

 

Vista/Windows

 

XP)

Acquiring the setting information

Acquire

 

the

 

following

 

information

 

from

 

the

 

network

 

administrator.

• IP

 

address

• Default

 

gateway

Setting procedure

Follow

 

the

 

steps

 

below

 

to

 

set

 

the

 

IP

 

address.

In

 

this

 

example,

 

we

 

set

 

the

 

IP

 

address

 

of

 

the

 

UB

E03

 

(MAC

 

address:

 

00

26

AB

7B

00

00)

 

to

 

192.168.192.168

 

in

 

Windows.

1

Set the gateway address to the computer in which you will input the 

arp/ping command.

If a server or ro

ut

er ac

t

s as a 

g

a

t

eway, 

t

ype 

t

he 

g

a

t

eway address.

2

Connect the printer to the network and turn on the printer.

3

Execute the arp command to clear the relation of the MAC address and 

IP address.

<Example>
Forma

t

arp -d [

IP address 

t

o be se

t

 for 

t

he UB-E03

]

I

n

p

ut

:

arp -d 192.168.192.168

The subnet mask is set from the IP address automatically.

Do not use the same IP address as that of other network devices or PCs.

Summary of Contents for UB-E03

Page 1: ...cessary information when you develop applications Describes how to handle the product M00037501 Rev A Product Overview Set up Programming Samples UB E03 Specifications This chapter explains the features of the product This chapter explains how to connect the UB E03 to the TM printer and use it This chapter explains information for programming This chapter explains the specification of the UB E03 ...

Page 2: ...r alterations 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 designated as Original EPSON Products or EPSON Approved Products by Seiko Epson Corporation Trad...

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: ...ment 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 product Tampering with this product may result in injury or fire Do not allow fore...

Page 5: ...ty 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 CAUTION Do not connect cables in ways other than those mentioned in this manual Different connections may cause equipment damage or fire Be sure to set this equi...

Page 6: ...formation for development engineers 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 Programming Samples Chapter 4 UB E03 Specifications ...

Page 7: ...ications 12 Limitations 12 Set up 13 Flow of Setup 13 Installing the UB E03 14 Setting IP Address Using EPSON TMNet WinConfig 17 Setting the TCP IP Protocol in Your Operating System 17 Setting the UB E03 23 Setting IP Address Using arp ping Command 27 Checking Changing the Settings 29 Checking Changing with EPSON TMNet WinConfig 29 Checking Changing with EPSON TMNet WebConfig 31 Initializing 33 EP...

Page 8: ...Printer 47 Direct Printing by PORT9100 48 For Windows Console 48 For Linux 49 Commands Sent to a TM Printer When the Power is On 50 Monitoring of the ASB Status 50 The Rights of Printing 50 Time out for Connection 50 UB E03 Specifications 51 Software Specifications 51 Supported Protocols 51 Network Parameter of the UB E03 54 Setting of the network parameter of the UB E03 55 How to check the Mac Ad...

Page 9: ...the EPSON Web site and use it You can check and set the parameters by using a Web browser When you push the push button the present network parameter is initialized and the setting condition is printed for you to check Others Updating the firmware is possible via the network Low power consumption mode Low power consumption mode The UB E03 enters the low power consumption mode if more than 3 second...

Page 10: ...hen the printer is sending receiving Ethernet data Push button A push button is provided to perform the following functions Status sheet printing Push and hold the push button for three seconds or more when the TM printer is ready for printing paper is set and the power supply is turned on the network parameter status is printed Setting initialization Push and hold the push button while turning on...

Page 11: ...ired for Installation When the UB E03 is installed in the back of a TM printer it increases the depth of the printer by 20 mm 0 79ʺ Take this into consideration for your installation Protocol Application IP ARP ICMP UDP TCP Basic communications protocols for various functions LP LPR TCP Socket Port Protocol for printing DHCP APIPA Protocol for automatic settings of IP address etc ENPC SNMP Protoco...

Page 12: ...isplay Use When the UB E03 is connected the DM D connector on the TM unit cannot be used Never attempt to connect the Ethernet cable to the DM D connector or drawer kick out connector Item Specifications Temperature Operating Conditions 0 to 50 C 32 to 122 F 10 to 90 RH non condensation See the operating temperature and humidity range below Storage Conditions 10 to 50 C 14 to 122 F 10 to 90 RH non...

Page 13: ...ol in OS Install TCP IP protocol in your operating system Installing the UB E03 Install the UB E03 on a TM printer Various Settings for the UB E03 Setting IP Address Using Setting IP Address Using Setting the UB E03 Set IP address for the UB E03 using EPSON TMNet WinConfig Set IP address for the UB E03 using arp ping command Configure various settings for the UB E03 using either one of the followi...

Page 14: ...ter Before installing the UB E03 be sure to set the DIP switches or Memory switches as shown in the table below For other models ask your dealer The display module connector on the TM printer cannot be used when the UB E03 is installed Model Setting TM U200 Series DIP SW 2 8 ON TM U210 Series DIP SW 2 8 ON TM U220 Series DIP SW 2 8 ON TM U230 Series DIP SW 2 8 ON TM U325 Series DIP SW 2 8 ON TM U5...

Page 15: ...upply unit with the printer 5 Turn on the printer WARNING Never attempt to connect the customer display cable drawer kick out cable or a standard telephone line cable to the Ethernet connector When initializing the UB E03 by turning off the power and then turning it back on or by resetting the printer there is a waiting time until the network starts operating During this time all the communicating...

Page 16: ... Hold the push button for more than 3 seconds when the printer is ready for printing When the UB E03 is installed correctly the printer prints a status sheet 016 14 6 1 70 6 10 75 0 6 10 05 755 Push button ...

Page 17: ...WinConfig Setting the TCP IP Protocol in Your Operating System To set the IP address using EPSON TMNet WinConfig you need to install the TCP IP protocol in your operating system To install TCP IP protocol in Windows 7 Windows Vista and Windows XP follow the instructions below Windows 7 1 Click Local Area Connection in the Control Panel ...

Page 18: ...the Properties button 3 Confirm whether the Internet Protocol Version4 TCP IPv4 check box is checked If not check it 4 Click the OK button If you install the TCP IP protocol restart your computer after installing ...

Page 19: ...Chapter 2 Set up 19 2 Windows Vista 1 Click View status in the Control Panel 2 Click the Properties button ...

Page 20: ...t Protocol Version4 TCP IPv4 check box is checked If not check it 4 Click the OK button Windows XP 1 Click Network and Internet Connections in the Control Panel If you install the TCP IP protocol restart your computer after installing ...

Page 21: ...Chapter 2 Set up 21 2 2 Click Network Connections 3 Double click Local Area Connection ...

Page 22: ...Click the Properties button 5 Confirm whether the Internet Protocol TCP IP check box is checked If not check it 6 Click the OK button If you install the TCP IP protocol restart your computer after installing ...

Page 23: ...on how to install use EPSON TMNet WinConfig Acquiring the setting information When you set the IP address manually acquire the following information from the network administrator IP address Subnet mask Default gateway Setting procedure Follow the steps below to set the IP address 1 Connect the printer to the network 2 Turn on the printer Because the same IP address is set for all UB E03 units in ...

Page 24: ...d do not know for which printer you want to set the IP address you can check the printer by finding out the MAC address of the UB E03 The MAC address can be found on the status sheet or a label on the UB E03 To print the status sheet turn on the printer power and hold the push button for more than 3 seconds When you cannot check the MAC address on the label on the UB E03 that is installed on the p...

Page 25: ...he IP address subnet mask and default gate way are acquired form DHCP server 7 Click the OK button 8 Click the OK button Do not use the auto setting without a DHCP server See the manual of the server for setting Be sure that the Set using PING check box is checked if a setting by ping or arp command is permitted ...

Page 26: ...26 9 Click the OK button The contents of the setting are transmitted to the UB E03 After a while when following message is displayed the IP address setting is completed ...

Page 27: ...way Setting procedure Follow the steps below to set the IP address In this example we set the IP address of the UB E03 MAC address 00 26 AB 7B 00 00 to 192 168 192 168 in Windows 1 Set the gateway address to the computer in which you will input the arp ping command If a server or router acts as a gateway type the gateway address 2 Connect the printer to the network and turn on the printer 3 Execut...

Page 28: ...et for the UB E03 Input ping 192 168 192 168 When the following messages are displayed The value of Time is changed the IP address setting is completed Reply From 192 168 192 168 Bytes 32 Time 10ms TTL 255 The MAC address can be found on the status sheet or a label on the UB E03 To print the status sheet turn on the printer power and hold the push button for more than 3 seconds When you cannot che...

Page 29: ...nConfig installed on a computer in the network enables you to configure detailed settings as well as to check change the settings for the UB E03 1 Turn on the printer 2 Start up the computer in the network 3 Start up EPSON TMNet WinConfig Select Start EpsonNet TMNet WinConfig TMNet WinConfigxx 4 Click Ethernet and select the printer for which you want to check change the setting See EPSON TMNet Wi...

Page 30: ...30 5 Click the Configuration button 6 Change the setting if necessary and click the OK button ...

Page 31: ...nter is required after changing the setting 1 Turn on the printer 2 Start up the computer in the network 3 Start up the web browser and input the IP address set for the UB E03 in the address bar Example Format http IP address set for the UB E03 Input http 192 168 192 168 The screen of EPSON TMNet WebConfig is displayed See EPSON TMNet WebConfig on page 34 for detailed information on EPSON TMNet We...

Page 32: ...utton The set content should be reflected in the UB E03 when you click the SUBMIT button of each screen If the screen is switched without clicking the SUBMIT button the input contents are cleared 6 When the setting is completed the message is displayed Click the RESET button or turn off the printer and turn on it again ...

Page 33: ...er clip or a pen point to push the push button 3 Keep holding down the Push button until the following message is printed about 10 seconds 4 After about 20 seconds a message notifying the completion of socialization is printed After the completion message a status sheet is printed Do not turn off the printer until the initialization is completed 016 14 6 1 70 6 10 75 0 6 10 05 755 Push button 4GUG...

Page 34: ...ng a Web browser This section is explained using screenshots of Internet Explorer Starting EPSON TMNet WebConfig 1 Start up the computer connected to the network 2 Start up the web browser and enter the IP address of the UB E03 in the address bar address http IP address of the UB E03 EPSON TMNet WebConfig starts ...

Page 35: ...inistrator name Location Person Shows the user name Interface card Model Name Shows the model name MAC Address Shows the MAC address of the UB E03 Hardware Version Shows the hardware version of the UB E03 Software Version Shows the software version of the UB E03 Printer Printer ID Shows the printer ID Printer Status Shows the printer status ...

Page 36: ... the method of setting the IP address Set using Automatic Private IP Addressing APIPA Shows the APIPA setting Set using PING Shows the IP Address using the PING command IP Address Shows the IP address Subnet Mask Shows the subnet mask Default Gateway Shows the default gateway Socket Timeout Value Shows the timeout time for printing ...

Page 37: ... Shows the Read Community information Read Write Shows the Read Write Community information IP Trap Trap 1 Shows the Trap 1 information Address Shows the Trap 1 Address Community Name Shows the Trap 1 Community Name Trap 2 Shows the Trap 2 information Address Shows the Trap 2 Address Community Name Shows the Trap 2 Community Name ...

Page 38: ...thod of acquiring the IP address Set using Automatic Private IP Addressing APIPA Set APIPA enable disable Set using PING Set the IP Address using the PING command IP Address Set the IP address Subnet Mask Set the subnet mask of the IP address Default Gateway Set the default gateway Socket Timeout Value Set the timeout time for printing ...

Page 39: ...2 SNMP Communication Setting Screen You can change the SNMP community name for the UB E03 Item Description Community Read Only The setting is fixed to Public Read Write Set the Read Write Community Name up to 16 characters ...

Page 40: ...SNMP IP Trap 1 Setting Screen You can change the settings of SNMP IP Trap 1 for the UB E03 Item Description Trap 1 Set the Trap 1 Address Set the Trap 1 Address Community Name Set the Trap 1 Community Name ...

Page 41: ... up 41 2 SNMP IP Trap 2 Setting Screen You can change the settings of SNMP IP Trap 2 for the UB E03 Item Description Trap 2 Set the Trap 2 Address Set the Trap 2 Address Community Name Set the Trap 2 Community Name ...

Page 42: ...inistrator Setting Screen You can change the settings for the UB E03 such as the administrator name Item Description Administrator name Set the administrator name Location Person Set the location or user name ...

Page 43: ...Set up 43 2 Password Setting Screen You can change the password for the UB E03 Item Description Old Password Input the old password New Password Input the new password Re input Password Re input the new password ...

Page 44: ... can reset the UB E03 to reflect the contents of the setting or reset it to the factory settings Item Description RESET Reset the UB E03 FACTORY DEFAULT The setting of the UB E03 is changed to the factory default settings ...

Page 45: ...Chapter 2 Set up 45 2 Advanced Screen You can change the communication method for the UB E03 Item Description Physical Layer Setting Set the communication method ...

Page 46: ...46 ...

Page 47: ...or connection page 50 Method of Printing to a TM Printer The UB E03 is equipped with lpr protocols as general print protocols 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 E03 supports direct printing by TCP PO...

Page 48: ...ck 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 1_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 argv 1 connect if connect sock struct ...

Page 49: ...ain 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 perror connect print...

Page 50: ...to transmit the command to nullify the ASB status function to check the state of the printer correctly by the UB E03 Or retransmit the command that makes the ASB status function effective again The Rights of Printing The UB E03 permits up to 3 requests of connecting regardless of the lpr port9100 protocol The TM printer can print only the first accepted connection Data transmission is blocked for ...

Page 51: ...functions LP LPR TCP Socket Port Protocol for printing DHCP APIPA Protocol for automatic settings of IP address etc ENPC SNMP Protocol for setting and monitoring HTTP Protocol using for EPSON TMNet WebConfig TFTP Protocol to update the firmware of the interface Remote printer name aux Port number 515 Maximum Simultaneous Connections 6 Number of connections that can print 1 Other users must wait un...

Page 52: ...or 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 300 seconds Can be set with EPSON TMNet WebConfig 0 300 seconds Set to 0 No timeout Job cancellation Not supported Protocol Priority Explanation DHCP 1 Demands the assignments...

Page 53: ...Protocol UDP IP Server Port Number 161 Trap Sending Port Number 162 Trap Destination Up to two settable IP addresses Supported MIB type Part of MIB II RFC1213 Part of Host Resource MIB Part of Print Server MIB Part of Printer MIB Supported PDU type Get Request Get Next Request Set Request Get Response Trap Community Each community name can be set with 16 ASCII characters or less Protocol UDP IP UD...

Page 54: ...ublic Yes No Yes No Yes Community name 2 read wirte 0 16 characters None Yes Yes Yes Yes Yes IP Trap 1 Enable Disable Disable Yes Yes Yes Yes No IP Trap 2 Enable Disable Disable Yes Yes Yes Yes No Community name IP Trap 1 0 16 characters None Yes Yes Yes Yes No Community name IP Trap 2 0 16 characters None Yes Yes Yes Yes No IP trap 1 address 0 0 0 0 Yes Yes Yes Yes No IP trap 2 address 0 0 0 0 Ye...

Page 55: ...etting using a Web browser EPSON TMNet WebConfig function Using the ARP command Only the IP Address How to check the Mac Address The Mac address of the UB E03 can be checked with the following method Printing the status sheet Label attached on the product A printer self test May not be supported by some TM printers EPSON TMNet WinConfig Web browser EPSON TMNet WebConfig function ...

Page 56: ...The required bootup time is as follows The network communication functions are unavailable during system bootup When setting the IP address in the Manual mode Approximately 15 seconds When setting the IP address automatically Approximately 20 seconds The value may vary depending on the response time of the DHCP server ...

Page 57: ...utomatic IP address setting protocols DHCP APIPA Status inquiry and setting protocols HTTP SNMP ENPC TFTP Network setting utility EPSON TMNet WinConfig EPSON TMNet WebConfig Auto MDIX Not available Available External environment Size 70 mm 58 mm Operating conditions 0 C to 50 C 10 to 90 Added functions Maximum printing speed 1 190 mm s 300 mm s 2 Low power consumption mode Not available Available ...

Page 58: ...58 ...

Reviews: