PDA

View Full Version : Installing networked printer with printui.dll


Randy Sebra
March 4th 04, 10:28 PM
I'm trying to do remote installation of printers using the command : "Rundll32 Printui.dll,PrintUIEntry" with very little success. The printer that I am trying to install is a tcp/ip networked printer, not a shared printer. To simplify troubleshooting, I'v
e tried running simplier(than installation) commands. For instance, to pull up the Properties box for a printer that I have installed on my local PC, I can do this:

Rundll32 Printui.dll,PrintUIEntry /p /n "HP4050 (Office)"

and I get the properties box. However, if I try to access a tcp/ip networked printer that has been installed on another PC, as in:

Rundll32 Printui.dll,PrintUIEntry /p /c \\butterfly /n "HP 2300" or
Rundll32 Printui.dll,PrintUIEntry /p /n \\butterfly\"HP 2300" or
Rundll32 Printui.dll,PrintUIEntry /p /c \\butterfly /r "IP_HP 2300" where IP_HP2300 is the port name on that host. I get the error message:

"Operation could not be completed. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the server."

All other commands that I've tried, including installs, fail. Am I just using the wrong combination of options, or can it just not be done?

TIA,
Randy

Google