beautypg.com

Mandatory settings, Optional settings, Os/2 workstation configuration – Printronix Network Interface Card User Manual

Page 204: Using the lpr command

background image

Chapter 8

OS/2 Workstation Configuration

204

Mandatory Settings

The NIC must be configured with an IP address and subnet mask,
at a minimum. Consult your network administrator to obtain the
proper values for these parameters.

Optional Settings

One additional setting, the gateway address, is necessary if the
OS/2 workstations must communicate with the NIC across a router.
Consult your network administrator to obtain the proper value for
this parameter. To configure these options, see “Configuration
Tools” on page 34.

OS/2 Workstation Configuration

OS/2 must use the TCP/IP LPR protocol in order to send print jobs
to the NIC. This section explains how to use the LPR command and
how to set up an OS/2 print queue (which will forward jobs to the
printer using the LPR protocol).

Using The LPR Command

At an OS/2 command prompt, enter:

lpr -s ip_address -p NIC_queue filename

where NIC_queue is the name of an existing destination/queue on
the NIC, and it must be lowercase by default. You will most likely
use d1prn. If the IPDS feature is installed, queue name d4prn is
not available.

Troubleshooting

Check the IP information on both the NIC and the OS/2 station for
correctness. Make sure the

NIC_queue is actually defined on the

NIC and that you are spelling it correctly.