5525B/31/32 Line Matrix Printer User's Manual
Table Of Contents
- 1 Introduction
- 2 Setting Up the Printer
- 3 Operating the Printer
- 4 The Configuration Menus
- Configuration Overview
- CONFIG. CONTROL
- ACTIVE EMULATION
- EMULATION
- PCL-II Emulation
- LinePrinter Plus Emulations
- Optional Emulations
- PCL-II Emulation
- LinePrinter Plus Emulation
- P-Series Emulation
- Proprinter XL Emulation
- Epson FX Emulation
- IGP/PGL Submenu
- Features
- Configuring the Emulation with the Control Panel
- Define CR Code (Carriage Return)
- Define LF Code (Line Feed)
- Autowrap
- Select SFCC
- PI Slew Range
- CR Edit
- Select Font
- Select LPI
- Auto Uppercase
- Skip Command Prefix
- Power On IGP/PGL
- Extended Execute Copy
- UPC Descenders
- Compressed CPI
- Ignore Character
- IGP100 Compatbl.
- Optimized Ratio
- IGP/VGL Emulation
- MAINT / MISC
- HOST INTERFACE
- ETHERNET PARAMETERS
- PRINTER CONTROL
- DIAGNOSTICS
- RIBBONMINDER
- 5 Interfaces
- Overview
- Dataproducts Long Line Interface
- IEEE 1284 Parallel Interface
- RS-232 and RS-422 Serial Interfaces
- Host System Configuration
- Internal Ethernet Adapter Configuration
- Configuring the Internal Ethernet Adapter for TCP/IP
- Host Software
- Compiling Host Software
- Computer-aided Configuration with ezsetup or npconfig
- Configuration Through the Network with ARP
- Configuration Through the Network with RARP
- Configuration Through the Network with BOOTP
- Restoring Factory Defaults
- Host Configuration
- Direct Printing Without Spooler
- Printing Via the Spooler
- Custom Interface Scripts
- BSD UNIX
- System V UNIX
- npd Pseudo-device Interface
- Other TCP/IP Methods
- Configuring The Internal Ethernet Adapter For Novell
- Configuring the Internal Ethernet Adapter for Windows
- 6 Troubleshooting
- A Printer Specifications
- B Downloading Firmware
- C ASCII Character Set
- D Communication and Trademark Information

Chapter 5 Configuring the Internal Ethernet Adapter for TCP/IP
162
nprbsd.if
Name of the interface script
width
Width of page in characters
length
Length of page in inches
indent
Number of characters of indent from left margin
login
Login name of user originating print request
host
Name of host where the print job originates
acct_file
File where accounting data is stored
Setting up an Interface Script
To set up your host with an interface file, add an entry to the /etc/
printcap file, then create and edit its associated files and directories.
The following is an example of the printcap entry, followed by the
necessary command for creation of the entries:
hp:\
:sh:pw#80:mx#0\
:lp=/dev/spike.prn:\
:sd=/usr/spool/lpd/spike/prn:\
:lf=/usr/spool/lpd/spike/prn/log\
:af=/usr/spool/lpd/spike/prn/acct:\
:if=/usr/spool/lpd/spike/prnnpr.if:
Where hp is the printer name sending jobs to the Internal Ethernet
Adapter named spike through the interface file npr.if. To create these
entries, do the following:
1. Create the printer’s spooling directory and associated files.
cd /usr/spool/lpd
mkdir spike
mkdir spike/prn
touch spike/com2/log spike/ps/acct
chown -R daemon.daemon spike
chmod -R g+rwX,o+rX spike
2. Copy the nprbsd.if file from the host software to the spool
directory. Copy the file as npr.if or name it as something more
meaningful.
cp nprbsd.if /usr/spool/lpd/spike/prn/npr.if
cd /usr/spool/lpd/spike/prn
chown daemon.daemon npr.if
chmod g+rwX,o+rX spike
3. 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: