Microsoft KB Archive/97744

= How to Install HP Printers onto a LAN Manager Network =

Article ID: 97744

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft LAN Manager 2.0 Standard Edition
 * Microsoft LAN Manager 2.1 Standard Edition
 * Microsoft LAN Manager 2.1a
 * Microsoft LAN Manager 2.2 Standard Edition

-



This article was previously published under Q97744



SUMMARY
Hewlett-Packard (HP) provides software that makes it possible for various HP printers to attach directly to LAN Manager versions 2.0, 2.1, 2.1a, and 2.2 Ethernet and token ring networks.



MORE INFORMATION
The HP IIISi printer can use 3Com 3+Open network cards in a LAN Manager 2.x network IF you also use the HP Network Printer Interface software for LAN Manager. While the software from HP was written for LAN Manager 2.0, it appears to work correctly for LAN Manager 2.1, 2.1a, and 2.2 networks as well.

To perform some of the steps below, you must be logged on with an account that has ADMIN privileges, and you must reboot the server twice.

Make sure a LAN Manager server is installed. Have these items available:


 * The appropriate HP network interface card for either token ring or Ethernet networks.
 * The newest release of the HP Network Printer Interface software for LAN Manager (available on CompuServe in the HP Forum, Library 4 [LaserJet] as OS2NPI.ZIP).
 * A small flat-blade screwdriver and appropriate cabling for the network.

Note: If your Ethernet network uses unshielded twisted-pair (UTP) cable, you need the HP EtherTwist transceiver.

Procedure for Installation and Setup
 Before installing the network printer interface, install all printer options such as the HP IIISi Duplexing Unit Kit option, the PostScript Upgrade Kit, and extra memory. Note the address on the printer's network interface card. If you can't find it, run the printer self-test, which prints the address at the top-center of the self-test page). Install the appropriate network interface card, as detailed in the &quot;Network Printer Interface Administrator's Guide.&quot; Make sure the correct network port or data rate jumpers are set on the card.

Note the Ethernet card default for the BNC (thin coaxial cable) port and the token ring card default for a 4 Mbps data rate.

Attach the cable to the network and turn on the printer. If the printer is installed correctly on the network, its LED shows: 00 PCL READY or 00 PS READY. Install the remote boot protocol on the LAN Manager server using LAN Manager Setup.

WARNING:

Do NOT install the remote boot service. The HP IIISi uses DLC protocol and the remote boot service is NOT NEEDED for server to printer communications. Stop (NET STOP SERVER) and reboot the server. Log on with administrative privileges. Install ALL the printer drivers (such as MSNULL, IBMNULL, HP PCL5, and PSCRIPT) for which you want the printer to have queues. Use the OS/2 printer installer (OS/2 1.21) or Print Manager (OS/2 1.3 and later) as needed.

Do NOT create a printer or a queue for these drivers. If printers or queues have been created, use the Print Manager to delete them.

MSNULL is shipped with MS OS/2 for LAN Manager Servers. To install:

<ol style="list-style-type: lower-alpha;"> Choose Print Manager's Setup - Printer Install.</li> Choose New.</li> Type:

c:\lanman\drivers

for the printer driver location.</li> Choose OK. Note: HP software--not the Print Manager--defines the printer. To make uninstalled printer drivers available to the HP software, you have to install them, then delete the printer and/or queue created by Print Manager, leaving the driver in an installed status.</li></ol> </li> Insert the Install and Setup disk, and run INSTALL.EXE.

WARNING:

Before running SETUP.EXE (as the Install program directs), make the spooler correction described below if you are using anything other than MS OS/2 for LAN Manager Server. If you are using Microsoft's OS/2 (the OS/2 shipped with LAN Manager 2.1, 2.1a, and 2.2) skip to step 10.</li> As indicated in the README file that accompanies the software, you have to make a SPOOLER correction. Copy PMSPL.DLL and SPL1B.DLL from either the \121 or the \131 directory on the Install and Setup disk to the INSTALL directory (for example, C:\HPNETPRN):

<ul> If OS/2 version 1.21 is being used on the server, take the files from the \121 directory.</li> If OS/2 version 1.3 or OS/2 1.30.1 is being used on the server, take the files from the \131 directory.</li></ul> </li> THIS STEP IS APPLICABLE ONLY TO LAN MANAGER 2.0 AND LAN MANAGER 2.1:

You must include the HP DLL files in the LIBPATH as follows:

<ol style="list-style-type: lower-alpha;"> Save a copy of CONFIG.SYS by typing:

copy c:\config.sys c:\config.bak

</li> Modify CONFIG.SYS with the system editor by appending C:\HPNETPRN to the front of the LIBPATH variable. For example, if LIBPATH is

LIBPATH=C:\LANMAN\NETLIB;C:\OS2\DLL

change it to:

LIBPATH=C:\HPNETPRN;C:\LANMAN\NETLIB;C:\OS2\DLL


 * If you are using the MS OS/2 1.3 that comes with LM 2.1a and LM 2.2 ***

Remove C:\HPNETPRN from LIBPATH completely. You need to use the PMSPL.DLL from MS OS/2 1.3, not HP.</li></ol> </li> Stop (NET STOP SERVER) and reboot the server.</li> Log on with administrative privileges.</li> Select the HP Network Printer Setup icon or execute C:\HPNETPRN\SETUP.EXE directly.

From the Setup menu, choose Add Network Printer.

<ol style="list-style-type: lower-alpha;"> Define a printer name (for example, HP3SI) with a maximum of seven characters.</li> <li>Choose the correct card address from the choices available. If the card address for the printer you install does not appear, the server is not receiving the printer announcements on the network, perhaps due to bad cabling, separated networks, filtering, and so on.</li> <li>Define a queue name (for example, HP_PCL). When a queue is created by HP SETUP.EXE, its corresponding LAN Manager share will have the ADMIN ONLY check box set. To allow all users access, you must unset that check box. You can find it in the NET ADMIN program by performing a View Permissions on the Sharename for the queue you have just created. (You will be reminded of this later in step 15.)</li> <li>Select ALL the printer drivers you want the printer queues to have access to, for example: MSNULL, IBMNULL, HP PCL5, PSCRIPT.</li> <li>Choose Add.</li> <li>The SETUP.EXE program automatically creates a share for this queue.</li></ol> </li> <li>Using the OS/2 Print Manager, define the queues that will be available to users, if alternate queues are necessary. If all you need is the queue created by the HP Setup, skip to step 15.

<ol style="list-style-type: lower-alpha;"> <li>From the Print Manager's Setup menu, choose Queues, and select the Add button.</li> <li>Define a queue name (for example, HP3_PCL or HP3_PS).</li> <li>Choose the appropriate queue driver for your version of OS/2.

<ol> <li>If you have OS/2 versions 1.2x, choose LMPRINT.</li> <li>If you have OS/2 version 1.3 or later, choose PMPRINT.</li></ol> </li> <li>Select the Printer name defined in step 13a.</li> <li>Select a printer driver to associate with the queue. For example: MSNULL, IBMNULL, HP PCL5, or SCRIPT.</li> <li>Choose the Add button.</li> <li>Repeat steps 14a through 14f for all the queues that will be shared for printing.</li></ol> </li> <li>Using LAN Manager's NET ADMIN, define the shares for the queue(s) defined in step 14.

<ol style="list-style-type: lower-alpha;"> <li>From the View menu, choose Shared Resources and select Add Share.</li> <li>Choose Printer Share Type.</li> <li>Select a queue defined in step 14.</li> <li>Assign permissions.</li> <li>Remove the ADMIN ONLY check box that is set on the share created by the HP Setup program in NET ADMIN by performing a View Permissions on the Sharename for the queue.</li> <li>Repeat steps 15a through 15d for all other queues that will be shared for printing.</li></ol> </li> <li>For LAN Manager 2.0, use LAN Manager's NET ADMIN to save the share(s) created in SRVAUTO.PRO, if desired.</li> <li>You may have to make other changes regarding service access points (SAPs), maxthreads, and other items. Please refer to the README file that accompanies the software.</li> <li>Although HP's Network Printer software starts HPREDIR.EXE as a detached process by adding this line in the CONFIG.SYS:

run=c:\hpnetprn\hpredir.exe

You can also autostart HPREDIR when your machine boots (recommended procedure) by removing the RUN line in CONFIG.SYS and by adding the line START HPREDIR to the STARTUP.CMD file.</li></ol>

If you need more documentation call HP at (800) 538-8787; ask for part number C2059-90920 (for HP LaserJet IIISi printers) or part number C2071-90910 (for HP LaserJet Series II, IID, III, and IIID printers). These parts are available in the U.S. for $25.00 each.

<div class="references_section">