Configuring HP-UX For Peripherals

196 Chapter8
Configuring Printers and Plotters
Preparing to Configure HP-UX for a Printer or Plotter
Preparing to Configure HP-UX for a Printer or
Plotter
Choosing Means of Access
Printers and plotters can be connected to the system to be accessed
locally, remotely, or through the network. In the following example, the
printer print1 is physically connected to a system named sys1.
/---------\ +--------------+ +--------------+
| printer | | HP-UX system | | HP-UX system |
| print1 |<--| sys1 | | sys2 |
\---------/ +-----+--------+ +-------+------+
| LAN |
<===============+===================+=========>
The physical connection might be serial (RS-232-C), parallel, or SCSI,
depending on the system interface and printer. print1 is connected as a
local printer to sys1. The LP spooler on sys1 is configured to include the
local printer print1. Print requests generated on sys1 are spooled
directly to print1.
Users on a system called sys2 can also access printer print1 as a remote
printer, provided the LP spooler on sys2 is so configured. (The remote
printer can be named anything for users on sys2, but consistency in
naming simplifies the configuration.)
If you use the HP-UX command-line interface, the complexities of setting
up remote access are accomplished using the lpadmin (1M) and
rlpdaemon (1M)commands.
In the following example, the printer print1 is accessed by both sys1 and
sys2 as a network printer. print1 is connected directly to the LAN and
has its own IP address. There is no direct connection (RS-232-C, parallel,
or SCSI) between the printer and any HP-UX system ( sys1 or sys2).
+--------------+ +--------------+
/---------\ | HP-UX system | | HP-UX system |
| printer |<--| sys1 | | sys2 |
| print1 | +-----+--------+ +-------+------+
\------+--/ | |
| | LAN |
<=+=============+========================+=========>
Configuring access to a network printer is more complex than