A SERVICE OF

logo

132 U23841-J-Z915-6-76
Administering printer groups Configuring Xprint V7.0
6.5.6 Deleting a printer group
The xpdel -dgr command allows you to delete any printer group you can
access. In this case, the individual printers of the printer group are not deleted.
Check first whether the printer group you wish to delete is referenced by
other Xprint V7.0 objects:
xpshow -dgr [selection]printer_group -diR
With printer_group, you specify exactly one printer group to be deleted. If you
want to delete several groups, you must repeat this command for each of
these printer groups.
If you do not specify a selection, the command refers to all printer groups in
the system; otherwise you can either specify a list of the printer groups to be
removed, or you can define a list of selection criteria with the -scl
“selection_criteria_list” option (see section “Selection criteria list” on
page 266 in the Appendix) according to which the printer groups to be
removed are selected.
If references to the printer group are displayed, you must remove these by
modifying the displayed objects such that they no longer refer to this group.
Delete the printer group with the following command:
xpdel -dgr [selection]
If selection is not specified, the command refers to all the printer groups in the
Xprint V7.0 system. Otherwise you can either specify a list of the printer
groups you want to delete, or you can use the -scl “selection_criteria_list”
option (see section “Selection criteria list” on page 266 in the Appendix) to
define a list of criteria according to which the printer groups to be deleted are
selected.
Examples
To delete the printer group named group1:
xpdel -dgr group1
To delete all printer groups containing printer printer8:
xpdel -dgr -scl "-dl printer8"