6.2 UNIX Printing

6-33

TCP/IP Configuration Chapter 6
Note
Next, you need to initialize the printer
8. Type the following commands:
#accept <printer name>
#enable <printer name>
Note
9. Type the command:
#lp -d<printer name> /etc/hosts
Check for output, or type the following:
#lpstat <printer name>
or
#lpstat -t

6.2.3.8 Installing & Printing on a SCO UNIX System

Installation and setup is similar for HP/UX and SCO UNIX systems.
The NIC solution uses a network direct filter called nicfilter. The
system invokes nicfilter directly from the printer interface file.
After completing software download in Section 6.2.3.1 Loading the
Software, you must configure the printer and make it kno wn to the lp
system. Follow the steps below:
1. Run the Installation script by typing:
#nicinst
The script automatically do wnloads the correct NIC utilities
for your particular system and prompts you for information
as needed.
lpadmin configures the printer name and associates it with a given
device and printer interface program. There is no /etc/printcap file
involved with this method of configuration.
After each entry, lpadmin should provide an ackno wledgment of the
command invoked.
PageWorks.book Page 33 Tuesday, August 4, 1998 11:21 AM