Printers that use DHCP (Dynamic Host Configuration Protocol) instead of static addresses.
Using DHCP reservations in the router to retain the IP address in a network environment.
Configuring the Hosts file in POS PC to map a host name e.g. “kitchen_printer” to the IP address.
Applies to TM-R with Ethernet/ wireless LAN and printers that use UIB interfaces.
TM-T20II (Ethernet Model)
TM-P20, TM-P60II, TM-P80
UB-E03, UB-E04, UB-R04
We can select the printer’s method of IP address resolution in WebConfig or TM-Utility. Our choices are either DHCP or manual/static.
DHCP means the printer will allow the router to automatically provide the IP address of the printer. This is the default setting for most printers.
Manual/static means we can enter the IP address of the printer. The printer tells the network its IP address. Of course the IP address must contain the network’s subnet (XXX.XXX.XXX.XXX) and the range (XXX.XXX.XXX.XXX) must be unique in the network – provided the subnet mask is 255.255.255.0.
In many cases we need to use DHCP to easily find the printer for the first time, we can then set a static IP address. There are practical reasons for using static IP address for reasons outside the scope of this article.
But in this article, consider that we may not want to configure static IP addresses for each printer individually, but instead perform all the changes from the central network. This gives the IT administration greater central control of the IP addresses. In this case we will retain the default DHCP setting on the printer.
DHCP reservation utility of Modern Routers
Most modern routers provide a DHCP IP address reservation utility which allows us to reserve and assign IP addresses for each printer name in the network. This will centralise the configuration of IP addresses in the network router rather than configure in the printer.
The printer provides the network some basic information including name, MAC address, IP address (if static is configured) and even the printer’s OS. Epson TM printer/UIB names are not configurable and are often based on the last six digits of the MAC address. You will see this information on the router’s device list.
Examples of printers name on a Linksys router:
In some cases UIB: R03, R04 and printers TM-T20II and TM-P20 for instance the name is not provided and we can only identify the printer by its MAC address.
Finding the MAC address
The MAC address of the printer or the printer’s UIB board can be easily identified by printing the status sheet. (Holding down power on + feed).
Assign a Hosts Name to IP address
We often want to reference printer with a domain name in the POS program instead of the IP address. To achieve this we will need to assign the IP address to a host name. We can use the Hosts file located in the following environments:
Use Case Example:
If we were to replace a kitchen printer with a new printer there are two options:
Add a new IP address/ DHCP reservation and replace the IP address of KitchenPrinter in the Hosts file (Figure 1).
The second option is to replace the DHCP reservation and fix the host name (Figure 2).
Of these options, (2) may be the most convenient as it limits configuration to the network router and leaves the POS system untouched.