Hi and welcome to the board.

What you want can be done very easily with a kix script.
A small example:

 Code:
If Left(@WKSTA, 6) = "be_105"
	;Delete the printer.
	$rc = DelPrinterConnection("printer_for_room_BE")
	;Connect the printer.
	$rc = AddPrinterConnection("\\printerserver\printer_for_room_BE")
	;Set the printer as default.
	$rc = SetDefaultPrinter("printer_for_room_BE")
Else
	;Do nothing.
EndIf 


Off course there are other ways you can walk. One of them is to use a Select - EndSelect statement.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.