Adding a JetDirect Queue in AIX 4.1


Contents

About this document
Adding a JetDirect queue
Problem troubleshooting tips and diagnostics
Caveats
Token ring setting
Legend for /etc/bootptab file

About this document

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.


Adding a JetDirect queue

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:

  1. This is used if you have an external jetdirect card. Or if you wish to use bootp to give your internal jetdirect card its IP address.
  2. This is used if you have programmed your internal jetdirect card's IP address from the front panel of the printer. It can also be used if you have already set up a queue using selection number 1, or if another system on your network is providing bootp service to the jetdirect card. The best way to test if you can use this selection is if you can ping the printer by hostname. If so, select option 2.

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'. 

Problem troubleshooting tips and diagnostics


Caveats


Token ring setting

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 Token Ring Setting

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: 

Legend for /etc/bootptab file

first field
-- hostname (may be full domain name and probably should be)
hd
-- home directory
bf
-- bootfile
sa
-- boot server IP address
gw
-- gateways
ha
-- hardware address
ht
-- hardware type
ip
-- host IP address
sm
-- subnet mask
tc
-- template host (points to similar host entry)
hn
-- name switch
bs
-- boot image size




[ Doc Ref: 90605207114716     Publish Date: Jan. 17, 2001     4FAX Ref: 5933 ]