Configuring HP-UX For Peripherals

216 Chapter8
Configuring Printers and Plotters
Moving a Printer or Plotter
Moving a Printer or Plotter
To move a printer or plotter, first remove it and then add it to your
configuration. This sample procedure demonstrates attaching a printer
to a different interface card.
Step 1. Notify users that you are moving the printer or plotter.
Step 2. If you have customized it, copy the /etc/lp/interface/
printer_name
to a temporary location.
cp /etc/lp/interface/laserjet /etc/lp/interface/laserjet_old
Step 3. Remove the printer or plotter from the LP spooler by following the
procedure for "Removing a Printer or Printer Class using HP-UX
Commands" detailed in the chapter, "Managing Printers and Printer
Output" of the Managing Systems and Workgroups manual.
Step 4. Execute /usr/sbin/ioscan to identify the printer or plotter's hardware
address, which you are going to change.
Step 5. Turn off, unplug, and disconnect the printer or plotter.
Step 6. Reset the switches on the printer or plotter, if necessary, and attach the
device to the new hardware location.
Step 7. Execute ioscan again. ioscan reports the new address and indicates
under S/W State that no hardware is present at the old printer address.
HP-UX automatically creates a device file to access the printer except:
If you are configuring a printer to a serial port: Create the device
special file by following the instructions in the section “Creating a
Device Special File for a Printer or Plotter Configured to a Serial
Port”.
If you are configuring a plotter: Force HP-UX to recognize the plotter
at the new address by following the instructions in “Configuring a
Plotter or other Non-Automatically Configurable Output Devices
Using HP-UX Commands”.
Next, configure the LP spooler to recognize the printer or plotter at its
new location by consulting the chapter, "Managing Printers and Printer
Output" in the Managing Systems and Workgroups manual.