Document Number: NIPRSUP1008 Setting up TCP/IP on a Win 95/98 PC (for use with a print server) This document is to serve as a brief guide to setting up a TCP network for printing to an lpd-enabled printer (Tektronics, Lantronix, HP JetDirect, Xerox, etc.). The benefits of printer sharing and the speed of printing via TCP makes this a popular network combination, and remember that this will co-exist with an existing protocol or protocols (like the Windows peer-to-peer networking). We’re assuming that you’re using Windows 95, and that the ethernet hardware is in place and that you DON’T already have a TCP/IP protocol in place (if you do, see your LAN administrator instead of following these steps). Our example network will consist of three Windows 95 PCs and one ethernet-attached printer. The steps follow: 1. Plan the IP addressing scheme 1.Plan the IP addressing scheme
2. Address the Printer 3. Add the TCP/IP protocol in each Windows 95 PC and provide address 4. Test the TCP connection ping 200.100.100.1 If successful, it will return this (or something similar) almost immediately: Reply from 200.100.100.1: bytes=32 time=1ms TTL=128 If not, it will return: Request timed out. From one PC, you should be able to ping each address in turn. Obviously if you have one or more that are not successful you’ll want to go back and check your steps before continuing. You will not be able to print via TCP if your ping tests are unsuccessful. 5. Install and Configure NIPrint: Next, run NIPrint and go to the Configuration, General Settings screen and check the Enable Remote Print Server checkbox. Hit Ok and go to Configuration, Remote Print Configuration. Click Add Printer. At this point, you need to specify the NAME of the printer. What can be challenging is knowing the appropriate printer or queue name that lets you access the TCP/IP lpd capability. This is the name you need to use in Remote Print Configuration in NIPrint. Since these devices are made to work in many environments (Netware, AppleTalk, Unix), the documentation doesn’t usually say “Here’s the name you use to access lpd in so-and-so mode”, so it’s hard to get that info without a call or two to the manufacturer, so here’s as much information as we’ve gathered in order to at least provide an example (listed by manufacturer): Tektronix: HP JetDirect: Lantronix: Xerox (DocuTec): Emulex: Once you’ve entered the appropriate printer name and the IP address of the printer, enter the User name and then hit Ok and then the Save button. There are advanced settings available, but the defaults are fine for now. When you Save the remote printer in NIPrint, the program adds a new port to the printer ports list in Windows 95. The next step is to add a printer to Windows 95 for the new printer and connect it to this new port. Add the new printer driver as you normally would (Start, Settings, Printers) from the list or unlisted (if you’re using the driver from the printer manufacturer). As you add it, there will be an option for Local or Network printer. You must choose Local. Then go through the normal installation until you get to the port selection. Choose the NIPrint port from the list (it will look like “c:\ni\out\printername\job” in the ports list); then finish. To test the whole thing, choose an application in Windows 95 (like Word or something simple) and print a short document. If you don’t get output, check the Remote Print Trace in the NIPrint Help menu, or call Network Instruments for help. |