To communicate with the host system over the network, the JetDirect card requires network configuration data (such as the card's IP address and subnet mask) each time the printer is powered on.
The card can get this data either from a BOOTP/TFTP server on the network or from parameters entered manually from the front panel on the printer and saved in nonvolatile memory on the card. The method of attaining IP address for the card is dependent on type of card (external box, like the EX model, or internal card) and the type of printer. When shipped from the factory, the card is set to get network configuration data from the network (BOOTP/TFTP server).
The method of setting the IP addresses is described in the technical document AIX Printing Tips: Setting the IP address for HP Printers.
If you cannot manually configure the card to accept the IP address from the front panel of the printer, then to get configuration data from the network, the BOOTP/TFTP server must be configured. When BOOTP/TFTP is configured on the RS/6000, the RS/6000 server will recognize the network query (hardware address broadcast) generated by the card and will send the appropriate data to the card.
Follow these steps on the RS/6000. These steps will configure the RS/6000 to use the JetDirect printer and will, if necessary, make the RS/6000 a BOOTP/TFTP server.
Have the following data written down and available prior to beginning (get this information NOW):
For demonstration purposes, we will use the following set up (refer to the letters in the preceding list for references to the following items):
STEP 1. To BOOTP/TFTP or not: deciding whether or not to make the RS/6000 a BOOTP/TFTP server. Some things to consider at this point:
Questions
a b Answers
--- --- ----------------------------------------
Yes Yes Up to you as to if you want to set up the
JetDirect through a BOOTP/TFTP server or not.
Note that if you choose to set the JetDirect
through a BOOTP/TFTP server, then you must make
sure the BOOTP/TFTP server on the same network
is configured appropriately.
Suggestion: Do NOT set this up as a BOOTP/TFTP
server. In STEP 6, choose option No. 2.
Yes No Same as above.
Suggestion: Do NOT set this up as a BOOTP/TFTP
server. In STEP 6, choose option No. 2.
No Yes If the other BOOTP/TFTP server on the same
network is a RS/6000, you must be on that RS/6000
to continue on with the steps.
Suggestion: You really don't have a choice here
but to set this up as a BOOTP/TFTP server. In
STEP 6, choose option No. 1.
If the other BOOTP/TFTP server is not a RS/6000 then
you must do what is appropriate on that system
to configure the network data for the JetDirect
down loading.
Suggestion: Since the down loading of network
data is being done on the other machine, you don't
need to set the RS/6000 up as a BOOTP/TFTP server.
In STEP 6, choose option No. 2.
No No You don't have a choice here, you must set up the
RS/6000 to be a BOOTP/TFTP server since there is no
other way to down load the network data to the
JetDirect Card.
Suggestion: Not really a suggestion. In STEP 6,
you must choose option No. 1.
Sample "/etc/hosts" entry:
hp4 150.1.1.4
----------------------------------------------------------------
No. Description
1 Printer or Plotter Attached to Host
2 Printer or Plotter Attached to Xstation
3 Printer or Plotter Attached to ASCII Terminal
4 Network Printer (Hewlett-Packard JetDirect)
Enter number from list above (press Enter to terminate): ->
----------------------------------------------------------------
STEP 4. Select No. 4 from the menu screen for "Network Printer (Hewlett-Packard JetDirect)" and press the "enter" key.
STEP 5. The following prompt will appear on the screen once you have chosen No. 4 and press the Enter key:
----------------------------------------------------------------
Enter the printer hostname: --->
----------------------------------------------------------------
STEP 6. The following menu will then be displayed:
----------------------------------------------------------------
No. BOOTP/TFTP Server
1 Make this system a BOOTP/TFTP server
2 Do NOT make this system a BOOTP/TFTP server
Enter number from list above (press Enter to terminate): ->
----------------------------------------------------------------
----------------------------------------------------------------
Enter the hardware address for the JetDirect Card: ->
----------------------------------------------------------------
----------------------------------------------------------------
Enter the gateway ip address (or Enter for none): ->
----------------------------------------------------------------
STEP 9. You should then be prompted to enter the subnet mask:
----------------------------------------------------------------
Enter the subnet mask (or Enter for none): ->
----------------------------------------------------------------
STEP 10. A menu should appear prompting for you to input the printer type. You can use the up/down arrow keys to scroll through the selections to find your particular type of printer. The menu screen will look something like this:
----------------------------------------------------------------
No. Description
1 IBM 2380 Personal Printer II
2 IBM 2381 Personal Printer II
3 IBM 2390 Personal Printer II
. ...
. ...
. ...
19 IBM 4212 Proprinter 24P
20 IBM 4216 Personal Page Printer, Model 031
21 IBM 4224 Printer, Models 301,302,3C2,3E3 [ 42 more ]
Enter number from list above (press Enter to terminate): ->
----------------------------------------------------------------
----------------------------------------------------------------
No. Description
28 IBM 6184 Color Plotter [ 27 more ]
29 IBM 6185-1 Color Plotter
30 IBM 6185-2 Color Plotter
. ...
. ...
. ...
38 Hewlett-Packard LaserJet III
39 Hewlett-Packard LaserJet IIISi
40 Hewlett-Packard LaserJet 4
41 IBM 3930 Page Printer
42 Printronix P9012 Line Printer
43 Plotter
. ...
. ...
. ...
Enter number from list above (press Enter to terminate): ->
----------------------------------------------------------------
----------------------------------------------------------------
Hewlett-Packard LaserJet 4
Header pages wanted? (n=none; a=each file; g=each job): -> (n)
----------------------------------------------------------------
----------------------------------------------------------------
Trailer pages wanted? (n=none; a=each file; g=each job): -> (n)
----------------------------------------------------------------
----------------------------------------------------------------
NOTE: The hplj-4 printer supports multiple print data streams.
Each of the data streams will now be configured individually.
-------------------- PostScript --------------------
Enter print queue name (or, ! to bypass configuration): -> (ps)
Should this queue be the default queue? -> (y)
----------------------------------------------------------------
----------------------------------------------------------------
-------------------- PCL --------------------
Enter print queue name (or, ! to bypass configuration): -> (pcl)
Should this queue be the default queue? -> (y)
----------------------------------------------------------------
mod590 /etc # telnet 150.1.1.4 9100
Trying...
Connected to 150.1.1.4.
Escape character is '^]'.
Hey guys, this is going to print!!!
^]
telnet> quit
Connection closed.
The hardware address was entered incorrectly. You can verify the hardware address by examining the file /etc/bootptab. The "ha" field should match the hardware address printed out in the test page. If this is incorrect, then change as appropriate. Then at the AIX command line, type "inetimp" to redigest file and then type "refresh -s inetd" to refresh "inetd" daemon. Turn off/on printer (if card inside printer) or turn off/on the JetDirect box (if external). If this does not work, then remove the entry from /etc/bootptab file and perform all the preceding steps in this document starting with STEP 3.
Then hopefully you'll see something like this:
The file didn't use the control file settings.
This is caused because the HP JetDirect card resets between each job. This is necessary because the card is multiprotocol and must reset to be ready for the next job.
----------------------------------------------------------------
hp4:ht=tr:ha=080109463974:ip=150.1.1.4:sm=255.255.255.0:gw=150.1.1.1:
----------------------------------------------------------------