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

Direct Printing Without Spooler
157
npwrite
The data transfer program npwrite is provided with the host software
shipped with your 5525B/31/32 Internal Ethernet Network printer. It
sends data to the printer over a TCP connection. Data is read from a file
or, if no file is specified, from standard input. The format of the data is
not altered by this program; be certain it is in print-ready format.
This syntax for npwrite is as follows:
npwrite
ipname portname
[
filename
]
Where:
ipname
Internal Ethernet Adapter IP name or IP address
portname
I/O port on the Internal Ethernet Adapter (i.e. prn)
filenames
[optional] File name(s) to be printed. If no filename is
specified, data is read from standard input.
For example:
npwrite 192.75.11.32.prn testfile.txt
cat testfile.txt | npwrite 192.75.11.32.prn
where 192.75.11.32 is the Internal Ethernet Adapter’s IP address.
If the npwrite binary is not available on your machine, use rsh/rchmd/
remsh instead.
rsh/rcmd/remsh
The rsh/rchmd/remsh programs are remote command execution
clients that talk to the rshd server in the Internal Ethernet Adapter. rsh,
rcmd, and remsh are the same programs but have different names on
different UNIX systems.
The Internal Ethernet Adapter provides lp, lpstat, and cancel program
for print services through the rshd server. The lp command reads data
from the standard input and sends it to the specified port as follows:
• on SCO UNIX, use either of the following:
rcmd spike lp -d d1prn < testfile.txt
cat testfile.txt | rcmd spike lp -d d1prn
• On Sun UNIX
rsh spike lp -d d1prn < testfile.txt
cat testfile.txt | rsh spike lp -d d1prn