
TCP/IP Configuration Chapter 6
6.2UNIX Printing
4.“What is the printer name?”
Type the desired printer name and press Enter .
Your screen will now display the information you provided to the install script. For example:
Node name of the NIC: printfast
Printer name to be used: <printer_name>
The printer is attached on: PORT 1
You are asked to OK this configuration. Type yes or no and press Enter .
5.The script starts the daemon for the newly configured printer automatically. It also displays the path used should you ever need to restart the daemon. In the following example, the path would be:
/usr/nic/lpr_print /dev/nic/<printer_name>
printfast 10001 &
This example reflects names supplied to the script earlier.
When the installation script is complete, you must configure the printer and make it known to the lp system. The HP/UX lp system uses the lpadmin maintenance command to configure a printer (there is not a /etc/printcap file). The specific commands to do this are:
#lpadmin
<printer_name>
#enable <printer_name>
#accept <printer_name>
You can also use other options for the lpadmin command. See your system documentation for details.
Note
•The printer name must be the same as the one you entered during the NIC installation. HP supplies the sam program as an alternative to configure the printer.