System V UNIX
165
Setting up an Interface Script
The following steps are the instructions for setting up your host with
npr.if.
NOTE: The commands provided represent a print setup involving a
printer named hp, an Internal Ethernet Adapter named spike,
and a printer attached to the Print Server’s com2 port.
1.
Copy the nprsysv.if file from the host software to the model
directory. Copy the file as npr.if or name it something more
meaningful.
cp nprsysv.if /usr/spool/lp/model/npr.if
2.
Edit the npr.if variables to suit your system environment. Look for
the comment section beginning with “EDIT THESE VARIABLES”
and at the end of this comment block, you will find the following:
When defining these variables, remember each is
case sensitive
.
Define them as illustrated in these descriptions.
NPDIR_PATH (mandatory) Define the directory location of chr,
banner, onlcr, and npscramble binaries. Usually /usr/
local/bin.
These binaries must be copied over from the host software.
COMM_PROG (mandatory) Specify a communication program to
transfer the data to the Internal Ethernet Adapter (i.e.
npwrite, rsh, rcmd, remsh). 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, gen7170).
UNIT_NAME
(mandatory) Define the Internal Ethernet Adapter IP
name
UNIT_PORT
(conditional) Specify the Internal Ethernet Adapter port
name (i.e. prn). Use only when COMM_PROG is
defined as npwrite.
Summary of Contents for PrintNet 5525B
Page 1: ...5525B 31 32 Line Matrix Printer User s Manual ...
Page 3: ...5525B 31 32 Line Matrix Printer User s Manual P N 422721 001 ...
Page 10: ...Table of Contents 10 ...
Page 194: ...Chapter 5 Configuring the Internal Ethernet Adapter for Windows 194 ...
Page 199: ...Printing a Hex Dump 199 Figure 15 Hex Dump Sample ...
Page 220: ...Appendix C 220 ...
Page 236: ...Index 236 ...
Page 237: ......
Page 238: ...170115 001A 5525B 31 32 Line Matrix Printer Compaq Computer Corporation P N 422721 001 ...