I have come across an issue which I assume must be a bug in the setdefaultprinter function. This issue occurs irrespective of whether Win XP or Win 7 is used and also occurs whether I use Kixtart 4.50 or version 4.62 (the latest version). Some of my client use a program called revelation natural art (they are schools) and when I use the setdefaultprinter option in the script, the script sets the default printer to whatever I specifiy in the script, but the program cannot print because it says there is no printer installed. However, if I manually set the default printer, as in right click printer and then setdefault printer, the program is then able to print. I then used a VBS script

Set net = WScript.CreateObject("wscript.network")
net.SetDefaultPrinter "\\server\ict colour"

which I called from the kixtart script and the program works perfectly using the VBS script! It doesn't worry me a great deal as the VBS script works perfectly, but I thought that I would mention that the Kixtart function is not 100% right, as its obviously not setting something that the VBS script does. So if anyone else has ever had the issue where a program says that it cannot print, because there are no printers installed, despite the fact that printers are installed, this may be why!

Thank you