99
CHAPTER 6: UNIX Printing through TCP/IP
For example, type 1 and press return.
10. Your screen will now display the information you provided the install
script. For example:
Type of Print Server: Ethernet Print Server
Node name of the Print Server: DPIfast
Printer name to be used by this printer: <printer_name>
The printer is attached on: port 1
Do you want to accept this configuration? Type “yes” or “no” and press
return.
11. Is this printer PostScript? Type “yes” or “no.” Press <Return>.
12. The script starts the daemon for the newly configured printer
automatically. It also displays the path used in case you ever need to
restart the daemon. In the following example, the path would be:
/usr/dpi/dpi_print/dev/dpi/printer_name DPIfast 10001 &
This example reflects names supplied the script earlier.
When the installation script is complete, you must still 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 no /etc/printcap file). The specific commands
to do this are:
lpadmin -p printer_name -v dev/dpi/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 that the printer name must be the same as
the one you entered during the Ethernet Print Server installation. HP
supplies the sam program as an alternative to configure the printer.
When using sam, specify everything as if the printer were directly connected
to /dev/dpi/printer_name.
The software installed with your HP system can satisfy most of your printing
needs. HP supplies ASCII-to-PostScript filters and the system will invoke them
automatically if you define the content type of the printer as PostScript. The
HP/UX lp system also supplies interface scripts that produce PostScript
banners. Use the lpfilter command to define new filters and content types if
necessary. The full power and flexibility of the lp print service is now
available to you: printing across the network is completely transparent.