Results 1 to 4 of 4

Thread: Scripting printer installs?

  1. #1
    Time for Walkies... Atomic's Avatar
    Join Date
    Apr 2004
    Location
    Norfolk, UK
    Posts
    1,959
    Thanks
    0
    Thanked
    0 times in 0 posts

    Scripting printer installs?

    I have a HP network printer that I need to install on 40 machines, its gonna take me ages to do each on manually, is it possible to script the install if I know the settings?

  2. #2
    wol
    wol is offline
    Senior Member
    Join Date
    Jul 2003
    Posts
    489
    Thanks
    0
    Thanked
    0 times in 0 posts
    Yeah you can get a script to do it (batch file):

    To REMOVE a printer you need this:
    rundll32 printui.dll,PrintUIEntry /dn /n"\\servername\printersharename" /q

    To INSTALL printers you need this:
    rundll32 printui.dll,PrintUIEntry /in /n"\\servername\printersharename" /q

    Then to set it as default:
    rundll32 printui.dll,PrintUIEntry /in /n"\\servername\printersharename" /y

    Wol

  3. #3
    Time for Walkies... Atomic's Avatar
    Join Date
    Apr 2004
    Location
    Norfolk, UK
    Posts
    1,959
    Thanks
    0
    Thanked
    0 times in 0 posts
    It doesn't run from a printserver, but its addressed by IP will that command still work?

  4. #4
    wol
    wol is offline
    Senior Member
    Join Date
    Jul 2003
    Posts
    489
    Thanks
    0
    Thanked
    0 times in 0 posts
    Hmm dont know then, you can try it and see i suppose. Might do, but im not sure what will happen with drivers (they're pulled off the print server if the printer has a queue on there)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sharing a printer without more hardware
    By ajbrun in forum Networking and Broadband
    Replies: 8
    Last Post: 01-10-2004, 10:29 PM
  2. New printer advice
    By neillybob in forum PC Hardware and Components
    Replies: 4
    Last Post: 30-01-2004, 06:35 PM
  3. Recommend me a printer please.
    By Trash Man in forum PC Hardware and Components
    Replies: 55
    Last Post: 04-11-2003, 10:11 PM

Posting Permissions

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