Take the following steps when you are adding a JetDirect Network Printer in AIX 4.1.x. This step-by-step guide has been verified to be true on AIX 4.1.1 and AIX 4.1.2.
Through smit, bring up the following menu to add a Print Queue.
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Add a Print Queue x x x x Move cursor to desired item and press Enter. Use arrow x x keys to scroll. x x x x # ATTACHMENT TYPE DESCRIPTION x x local Printer Attached to Local Host x x remote Printer Attached to Remote Host x x xstation Printer Attached to Xstation x x ascii Printer Attached to ASCII Terminal x x hpJetDirect Network Printer (HP JetDirect) x x file File (in /dev directory) x x other User Defined Backend x x x x F1=Help F2=Refresh F3=Cancel x x F8=Image F10=Exit Enter=Do x x /=Find n=Find Next x
After selecting the HP JetDirect entry, you should not get an error. If you do, more likely the error will read:
Printer Attachment Type Support Not Installed
In this case, software to support the printer attachment type you selected is not installed. Press Enter to install software support packages for printer attachment types (and printers).
This will bring up the following menu to install software.
Install Additional Printer/Plotter Software [Entry Fields] * INPUT device / directory for software [ ] + HIT F4 to get the following menu. lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x INPUT device / directory for software x x x x Move cursor to desired item and press Enter. x x x x /dev/rmt1.1 (2.3 GB 8mm Tape Drive) x x /dev/fd0 (Diskette Drive) x x /dev/cd0 (CD-ROM Drive) x x /usr/sys/inst.images (Install Directory) x
Select the drive and hit Enter.
Install Additional Printer/Plotter Software [Entry Fields] * INPUT device / directory for software /dev/rmt1.1 * SOFTWARE to install [ ] + Hit F4 to go to selection menu. Wait............until menu appears lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x SOFTWARE to install x x x x Move cursor to desired item and press F7. Use arrow x x keys to scroll. x x ONE OR MORE items can be selected. x x Press Enter AFTER making all selections. x x x x [TOP] x #---------------------------------------------------------- x # + = No license password required x x # $ = License found x x # ! = No license found x x # @ = Currently installed x x # x x # The "all_licensed" filter will include filesets with x x # "+" and "$". x x #-------------------------------------------------------- x x 4.1.0.0 printers ALL x x [MORE...112] x x
Hit / and then Enter.
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Find x x x x Enter Search Pattern. x x x x [ ] x x
Type jet and hit Enter.
x SOFTWARE to install x x x x Move cursor to desired item and press F7. Use arrow x x keys to scroll. x x ONE OR MORE items can be selected. x x Press Enter AFTER making all selections. x x x x [MORE...28] x + 4.1.0.0 Bull Compuprint PageMaster 970 x x + 4.1.0.0 Bull PR-88 x x + 4.1.0.0 Canon Laser Shot LBP-A404PS/Lite x x + 4.1.0.0 Canon Laser Shot LBP-B406/S/DA404 x x + 4.1.0.0 Canon Laser Shot LBP-B406G x x + 4.1.0.0 Common Bull 970/1070 fonts x x + 4.1.0.0 Dataproducts BP2000 Line Printer x x + 4.1.0.0 Dataproducts LZR 2665 Laser Printer x x + 4.1.0.0 Hewlett-Packard JetDirect Network Printer x x Attachment x x [MORE...84]
Select the JetDirect line and hit Enter.
Install Additional Printer/Plotter Software [Entry Fields] * INPUT device / directory for software /dev/rmt1.1 * SOFTWARE to install [+ 4.1.0.0 Hewlett-Pac> +
Hit Enter to install.
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x ARE YOU SURE? x x x x Continuing may delete information you may want x x to keep. This is your last chance to stop x x before continuing. x x Press Enter to continue. x x Press Cancel to return to the application. x x x
Hit Enter again. This will bring the following screen:
COMMAND STATUS Command: running stdout: no stderr: no installp: APPLYING software for: printers.hpJetDirect.attach 4.1.0.0
Hit F10 to exit.
#smitty mkvirprt lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Add a Print Queue x x x x Move cursor to desired item and press Enter. Use arrow x x keys to scroll. x x x x # ATTACHMENT TYPE DESCRIPTION x x local Printer Attached to Local Host x x remote Printer Attached to Remote Host x x xstation Printer Attached to Xstation x x ascii Printer Attached to ASCII Terminal x x hpJetDirect Network Printer (HP JetDirect) x x file File (in /dev directory) x x other User Defined Backend x x x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Printer Type x x x x Move cursor to desired item and press Enter. x x x x Bull x x Canon x x Dataproducts x x Hewlett-Packard x x IBM x x OKI x x Printronix x x QMS x x Texas Instruments x x Other (Select this if your printer type is not listed x x above) x
Select Printer Type.
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Printer Type x x x x Move cursor to desired item and press Enter. x x x x hplj-2 Hewlett-Packard LaserJet II x x hplj-3 Hewlett-Packard LaserJet III x x hplj-3si Hewlett-Packard LaserJet IIISi x x hplj-4 Hewlett-Packard LaserJet 4,4M x x Other (Select this if your printer type is not listed x x above) x x x x F1=Help F2=Refresh F3=Cancel x Select model lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x BOOTP/TFTP Server x x x x Move cursor to desired item and press Enter. x x x x 1 Make this system a BOOTP/TFTP server x x 2 Do NOT make this system a BOOTP/TFTP server x x x x F1=Help F2=Refresh F3=Cancel x x F8=Image F10=Exit Enter=Do x
Select appropriate connection type:
If you select option 2, the last three fields (HW addr, GW addr, SUBNET) will not be present, as in the example below:
[Entry Fields] Description Hewlett-Packard LaserJ> Names of NEW print queues to add PCL [hppcl] PostScript [hpps] HP-GL/2 [ ] Printer connection characteristics * HOSTNAME of the JetDirect Card [hp3] * HARDWARE ADDRESS of the JetDirect Card [1000090EAAC39] GATEWAY ADDRESS [ ] SUBNET MASK [255.255.255.0] COMMAND STATUS Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
Added print queue 'hppcl'. Added print queue 'hpps'.
Cause: The JetDirect card is probably not booted up and never received tftp packets. Probably there are faulty cables or unterminated ethernet lines.
Solution: If you have any other hosts on the same net, verify that they can still communicate with no errors. Check cables and termination.
Solution: Check the IP address of the printer by printing out a test page to see if the IP address is indeed on the printer. Then check to see if the IP address is the same as the one you have in the /etc/hosts file.
If you can ping the hostname, then try the following:
telnet hostname 9100
This should get sent to the printer. (This is an example telnet session that printed to our printer.)
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 printout "Hey guys, this is going to print!!!" should go to the printer.
Cause: The card has not been configured.
Solution: Find the area under TCP/IP labeled bootp. It should say that bootp is in progress.
Cause: The card is sending out boot packets but is not getting packets back from the system (unless there is a problem with the packets that the JetDirect card is sending). The system is not acknowledging the packets and sending replies.
Cause: The hardware address was entered incorrectly.
Solution: 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.
If the above still does not work, then try running the bootpd daemon in debug mode. Do the following:
You should see something like this:
bootpd: bootptab mtime is Wed Oct 19 13:21:23 1994 bootpd: reading "/etc/bootptab" bootpd: read 1 entries from "/etc/bootptab" bootpd: dumped 1 entries to "/etc/bootpd.dump".
Then something like this:
bootpd: bootptab mtime is Wed Oct 19 13:21:23 1994 bootpd: request from hardware address 080109463974 bootpd: hardware address not found: 080109463974 bootpd: Dats all folks...
Cause: The system is not picking up any hardware broadcast across the network. This signals a definite hardware problem on the network.
Solution: Check your network connections and settings.
Cause: You do not have an entry in the /etc/bootptab file for the particular hardware address.
Solution: Check your file for proper entry. Also check other entries that are outdated or unused and delete them.
Solution: You can use the ifconfig <network type> command to figure out your network mask; for example, ifconfig en0:
en0: flags=2000063<UP,BROADCAST,NOTRAILERS,RUNNING,NOECHO> inet 150.1.1.1 netmask 0xffff0000 broadcast 150.1.255.255
Note the subnet mask of 255.255.0.0 in this example.
bind fail::socket name already in use bootpd::bind:
Cause: You have another bootpd process running on your system.
Solution: Do a ps -ef | grep bootp to get the PID of the bootp process presently running and do a kill -9 PID to get rid of the process. Then retry the bootp in debug mode again.
Also note that with the external JetDirect box EX model, there is an indicator LED light called "Fault". Check if this light is on or is blinking.
Cause: If yes, then you have a hardware problem with the JetDirect.
Solution: Call Hewlett-Packard for hardware help.
Some printers accept more than one interface--that is, serial or parallel.
Solution: Be sure that you have the interface set to the one that you are using. This is especially true with the external JetDirect.
Having problems getting the printer working with the BOOTP/TFTP server?
Solution: Try attaching the printer DIRECTLY to the Ethernet card in the system. After you get that working, set up the printer to use the system as the BOOTP/TFTP server.
Change the ht variable in /etc/bootptab for your particular entry to tr.
ht=tr
Do this only after you have finished ALL the steps.
Example setting in /etc/bootptab using token ring instead of ethernet:
hp4:ht=tr:ha=080109463974:ip=150.1.1.4:sm=255.255.255.0:gw=150.1.1.1:
[ Doc Ref: 90605207114716 Publish Date: Jan. 17, 2001 4FAX Ref: 5933 ]