Configuring HP-UX For Peripherals
208 Chapter8
Configuring Printers and Plotters
Configuring a Printer Using HP-UX Commands
/usr/lbin/sysadm/system_prep -v -s system
b. Modify the /stand/build/system file to add the absent driver(s)
by invoking the kmsystem command. The -c Y specifies that
driver-name is to be configured into the system. (If you are adding
an interface card also, make sure to add the interface driver, as
documented in Chapter 3, “Configuring Interface Cards.”
/usr/sbin/kmsystem -S /stand/build/system -c Y
driver-name
NOTE To avoid introducing format errors, do not edit the HP-UX system
description files directly. Instead, use the commands kmsystem and
kmtune. These commands are new for Release 11.0; consult kmsystem
(1M) and kmtune (1M) in the HP-UX Reference.
c. Build the new kernel by invoking the mk_kernel command. This
creates /stand/build/vmunix_test, a kernel ready for testing.
/usr/sbin/mk_kernel -s /stand/build/system
d. Save the old system file by moving it. Then move the new system
file into place.
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
e. Prepare for rebooting by invoking the kmupdate command. This
sets a flag that tells the system to use the new kernel when it
restarts.
/usr/sbin/kmupdate
f. If your printer installation also requires that you install an E/ISA
card, you need to run eisa_config at this time to configure the
EISA or ISA bus. Consult Appendix A , “EISA Board
Configuration,” of this manual for tutorial and procedures and
eisa_config (1M) in the HP-UX Reference.
Step 4. Once the software configuration is complete, bring down the system with
sufficient grace period to allow users to exit their files. You can execute
/usr/sbin/shutdown -r or /usr/sbin/reboot.
If you have to install an interface card, bring the system to a complete
halt (that is, use /usr/sbin/shutdown -h or /usr/sbin/reboot -h).