Print | Rate this content

HP Jetdirect and Embedded Jetdirect Inside Print Servers - How to Determine, Reset, and Configure an IP Address on an HP Jetdirect Print Server

Introduction

The network administrator or the user is responsible for deciding what the TCP/IP address should be assigned to any given print server. In doing so, there are several steps to consider:
  • How to determine the current TCP/IP address of the HP Jetdirect
  • If necessary, how to reset the HP Jetdirect to factory default settings
  • Which method to use to configure the TCP/IP address on the HP Jetdirect

Printing a Configuration page to determine the TCP/IP address of the HP Jetdirect

The current TCP/IP address as well as the status of the HP Jetdirect can be viewed on its Configuration page. Print a Configuration page by using the printer's control panel Information menu or by using the Test button of an external or an LIO HP Jetdirect print server. It is recommended to print a Configuration page after configuring the HP Jetdirect to verify that the correct TCP/IP address and other information is correct.

Resetting the HP Jetdirect to factory default settings

Also known as a cold reset, a cold reset can be helpful if unable to Telnet to the print server due to an IP address conflict or if unable to see it in HP Web Jetadmin or one of the other utilities listed below.

A cold reset will clear any previous IP address or passwords as well as resetting the printer configuration back to factory defaults. The factory defaults include a TCP/IP address of either 169.254.x.x or 192.0.0.192. Some print servers may show the TCP/IP address as 0.0.0.0 if a LAN cable is not connected, or if the print server cannot detect the network connection due to a bad cable, hub, or LAN link speed configuration problem.

Here are some general steps that work for most printers and print servers. Additional cold reset steps may be found in the printer's manual or on the HP Web site noted in the hyperlink above.
  • Most HP printers with internal HP Jetdirect print servers can be reset to factory defaults (or cold-reset) by turning the printer off and holding down the ONLINE or GO buttons while turning the printer back on. The printer's control panel display should read Cold Reset or Restoring Factory Settings. If the printer has no LCD display, the indicator lights will cycle.

  • To cold reset an LIO print server (such as the 250M or 200M), remove the print server from the printer, press an hold the test button while putting the print server back into the printer. Continue to hold the test button for about five seconds.

  • To cold reset an HP Jetdirect external print server, unplug the power cord from the HP Jetdirect print server, then hold down the TEST button (on top of or in back of the HP Jetdirect) for five to 30 seconds while plugging in the power cord.

top

Methods to configure the TCP/IP address of the HP Jetdirect

Several methods to configure a TCP/IP address will be described below. Briefly, these methods include:
  • Using the control panel of a printer or plotter
  • Using a Web browser to use the HP Jetdirect print server's embedded Web server
  • Using Telnet from a computer
  • Using HP software (see the sections below for details), such as the following:
    • HP Web Jetadmin

    • HP Jetdirect Printer Installer for UNIX

      NOTE: The following Embedded Print Servers are not supported in a UNIX or Novell environment:
      Printer
      Embedded Print Server Model
      HP Color LaserJet 3000dn
      Q7535A
      HP Color LaserJet 3000n
      Q7534A
      HP Color LaserJet 3600dn
      Q5988A
      HP Color LaserJet 3600n
      Q5987A
      HP Color LaserJet 3800dn
      Q5983A
      HP Color LaserJet 3800dtn
      Q5984A
      HP Color LaserJet 3800n
      Q5982A
  • Using a BootP or DHCP server
  • Using Arp -s and Ping from a computer

The following sections described the steps to configure the TCP/IP address of the HP Jetdirect using these various methods.

Using the front panel of printer

The IP address may also be changed using the front panel of the HP Jetdirect device. This method of front panel configuration varies greatly depending on the model of HP printer that is being used (consult the User's Guide for the front panel instructions for a particular printer). Click here to go to the HP Web site. Use the Search and search for Front Control Panel TCP/IP Configuration.

top

Using the HP Jetdirect Embedded Web server

HP Jetdirect print servers with firmware x.07.03 or later have an embedded Web server that can be used to modify the TCP/IP parameters. Refer to the Jetdirect Configuration page to find the existing TCP/IP address of the print server.

If the HP Jetdirect is at its default IP address, use a “route add” command from the command prompt to add the IP address of the HP Jetdirect to the route table of the computer. The default IP address of an HP Jetdirect will usually be either 169.254.x.x or 192.0.0.192. For example, if the HP Jetdirect default is 192.0.0.192 and the computer's IP address is 169.254.7.75, the route add command would be:

Figure 1: Route add command

  1. Using a supported Web browser, enter the IP address of the HP Jetdirect print server as you would a URL.

  2. The HP Jetdirect main Web page will be displayed. Click Networking, Network Settings, and then TCP/IP or click Administration andthen Configuration. From this page, it is possible to modify the TCP/IP addresses and the set community name.

top

Using Telnet

Using Telnet to configure an HP Jetdirect print server will configure it with a static TCP/IP address and keeps the print server from querying a BootP or DHCP server for a dynamic IP address. Most HP Jetdirect print servers support Telnet; the minimum firmware version of the HP Jetdirect must be A.03.03 or a letter/number combination greater. The exception to this is the HP Jetdirect 150x, which does not have a TCP/IP protocol stack at all.

Before using Telnet

If the TCP/IP address is already configured on the HP Jetdirect print server and needs to be changed, skip to Step 1, and use that TCP/IP address in Telnet.

Most HP Jetdirect print servers have a default IP address of either 192.0.0.192 or 169.254.x.x. Print a configuration page as described at the beginning of this document, check the TCP/IP status and address, and make sure that the I/O card status reads, Ready.

If other HP Jetdirect print servers are on the network with this default IP address, they must be turned off before using Telnet because it is possible that Telnet will fail to connect to the HP Jetdirect or, if it does connect, inadvertently configure the wrong print server.

In most networks, it might be necessary to use a Route Add command to resolve this default address on the computer. For a UNIX operating system, use a man command for route add. For most operating systems, the route add command is (using the example HP Jetdirect IP address of 192.0.0.192): route add 192.0.0.192 IPaddress_of_computer For example:

route add 192.0.0.192 198.10.9.8

NOTE: See the help files or man pages of the operating system for more ways to use route add (for example, how to add the subnet and hop count).

To display and verify that the 192.0.0.192 address in the route table, use the command: netstat -rn

  1. After the route add command, it should be possible to Telnet to 192.0.0.192. In the Telnet session, follow these directions:

  2. At a DOS or command prompt type telnet 192.0.0.192. In Windows 2000, type telnet, then, press Enter

    Type SET LOCAL_ECHO

    Type open ipaddress (for example: open 198.164.222.222)

  3. Press ENTER twice.

  4. Type a question mark (?) to display a list of the available commands used for configuring the HP Jetdirect print server. Type a forward slash (/) to see the current settings on the print server. Print servers with firmware before x.05.05 only need a question mark (?) to display a list of commands and the current settings.

  5. Using the list of commands displayed, make the desired changes.

  6. Type quit to exit and save changes (type exitto exit Telnet without saving changes).

top

HP Web Jetadmin 7.x

Click here to download the latest version of HP Web Jetadmin.

  1. Open HP Web Jetadmin 7.x

  2. If the TCP/IP address is already configured on the HP Jetdirect print server and needs to be changed, enter the TCP/IP address in Quick Device Find, and click GO. Skip to Step 6.

    For new HP Jetdirect print servers that have not been configured with a TCP/IP address, proceed to Step 3.

  3. From the left side Navigation menu, select Device Management.

  4. Expand the Device Management folder.

  5. Expand the Device Lists folder.

  6. Highlight New Devices.

  7. Click the column header of your choice, such as IP Address or Device Model.Arrange the list by ascending or descending order.

  8. Highlight the printer to be configured.

  9. From the Device Tools drop-down menu, select Open Device.

  10. From the drop-down menu at the top, select Configuration.

  11. Under Configuration Categories located on the top left side, Click Network.

  12. Enter the IP information. You may scroll down for more options.

  13. Click Apply to save the settings.

  14. Click the Refresh icon located on the top right of the screen.

  15. Verify the IP information by doing the following:

    • Print a Configuration page from the printer's front panel.

    • Select Status from the drop-down menu.

    • Select Diagnostics from the drop-down menu.

Using HP Jetdirect Printer Installer for UNIX

The HP Jetdirect Printer Installer for UNIX can assign a TCP/IP address by either creating a BootP entry on the BootP server or by opening a telnet connection to the HP Jetdirect and configuring it directly. Below are the steps for both.

Click here to download the HP Jetdirect Printer Installer for UNIX.

Using a BOOTP Configuration HP Jetdirect Printer Installer for UNIX (for new, unconfigured, or reset HP Jetdirects)

  1. Login as root, and run hppi (found in the /opt/hpnpl directory).

  2. Select Jetdirect Configuration (super-user only).

  3. Select Create Printer Configuration in BOOTP/TFTP database.

  4. The software will prompt for the HP Jetdirect LAN hardware address (This can be found on the configuration page of the printer or the external HP Jetdirect).

  5. Follow the steps on screen to assign a hostname and a TCP/IP address for the HP Jetdirect print server. The TCP/IP address must be correct for the network.

  6. Configure the remainder of the optional parameters as necessary. Typically, the important ones to note are Subnet mask, Gateway, and Banner Page.

  7. Type a zero to configure the BOOTP/TFTP entry.

  8. Turn on the HP Jetdirect print server (or turn it off and back on) or cold reset the printer/Jetdirect. When the HP Jetdirect boots up, it will broadcast BootP requests and receive the TCP/IP address form the BootP server.

Using a Telnet within HP Jetdirect Printer Installer for UNIX

  1. Login as root, and run hppi (found in the /opt/hpnpl directory).

  2. Select Jetdirect Configuration (super-user only)

  3. Do one of the following:

    • Select Set IP Address locally. Use this for unconfigured HP Jetdirect print servers.

    • Select Open Telnet Session to Jetdirect Card. Use this for HP Jetdirect print servers that are already configured.

  4. If Option 4 is selected, enter the HP Jetdirect LAN hardware address. This can be found on the configuration page of the printer or the external HP Jetdirect. If Option 5 is selected, enter the hostname or IP address of the HP Jetdirect print server.

  5. Follow the steps on screen to enter the TCP/IP address, and finish the configuration.

top

Bootstrap Protocol (BootP)

When the printer or HP Jetdirect print server is turned on for the first time or when it is reset to factory defaults, the HP Jetdirect print server broadcasts BootP and DHCP requests. BootP is a bootstrap protocol used to automatically download an IP address and other TCP/IP parameters from a network server. The computer with the proper BootP configuration sends the TCP/IP information to the HP Jetdirect print server. Consult the documentation of the particular operating system to set up BootP on the computer.

top

Dynamic Host Configuration Protocol (DHCP)

When the printer or HP Jetdirect print server is turned on for the first time or when it is reset to factory defaults, the HP Jetdirect print server broadcasts BootP and DHCP requests. DHCP is similar to BootP in that it automatically downloads an IP address from a network server. However, DHCP servers maintain a fixed set of IP addresses and only loan an IP address to the print server. Whenever the printer is turned off and on, there is no guarantee that an HP Jetdirect print server will be assigned the same IP address over time, although the DHCP server will attempt to do so. Consult the documentation of the particular operating system to set up DHCP on the computer.

top

ARP -s TCP/IP configuration

This functionality allows an administrator to quickly configure HP Jetdirect cards without waiting for the default IP address. This applies to HP Jetdirect cards with firmware of x.08.03 and later only. With this firmware, the HP Jetdirect is able to glean an IP address from a ping packet only while it is initializing . With firmware revision x.20.24 or greater, the HP Jetdirect will glean an IP address only when it is at the default IP address.

NOTE: HP Jetdirect cards will not accept an ARP -s configuration over routers. When a router routes a packet, the destination MAC address is the MAC address of the router and not the address of the HP Jetdirect. As a result, the HP Jetdirect will never receive the ICMP echo request packet unless it is on the same segment as the client workstation that is attempting to configure it.
The following shows two examples of commands that you would type to configuring the TCP/IP address using ARP -s:
  • Example 1 (for Microsoft Windows):

    ARP -s 10.1.2.3 08-00-09-12-34-56

    ping 10.1.2.3

  • Example 2 (for UNIX):

    ARP -s 10.1.2.3 08:00:09:12:34:56

    ping 10.1.2.3

    apr -d 10.1.2.3

These examples will cause an HP Jetdirect card with a MAC address of 080009123456 to glean the IP address, 10.1.2.3.

The Configuration page for the HP Jetdirect configured by this method would be as follows:

Parameter
Description
Host name
Not specified
Config by
User specified
IP address
10.1.2.3
Subnet mask
Not specified
Def. gateway
10.1.2.3
NOTE: HP recommends that the static arp table entry be removed after the HP Jetdirect obtains the TCP/IP address information. Deleting the static arp table entry can be done by typing arp -d ip_address_used_in_arp -s

top

top

Provide feedback

Please rate the information on this page to help us improve our content. Thank you!