UNIX Configuration 7-19
7.4.7 Installing and Printing on a System V (Solaris Ver. 2)/System
V Rel. 4 386-based Machine
Installation and setup is exactly the same for System V Solaris and SVR4 i386-based
machines. Solution uses a network direct filter called nicfilter. The system invokes
nicfilter directly from the printer interface file. To load the software, create a /usr/nic
directory and tar the TCP/IP diskette to it.
1.
Go to the /usr/nic directory by entering the following:
cd /usr/nic
2.
Run the Installation script by typing: nicinst.
Once the operating system has been identified, the script downloads the files for
your particular system, to the /usr/nic directory, and prompts you for information
as needed.
3.
Type cd /usr/spool/lp/model/standard/usr/nic/port1_interface
Note:
Use of this default interface in most cases will suffice for generic or routine print-
ing 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 interface edited and installed in the /usr/nic directory.
Next, you will need to edit the printer interface program you created in step 3.
4.
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 <print 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 Sys-
tem Administration Manual.
6.
Save the file and close the editor.
You need to configure the host-side printer using lpadmin.
Cover-Preface.book Page 19 Wednesday, August 19, 1998 11:57 AM