Just a tip to help out some printerproblems on Win NT domains and on WinXX machines.

When a printer is connected to a computer the register writes down all the printerinfo.

Now, if you change IP adresse or name etc on a shared printer on a server and reconnect to the printer using
AddPrinterConnetion ("\\server\printer") on the client alot of computer will reply with a "you need to install a printer before you can print" and so on.

If you put this line in your Kix script
DELTREE ("Printers")
before your AddPrinterConnection routine the script will remove all printer info and rebuild the info in the registery. This will not remove local printers only printers connected from a share.

Hope this will help someone

------------------
Anders Hansen-Øvre
Getronics AS

_________________________
Anders Hansen-Øvre http://www.contra.no