MIL-3000FTX Series of FastPort Print Servers
5-12
Edit the interface file so its contents function as a sub-shell. Output is then
piped to the
fpfilter
program. To do so:
a. First line of the interface file usually is
#!/bin/sh
. Add a single
open parenthesis in the second line of the file.
#!/bin/sh
(
# your existing interface script
b. Add a line to the second-to-last line (see example). This line closes
the parenthesis to make it a sub-shell.
) | /usr/local/milan/fpfilter -P alpha <
options>
exit 0
Host software is in
/usr/local/milan
. The host name is
“alpha”
in
/etc/hosts
.
For System V Release 4, place the following on the line after the
comments lines (“#”)
FILTER=“/usr/local/milan/fpfilter -P fastport <options>”
Options field contains any option listed in Table 5-3. To use a printer
config. file; use the
-D
option with fpfilter, followed by directory name
containing the
.fpconfig
file. For example:
-D /usr/local/milan
6. Enable the printer and accept these print job commands:
enable <
printer name>
accept <
printer name>
5.5.4 Manual Installation on IBM RS/6000
1. Edit file
/usr/lpd/qconfig
that specifies options for virtual printers.
2. Add the following lines:
milan:
device = lp0
lp0:
file = FALSE
header = never
trailer = never
access = both
backend = /usr/local/milan/commfilter.sh
where queue name is “milan”; host is in /usr/local/milan.