+ Post New Thread
Results 1 to 4 of 4
Windows 7 Thread, Install ip printer from script or other software in Technical; Hi, is there a Way to install ip printers from a script or other software? i have a mdt 2012 ...
  1. #1

    Join Date
    Feb 2013
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Install ip printer from script or other software

    Hi,
    is there a Way to install ip printers from a script or other software?
    i have a mdt 2012 servere where i wish to install specific ip printers to specific locations.

  2. #2

    Join Date
    Feb 2013
    Location
    Kidderminster
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    In the past I've used the following command RUNDLL32 printui.dll,PrintUIEntry /n "PRINTER ADDRESS" /dn

  3. #3

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180
    Why not share the printers off a server and then just map the printers at logon via GPP or a script?

  4. #4

    Join Date
    Jul 2012
    Location
    Boerne Texas USA
    Posts
    45
    Thank Post
    0
    Thanked 9 Times in 9 Posts
    Rep Power
    6
    rem set variables
    set ip=172.31.20.63
    set loc="KES Admin M600"
    set model="HP Universal Printing PCL 5"
    set os="windows 2000 or XP"
    set inf="\\Server\Share\Printers\HP M600\hpcu130b.inf"

    rem commands follow!

    rem delete the old
    rundll32 printui.dll,PrintUIEntry /dl /n %loc% /q

    rem add the port
    cscript %windir%\system32\prnport.vbs -a -r IP_%ip% -h %ip% -n 9100 -o raw -me

    rem add the printer driver
    rundll32 printui.dll,PrintUIEntry /ia /m %model% /v %os% /f %inf% /q
    rem add the printer
    rundll32 printui.dll,PrintUIEntry /if /m %model% /b %loc% /v %os% /f %inf% /r IP_%ip% /z /Gw

SHARE:
+ Post New Thread

Similar Threads

  1. Installing/Copying Fonts from Login Script
    By mattpant in forum Windows
    Replies: 10
    Last Post: 11th August 2011, 09:24 PM
  2. Replies: 4
    Last Post: 21st September 2010, 02:45 PM
  3. DVD or CD Tray Lock from Script or on login
    By k-strider in forum Windows
    Replies: 8
    Last Post: 31st May 2010, 01:29 PM
  4. Mapping to a IP address printer via Script
    By BenDonaldson in forum Scripts
    Replies: 5
    Last Post: 13th January 2010, 11:59 AM
  5. Replies: 3
    Last Post: 13th April 2007, 02:18 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •