Configuring HP-UX For Peripherals
206 Chapter8
Configuring Printers and Plotters
Configuring a Printer Using HP-UX Commands
Configuring a Printer Using HP-UX
Commands
First configure the software for the operating system. Then, if necessary,
bring down the system to install hardware. When you reboot, HP-UX will
automatically bind the drivers to the peripherals it finds.
Step 1. Consult the tables in “Selecting Device Drivers for Your Printer or
Plotter” to identify which drivers need to be present in your kernel for
HP-UX to communicate through the intended interface with the printer.
Step 2. Execute /usr/sbin/lsdev -d
printer_driver
to see whether the
driver is already in the kernel. If it is, you might see output resembling
the following (shown for a Series 700 parallel interface):
/usr/sbin/lsdev -d CentIf
Character Block Driver Class
216 -1 CentIf ext_bus
For a Series 800 parallel interface, executing /usr/sbin/lsdev
-d lpr2 might show similar output, but the character major number is
181. In both Series 700 and 800 systems, the interface class is ext_bus.
Step 3. Determine how much additional configuration is needed for the printer
by invoking the command, /usr/sbin/ioscan
-fn -d
printer_driver
.
• If the necessary drivers are already present in the kernel, the
ioscan output of a Series 700 might resemble this:
/usr/sbin/ioscan -fn -d CentIf
Class I H/W Path Driver S/W State H/W Type Description
=============================================================
ext_bus 1 2/0/6 CentIf CLAIMED INTERFACE Built-in Parallel Interface
/dev/c1t0d0_lp