Script to Map Printers based on IP address of client

Home Forums Scripting General Scripting Script to Map Printers based on IP address of client

Viewing 1 post (of 1 total)
  • Author
    Posts

  • m80arm
    Member
    #146469

    Hi All,

    I’m looking for a script that will map printers based on the clients IP address. I have a list of printer UNC paths and the subnets that they belong to. What I would like the script to do is check the clients IP address and if it falls into a certain range then map the appropriate printer E.g

    Subnet 1 10.10.1.x /24 – \server01printer01
    Subnet 2 10.10.2.x /24 – \server01printer02
    Subnet 3 10.10.2.x /24 – \server01printer03
    Subnet 4 10.10.2.x /24 – \server01printer04

    I found the following but it looks like a .bat file that is obtaining the IP address, not the VB script:

    http://forums.petri.com/archive/index.php/t-7759.html

    Thanks

    Michael

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.