190 U23841-J-Z915-6-76
Administering recovery rules Configuring Xprint V7.0
6.14.2 Assigning a recovery rule to a printer
To make a newly defined recovery rule effective for a printer, you must assign it
to the printer. Proceed as follows:
● If the printer is still active, deactivate it:
xpchange -dev [selection] -st NOT_ACTIVE
where selection is either the name of one or more printers or a selection
criteria list according to which the printers are selected.
● Now you can assign the new recovery rules to an existing printer with the
following command:
xpmod -dev [selection] -rr rule_name
This command assigns the recovery rules rule_name to the selected
printer(s). The option -rr rule_name can also be specified immediately when
a new printer is defined.
● Now you can reactivate the printers:
xpchange -dev [selection]
Example
Assigning a recovery rule Standard to all printers in the system:
xpchange -dev -st NOT_ACTIVE
xpmod -dev -rr Standard
xpchange -dev
6.14.3 Canceling the assignment of a recovery rule to a
printer
To cancel the assignment of a recovery rule set to a printer because you want
to reactivate the system’s default error recovery, proceed as follows:
● If the printer is still active, deactivate it:
xpchange -dev [selection] -st NOT_ACTIVE
where selection is either a list of printers to be deactivated or a selection
criteria list via which the printers are selected. If selection is not specified, all
printers are deactivated.