U N I X P r i n t i n g
5-40
❖
D o c u P r i n t 4 5 1 2 / 4 5 1 2 N N e t w o r k I n t e r f a c e C a r d U s e r G u i d e
2. Select your system. Choose one from these options:
1) AT&T/SVR4; 386
2) SCO UNIX System V
3) None of the above
Type 1, 2, or 3 and press
.
3. You have now installed TCP/IP on the NIC. Copy your
interface file (/usr/nic is a good place to keep your copy).
4. You must edit the printer interface program this printer
uses to redirect output to the NIC. You can then configure
your printer using
lpadmin
.
In most cases you will use the default interface script named
standard
(usually found in the /usr/spool/lp/admins/lp/model
directory). Sometimes you may wish to use an interface tuned
to a specific printer. You must have a copy of the of the
interface file for the port you want to initialize. For example:
cp /usr/spool/lp/model/standard /usr/nic/port1_interface
Most Version 2 Solaris machines have a shell variable called
FILTER that you can changed to invoke nicfilter. A typical
example is:
FILTER="/usr/nic/infilter | /usr/nic/nicfilter \
PSC_name 10001 ${nobanner} \
${user_name} ${request_id} ${files}"
You must specify the NIC name (PSC_name) and NIC port
(10001) for
nicfilter
to connect to the NIC unit. The name
must be the same one that you entered in /etc/hosts for this
NIC.
The remaining arguments are optional.
nicfilter
uses them to
produce a high quality banner. The lp print service user
name, request id, file names and options always passes to the
interface file. They will be available in any interface script as
shell variables, although they may have different names.
Book.frm : CHAP5.FRM Page 40 Saturday, October 12, 1996 7:43 AM