You can configure the Windows NT-based Barr Enterprise Print Server for receiving Metacode data from TCP/IP networks through LPR. When data is sent to a TCP/IP host through the LPR protocol, the host is responsible for sending the print job to the printer.
Follow these steps to configure the BARR/PRINT for TCP/IP option.
Complete the following steps to install and configure the TCP/IP protocol on your Windows NT workstation.
From the Start menu, select Settings, Control Panel, and then double-click Network.
Select the Protocols tab. If you do not see TCP/IP Protocol listed under Network Protocols, click Add.
Select TCP/IP Protocol and click OK.
Configure TCP/IP automatically or manually.
Configure the TCP/IP protocol automatically if there is a Dynamic Host Configuration Protocol (DHCP) server on your network. Configure the TCP/IP protocol manually if there is no DHCP server or if you are configuring a Windows NT server to be a DHCP server. Contact your network administrator to find out if there is a DHCP server installed on your network.
You can automatically configure TCP/IP services if you have a DHCP server on your network. Because your local computer is configured with the correct IP address, subnet mask, and default gateway, this automatic process ensures easy and accurate installation of TCP/IP.
Follow these steps to configure TCP/IP automatically.
Contact your network administrator to find out if there is a DHCP server installed on your network.
From the Start menu, select Settings, Control Panel, and then double-click Network.
From the Protocols tab, select the TCP/IP Protocol, and then click Properties.
From the IP Address tab, click Obtain an IP address from a DHCP server, and then click OK.
Restart your computer to initiate automatic configuration by the DHCP server.
You must configure TCP/IP manually if there is no DHCP server, or if you are configuring a Windows NT server to be a DHCP server. In this case, you must manually enter valid addressing information after the TCP/IP protocol software is installed on your computer. To avoid duplicate addresses, be sure to use the values for IP addresses and subnet masks that are supplied by your network administrator.
Follow these steps to configure TCP/IP manually.
To configure TCP/IP, you must be logged on as a member of the Administrator group on the local computer.
From the Start menu, select Settings, Control Panel, and then double-click Network.
From the Protocols tab, select the TCP/IP Protocol, and click Properties.
From the Adapter list on the IP Address tab, choose the network adapter for which you want to set IP addresses.
For each bound network adapter, type values in the IP Address and Subnet Mask fields.
For each network adapter, type the correct IP address value in the Default Gateway field. Click OK.
Restart your computer.
You can send a test document to BARR/PRINT TCP/IP to make sure the software is receiving documents. Enter the following command at the command prompt:
LPR -Sserver -Pprinter print file name
After the -S parameter, enter the name or the IP address of the computer to which the printer is connected.
After the -P parameter, enter the name of the printer for the desired queue.
Enter the name of the file to be printed.
Follow these steps to add LPD print queues.
Open the BARR/PRINT TCP/IP Configuration Utility.
Select the LPD tab and click Add. The Queue Properties dialog box displays.
Type the Queue name. (For the purpose of the example, type Metacode.) This name must match the name specified in the Host field of the Metacode TCP/IP remote printing (LPR) port (see chapter 3).
Click Add to assign LPD file properties. The File Properties dialog box displays.
Specify Default as the LPD file type.
Specify Barr DOS with headers (ASCII or S/370) as the type of file you are receiving.
If necessary, define From File processing and select an Output statement or a Code page.
Follow these steps to start the LPD service manually.
From the Start menu, select Settings, Control Panel, and then double-click Services.
Select BARR LPD and click Start.
To exit the Services list, click Close.