Configuring HP-UX For Peripherals

Chapter 8 213
Configuring Printers and Plotters
Configuring a Plotter or other Non-Automatically Configurable Output
Devices Using HP-UX Commands
Configuring a Plotter or other
Non-Automatically Configurable Output
Devices Using HP-UX Commands
NOTE Although this procedure refers explicitly to plotters, it can be used to
configure other devices that need the instr0 device driver on a Series
800 computer.
Unlike printers, plotters cannot be automatically configured by the
kernel. Instead, you must manually ensure that the driver is associated
with the hardware path by using the capabilities of ioscan.
Step 1. Connect your plotter, noting the hardware address to which you are
connecting it and the HP-IB address to which you are setting the plotter.
In this example, we are configuring an HP 7596A Draftmaster II to an
HP-IB interface located in card-cage slot 12 in a Model 806 computer.
The HP-IB address is set to 5.
Step 2. Identify the hardware path to the plotter by invoking ioscan. An excerpt
of the output might resemble the following:
/usr/sbin/ioscan -f
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
bc 0 root CLAIMED BUS_NEXUS
bc 1 56 bc CLAIMED BUS_NEXUS Bus Converter
lanmux 0 56/44 lanmux0 CLAIMED INTERFACE HP J2146A - 802.3 LAN
lan 1 56/44.1 lan3 CLAIMED INTERFACE
The interface driver is hpib1 and the hardware path of interface card to
which the plotter is connected is 56/48 (hardware path equals slot
number times four; the bus converter is in slot 14, the interface card is in
slot 12). Neither the HP-IB address of the plotter nor the instr0 device
driver is shown.
Step 3. Rebuild the kernel to include the instr0 driver. Here is how to do so:
a. Change directory to the build environment (/stand/build). There,
execute a system preparation script, system_prep, which extracts the