Kyocera Ai5555 NC-2 Instruction Hand Book - Page 133

Installing and Printing on System V Solaris Ver. 2/System V, Rel. 4 386-based Machine continued

Page 133 highlights

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). UNIX Printing Through TCP/IP 5-43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167

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).