/build/static/layout/Breadcrumb_cap_w.png
02/22/2017 776 views
Hello, I have a question for the command "rundll32 printui.dll PrintUIEntry"

I would like to use it to set up a Network printer on another computer, for example:

My computer has the name in the domain as MACHINE001 and I would like to perform a command to configure the printer on MACHINE002.

To set up on my computer, I use the command: rundll32 printui.dll PrintUIEntry / in / n \\ SERVIDOR001 \ PRINTER001

PS: Server001 is my print server and PRINTER001 is my network printer.

How can I configure this printer for MACHINE002?

Thanks!
1 Comment   [ + ] Show comment

Comments

  • I think you may be calling the command in slightly the wrong order. Could you try something more like rundll32 printui.dll PrintUIEntry /in \\SERVIDOR001\PRINTER001 /n MeaningfulPrinterName

All Answers

1
Printers are "installed" per-user, not per-machine, so just have the user of that machine run the same command.

BTW, the Windows SDK has a bunch of VBSes (e.g. prnmngr.vbs) for managing printers and ports which make this process a little easier.
Answered 02/23/2017 by: VBScab
Red Belt