We had to move more than 400 users to a new location that had a completely new infrastructure. Adding printers was a big hassle. I wrote a KIX script, which Listing 1 shows, that checks for group membership, then sets the appropriate printer. This script includes a level of error-checking: If the script successfully adds the printer, it displays an onscreen message that contains the userid variable and says the process was successful. If the script doesn't add a printer, the script presents an error message that asks the user to contact the Help desk and sets up a default printer.