Using the Ethernet Card

Sharing a Printer Among Several

Workstations

Note:

Remote print service uses the initialization file at startup to assign the printer to the workstations’ port names. The file identifies the shared printer by the serial number of its Ethernet card, and identifies each workstation by the port names assigned in step 2.

The line in STARTUP.CMD ensures that the remote print service is initialized each time you start the workstation.

To set up two or more IBM LANServer workstations, use piping to configure a unique port name for each workstation instead of for each printer by following these steps:

1.Complete the steps in “Copying the Piping Software” on page 6-9.

2.From your workstation’s remote print service directory, send the ADDPORT <port name> command to configure a port for the first workstation and then any additional workstations.

3.Create an initialization file in the remote print service directory:

For TCP/IP, type:

REMPRT <card serial number> <port name>

For NetBEUI, type:

REMPRT3 <card serial number> <port name>

An initialization file for a printer that is shared by two workstations might look like the following:

REMPRT 100900416 PORTA PORTB

4.Edit STARTUP.CMD in your workstation’s root directory to include the REMPRT command and the initialization file on the last line:

For TCP/IP, type:

\EPNET\REMPRT @ REMPRT.INI

For NetBEUI, type:

\EPNET\REMPRT @ REMPRT3.INI

5.If necessary, use the LAN Server Administration program (NET ADMIN) to add the printer to the list of shared resources. See your OS/2 documentation for information.

6-12