Subscribe to Windows IT Pro
March 19, 2001 12:00 AM

KIX Script for Printing

Windows IT Pro
InstantDoc ID #20028
Rating: (1)
Downloads
20028.zip

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.

Related Content:

ARTICLE TOOLS

Comments
  • E.
    7 years ago
    Nov 06, 2005

    great

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.