Does your script include the code for the IsInIPrange() UDF?

Have you placed a print statement in each IF..EndIf to see if the IF condition worked? If so, then what are the return codes for the ADDPrinterConnection().

What OS is the client?

[ 17. March 2003, 04:54: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/