Ah ha. My script does not include the code for the IsInIPrange() UDF? What should that be? I'm sure that's what I'm missing.

The clients are all XP (I notice the addprinterconnection doesn't work in 9x).

The error is:
Script error: expected expression!
if isiniprage($ipaddress,$iparray)

Thanks for your help.