Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a Workgroup
Configuring Printers for a Workgroup
Chapter 4 439
Adding a Network-Based Printer
Using SAM You can use SAM to add a network-based printer that uses the HP
JetDirect Network Interface. The HP JetDirect software must be
installed on your system and you must be prepared to provide SAM with
the following:
the printer’s node name (the name associated with an Internet
address)
the local name that the LP spooler will use to refer to the printer.
With HP JetDirect, printers can connect directly to the network. The
printer uses a LAN connection and the HP JetDirect software transmits
prints requests. For more information, see HP JetDirect Network
Interface Configuration Guide.
Using HP-UX
Commands
If you do not use SAM, follow the instructions shipped with your printer
or the network interface card for the printer.
Creating a Printer Class
For conceptual information, read “Printer Class” on page 111.
You can use SAM to add a printer to a printer class when the printer is
being added to the spooler; otherwise, you must use HP-UX commands.
To use HP-UX commands, follow these steps after several printers have
been added to the LP spooler:
Step 1. Ensure that you have superuser capabilities.
Step 2. Stop the LP spooler:
/usr/sbin/lpshut
For more information, see “Stopping and Restarting the LP Spooler” on
page 703.
Step 3. Create the printer class, specifying the printer you want to add to the
class of printers.
For example, to add a printer named laser1 to the class of printers
named laser, enter:
/usr/sbin/lpadmin -plaser1 -claser