Hello all, we have a number of small (max 50 clients) sites. I would like to initiate the printer mapping processes at logon by checking first where they are physically located and then checking them against security access groups for that locations printers. I thought that checking the default gateway would be a good way to check where a machine was located on the network.

I have tried searching for code to check against the default gateway or mapping printers but don't get much that was relevant.

Any suggestions/better ideas?

Cheers,

Peter.