1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Printer Script in XP

Discussion in 'Windows XP' started by Springside, 2005/06/14.

Thread Status:
Not open for further replies.
  1. 2005/06/14
    Springside

    Springside Inactive Thread Starter

    Joined:
    2004/10/25
    Messages:
    4
    Likes Received:
    0
    Hello,

    I am desperate here! Nobody seems to be able to help me, I am currently
    running a printer startup script via a batch file off of a
    Win2k server for Win2k clients, however when I attempt to run the startup
    script for WinXP clients I am unsuccessfull. The batch I use is below:

    Create a batch file (e.g. printers.bat) containing lines of the following
    form (the PrintUIEntry bit is case-sensitive):

    rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer1
    rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer2
    rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer3

    The script runs fine in Win2k, and appears to run for XP, however once
    logged in the printers do not appear. Is there any reason the script will run
    for
    Win2k but not for XP?

    Thanks in advance!
     
  2. 2005/06/14
    sparrow

    sparrow Inactive

    Joined:
    2004/03/21
    Messages:
    2,282
    Likes Received:
    0
    Suggest you try this command in a cmd window or just in the run window in XP:
    rundll32 printui.dll,PrintUIEntry /?
    It will present you with all the printer user interface protocols for XP. You may not want the space after the /n.
     
    Last edited: 2005/06/14

  3. to hide this advert.

  4. 2005/06/15
    Springside

    Springside Inactive Thread Starter

    Joined:
    2004/10/25
    Messages:
    4
    Likes Received:
    0
    I am familiar with this command and have formulated my script based upon it, and have success with the script in Win2k, but it will not run in XP. I'm thinking it is some sort of permission issue.
     
  5. 2005/06/15
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.