
TCP/IP Configuration Chapter 6
6.2 UNIX Printing
Note
•Use of this default interface in most cases will suffice for generic or routine printing of most PostScript, PCL, and ASCII files. In order to utilize a printer specific interface other than the default interface script (named standard), you must have a copy of that printer inter- face edited and installed in the /usr/nic directory.
Next, you will need to edit the printer interface program you created in step 3.
4.At the prompt, type:
#cd /usr/nic
and using your favorite editor, open and edit the port1_interface file.
5.Search on FILTER=” and insert the following line above or below the # FILTER=”${LPCAT} section of the file. Remark out (using the # sign) any other FILTER entries present in this section of the file.
FILTER=“/usr/nic/infilter /usr/nic/
nicfilter printer_server_name 10001”
Note
•The <printer_server_name> must be the same as the one present in the /etc/hosts file. Optional arguments to be inserted after the 10001 entry and before the trailing “are ${banner}, ${user_name}, ${request_ID}, and ${files}. For further explanation of these and the statement above, refer to the System 5 Release 4 System Admin- istration Manual.
6.Save the file and close the editor.
You need to configure the
7.Type the following: