Mackie V7.0 Swimming Pool User Manual


 
122 U23841-J-Z915-6-76
Administering devices Configuring Xprint V7.0
6.4.5 Reconnecting 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 -dev printer_name -ho new_host [-da device_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.6 Reconnecting 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 -dev device_name -da device_file [-co type]
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