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
168
npd locks
As npd acquires an exclusive lock on the Internal Ethernet Adapter
port, it is possible to lock out other daemons that may reside on other
UNIX hosts. Therefore, npd is designed to timeout and release the lock
if the pseudo-tty pair is idle for a specified time (30 seconds). You can
modify this value with the -t option.
npd -t 60 /dev/spike.prn spike prn
for the timeout to occur in 60 seconds.
Testing npd
Once npd has been started, test to see if npd is working before
attempting to print through the spooler. The following is one test
method:
cat test.txt > /dev/spike.prn
redirects the cat output of test.txt to the npd device /dev/spike.prn
which is then sent to the Internal Ethernet Adapter named spike.
Modifying a Host to Use npd
If you want the npd daemon to start every time you reboot your UNIX
machine, edit your -rc file to include the appropriate npd startup
command (from the previous section). After npd starts, integrate the
print spooler into this pseudo-tty setup.
In BSD print spooler systems, modify the lp= field in the appropriate
printer entry in /etc/printcap file. Set lp= to the
devicefile
argument of
the npd program.
On System V systems, the -v option in the lpadmin command will equal
the
devicefile.
Stopping npd
Whenever an npd daemon starts, it makes a log entry in the /usr/adm/
npdlog file. The contents of this file have the following naming
information:
pid ipname port masterfile slavefile devicefile