User GuideP 501/502

Using a Host Name Instead of an IP Address

When a host name is defined, you can specify a printer by host name instead of IP address. The host names vary depending on the network environment.

When using DNS

Use the host name set to the data file on the DNS server.

When setting the IP address of a printer using DHCP

Use the printer name on the configuration page as the host name.

In other cases

Add the IP address and host name of the network printer to the hosts file on the computer used for printing. Methods of addition vary depending on operating systems.

1Open the hosts file using memo pad files, for instance.

The hosts file can be found in the following folder:

\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS

2Add an IPv4 or IPv6 address and host name to the hosts file using the following format:

192.168.15.16 host # NP

"192.168.15.16" is the IPv4 address, "host" is the printer's host name, and "#NP" is replaced by comments. Insert a space or tab between "192.168.15.16" and "host", between "host" and "#NP" respectively, using one line for this format.

2001:DB::100 host # NP

"2001:DB::100" is the IPv6 address, "host" is the printer's host name, and "#NP" is replaced by comments. Insert a space or tab between "2001:DB::100" and "host", between "host" and "#NP" respectively, using one line for this format.

3Save the file.

Note

  • When using a host name under Windows Server 2008/2008 R2/2012/2012 R2/2016/2019, with IPv6 protocol, perform host name resolution using an external DNS server. The host file cannot be used.