Results 1 to 2 of 2

Thread: Printer script help

  1. #1
    Join Date
    Nov 2010
    Posts
    1

    Printer script help

    Hi,

    I am implementing a new printer fleet and have set up a floor plan the user clcks on to set up the printer close to their desk.
    when the user clicks on the on the printer I have a hyperlink to a .cmd script on the server.
    Below is the script I am using. What is happening is the user gets a run / save prompt but I want this to run aurtomatocally without the pop up. Is there a way around this


    ECHO If prompted, please enter your Windows username and password.
    ECHO This process will complete in about 20 seconds. Please wait.........
    start /wait rundll32 printui.dll,PrintUIEntry /in /q /n "\\SERVERNAME\LOCATIONPRINTERNAME"

    ECHO.
    ECHO LOCATION_PRINTERNAME was successfully installed.


    Thanks

  2. #2
    Join Date
    Jan 2006
    Posts
    605

    Re: Printer script help

    You can use or try it with kix

    ?"================================================ =================="
    ?" installing Printers! =="
    ?"================================================ =================="

    IF @WKSTA="nameofcomputer" OR @WKSTA="nameofcomputer1"
    IF addprinterconnection("\\servername\printershare")= 0
    ? "Printer is installed on your computer"
    ENDIF
    ENDIF

    Download kix at kixscripts.com
    unpack it in the netlogon directory
    edit the kixstart.kix or make 1 yourself
    open manage users and computers
    get properties of the user
    go to tab profile
    put in logonscript : kix32

    After login to the workstation you have mentiont and kix will attach the printer.

Similar Threads

  1. Script to Install Printer Drivers w/o adding printer
    By witecoko in forum Windows XP Support
    Replies: 7
    Last Post: 13-03-2013, 11:32 AM
  2. Script to add http printer in Windows XP
    By cech in forum Hardware Peripherals
    Replies: 6
    Last Post: 24-07-2012, 10:53 AM
  3. Printer Script Issue on my Network Printer
    By loll in forum Networking & Security
    Replies: 1
    Last Post: 17-01-2011, 11:31 PM
  4. How to Add a Default Printer Using a Visual Basic Script
    By iMacRicky in forum Software Development
    Replies: 6
    Last Post: 17-01-2009, 06:05 PM
  5. Use logon script to map network printer
    By Mitch in forum Windows Server Help
    Replies: 4
    Last Post: 18-12-2008, 08:25 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,170,236.77761 seconds with 17 queries