HP (Hewlett-Packard) M208 Switch User Manual


 
50 CONFIGURING THE M208 FOR TCP/IP: Host Configuration
Host Software on page 31 for more details.
COMM_PROG (mandatory) Specify a communication program to transfer
data to the M208 (i.e. npwrite, rsh). If the program is
npwrite, define the UNIT_PORT variable. Otherwise,
define the LP_DEST variable.
PRINTER_TYPE (mandatory) Specify printer type (i.e. raw, ascii, ps, hp, pcl-
ps, gen7170).
UNIT_NAME (mandatory) Define the M208 IP name.
UNIT_PORT (conditional) Specify the M208 port name (i.e. prn, com1,
com2). Use only when COMM_PROG is defined as
npwrite.
LP_DEST (conditional) Specify M208 destination name. Use only when
COMM_PROG is defined as rsh.
#END_MARK_1
NPDIR_PATH=/usr/local/bin
COMM_PROG=rsh
UNIT_NAME=spike
LP_DEST=d3com2
PRINTER_TYPE=hp
BANNERPAGE=1
#START_MARK_1
Additional variables can also be defined within this variable section as indicated
by BANNERPAGE=1. Some other options are ASCII to PostScript conversion,
carriage return insertion, and scrambling. By setting a particular variable to a 1,
this option is then turned on and a 0 turns it off. These too are described further in
the beginning of npr.if.
4 Create the lp= device that is used as a locking mechanism for contending print
jobs.
touch /dev/spike.com2
chmod go+rw /dev/spike.com2
5 Start the print spooler.
lpc start hp
Examp
l
e
Note