rundll32 printui.dll,PrintUIEntry

G

Gerald

Hello,
I am using the "rundll32 printui.dll,PrintUIEntry" command to push
printers out to client computers. The client computers are Windows XP
Professional and Windows NT 4.0 Workstation. I am pushing from a
Windows Server 2003. The command works great when pushing to both
platforms except when pushing to NT Workstation I get the annoying
"Printer Drivers for NT 4.0 Windows" that opens on a Windows Server
2003 desktop where I am running the command. The Contents of the
Windows are:
- Please Provide Windows Driver
- Type the path where the file is located, and then click OK.
- Copy files from: <text box>

The problem is that the location where the .inf driver exists is
specified in path. When running this same command I am not prompted
for the location. I want to script this command to roll out printers
to multiple clients, how do I suppress this message or make it see the
path that I specified in the command.

Here is the command:

rundll32 printui.dll,PrintUIEntry /f C:\drivers\lj4000nt\hpbf2224.inf
/c \\Computer_Name /b "Printer_Name" /ga /if

Any help is appreciated

(e-mail address removed)
 
G

Gerald

OOPs, figured it out.

I forgot the '/l' switch for the driver source path...

The command should read as such:

rundll32 printui.dll,PrintUIEntry /f
"c:\drivers\lj4000nt\hpbf2224.inf" /l "c:\drivers\lj4000nt" /c
\\target_computer /r "port_name" /m "HP LaserJet 4000 Series PCL 6" /b
"Printer_Name" /ga /if

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top