UNIX Printing Through TCP/IP 5-43
UNIX Printing Through TCP/IP
Installing
TCP/IP
If Not Running lpd
Installing and Printing on System V (Solaris Ver. 2)/System V
Rel. 4 386-based Machine (continued)
Most Version 2 Solaris machines have a shell variable called FILTER that
can be 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 NC-2 Print Server name (PSC_name) and the Print
Server port (10001) indicated above to enable the nicfilter to connect to the
Print Server unit. The name must be the same as the one you entered in
/
etc/hosts
for this Print Server.
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 pass to the interface file. They will be available in any
interface script as shell variables, although they may have different names.
If you disable banners in the lp command, the system will set the
${nobanner} option to yes. This will suppress the NC-2 Print Server banner
generation.
If you don’t define the FILTER shell variable in your interface file, you can
usually modify it to pipe data to nicfilter. The simplest way to accomplish
this is to enclose the entire script in parentheses and pipe it to nicfilter,
using the arguments described above.
If you wish to use the banner generated by the interface file, simply omit the
last four arguments.
NOTE: These arguments are shell variables from the interface file. They may have different
names (names used above are from the standard interface file supplied with most Version 2 and
i386 systems).
Summary of Contents for Ai5555
Page 2: ......
Page 6: ...1 ...
Page 10: ...Section 1 NC 2 Introduction ...
Page 16: ...Section 2 Installation ...
Page 22: ...Section 3 NetWare Configuration ...
Page 82: ...Section 4 AppleTalk Configuration and Administration Program ...
Page 91: ...Section 5 UNIX Printing Through TCP IP ...
Page 140: ...Section 6 Troubleshooting ...
Page 165: ......