Administering devices

Configuring Xprint V7.0

6.4.5Reconnecting a printer to another system

To move a printer from one system to another, use the following procedure:

Deactivate the relevant printer:

xpchange -dev printer_name -st NOT_ACTIVE

where printer_name represents the name of the printer to be reconnected.

Specify the host to which the printer is to be connected: xpmod -devprinter_name -honew_host [-dadevice_file]

For new_host specify the name of the host at which the printer is to be available from now on.

If the printer is no longer connected to the same port (e.g. /dev/lp0 instead of /dev/lp), specify a new file for device_file.

Reactivate the printer: xpchange -dev device_name

6.4.6Reconnecting a printer to a different port

If you want to connect a defined printer to a different port on the same system, you only need to modify the device definition - you do not have to delete and redefine the printer.

Check whether the relevant printer is still active. Use the following command: xpstat -dev [selection]

If the printer is still active (output: State: ACTIVE), you must deactivate it before modifying it:

xpchange -dev [selection] -st NOT_ACTIVE

Then modify the printer definition using the following command: xpmod -devdevice_name -dadevice_file [-cotype]

where device_name is the name of the printer whose definition is to be modified.

Depending on the type, device_file specifies to which port the printer is attached (e.g. /dev/term/tty001 or /dev/term/tty002 for serial, or

/dev/lp0 or /dev/lp1 for parallel ports), or which LAN address and port

122

U23841-J-Z915-6-76

Page 134
Image 134
Mackie V7.0 manual Reconnecting a printer to another system, Reconnecting a printer to a different port