Hello I am sitting for some time to write a login scrpit which I read the first IP address (query for the 2nd octet, if return 10.20 then query for the 3.Oktett) and me on the basis of this data certain printers by location assigns (Say IP address = eg 10.21 then allocation printer pool 10.21, IP address eg 10.22 can not see printer pool 10.21 but only his own with 10.22)

Users are stored by group policy in AD and already sorted by location. Now to my problem I've read several times on the Internet but still found no solution which can present me at least the beginning so I can add the rest only by paperwork.

I am supposed to use KIXtart32 due to company requirement, but I'm working on it for the first time.

Can one help me with this?

Best regards mdress