A SERVICE OF

logo

44 CONFIGURING THE M208 FOR TCP/IP: Host Configuration
on Sun UNIX, either of the following:
rsh spike lp -d d1prn < testfile.txt
cat testfile.txt | rsh spike lp -d d1prn
where spike is the M208’s IP name and d1prn is the destination.
Printing Via the Spooler
Once you know your communications are correct and you can successfully print
directly to the Print Server, you can integrate the spooler.
Interface scripts play important roles in BSD spooling environments and especially
with System V print spoolers. BSD systems also provide a remote printing method
that utilizes the spooler but needs no script or host software at all.
The following sections elaborate on different spooling environments and provide the
manual steps for full host configuration in various environments. ezsetup or npconfig,
in most cases, can be used instead to simplify the setup process. Please see ezsetup
and npconfig on page 32 for further details.
npr.if Interface Script
The npr.if interface script provided works in most environments, but it can be
replaced by a custom interface script if you have other requirements. It is usually a
UNIX script which reads parameters from the command line, processes the job
according to the parameters, and sends it to the destination.
Two interface scripts, nprbsd.if and nprsysv.if, are shipped in raw state. These inter-
face scripts can be named anything you would like. Load the appropriate one for your
system spooler type and use it in this state if the M208 can do sufficient processing.
The M208 itself contains enough processing options, when they are turned on, to han-
dle most processing needs without the need for host software. Some of these options
include ASCII to PostScript conversion (a2ps) and carriage return insertion (onlcr).
Therefore, host software may be unnecessary and you can turn off all processing
options on the host. Please see Host Software on page 31 to find out more about these
options.
If you require high-speed printing, use one of the interface scripts with host process-
ing turned on. This removes processing load from the Print Server and increases print-
Example
N
o
t
e