Thats a very good idea ! I will be with that client on Thursday, so I will run process monitor and see what gives. What I will also do is run process monitor and see what happens when I use the VBS script as opposed to the kixtart function. Having said that, the coding used by Arend and myself obviously works correctly, so perhaps kixtart should deprecate the setdefaultprinter function in favour of the coding as proposed by Arend.
I will update you on Thursday evening with my results. Thanks \:\)