Configuring HP-UX For Peripherals
Chapter 8 207
Configuring Printers and Plotters
Configuring a Printer Using HP-UX Commands
Similarly, the ioscan output for a Series 800 might resemble this:
/usr/sbin/ioscan -fn -d lpr2
Class I H/W Path Driver S/W State H/W Type Description
===========================================================
ext_bus 2 56/53 lpr2 CLAIMED INTERFACE HP28655A-Parallel Interface
/dev/c2t0d0_lp
Both cases show that the drivers and device special files are present,
allowing HP-UX to communicate with the printer.
You can attach your printer without further operating-system
configuration and without bringing down the system.
Your next task is to configure the LP spooler, to enable you to send
print jobs to the printer or plotter. To do so, see "Managing Printers
and Printer Output," in Managing Systems and Workgroups.
• If any necessary static driver is absent from the kernel (for
example, if configuring the printer also involves adding an interface
card, or if you are configuring the printer to an interface not
previously used for a printer), the ioscan output of a Series 800
might resemble this:
/usr/sbin/ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
===========================================================
ext_bus -1 56/53 UNCLAIMED UNKNOWN HP28655A-Parallel Interface
Notice in this example, the Driver field for the parallel interface is
blank, the class and hardware type are unknown and no device
special file is displayed.
If the printer driver is absent, you will need to rebuild the kernel to
include it.
Here is how to do so:
a. Change directory to the build environment (/stand/build).
There, execute a system preparation script, system_prep.
system_prep writes a system file based on your current kernel in
the current directory. (That is, it creates /stand/build/system.)
The -v provides verbose explanation as the script executes.
cd /stand/build