See
http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
and
http://members.shaw.ca/bsanders/Printer%20Scripts.htm.
--
Bruce Sanderson MVP
It's perfectly useless to know the right answer to the wrong question.
"SimonW" <(E-Mail Removed)> wrote in message
news:e%(E-Mail Removed)...
> I'm attempting to script the installation of network printers remotely for
> Windows XP and have succeeded in remotely installing printer for local
> printer ports.
>
> However I can not get the same commands to work for attaching network
> printers.
>
> I have followed the instrcutions in the help file "rundll32
> printui.dll,PrintUIEntry /?"
>
> But there are no examples for "rundll32 printui.dll,PrintUIEntry /in"
> which
> is supposed to be the command to "add network printer connection" but I'm
> not bright enough to figure it out without an example.
>
> Any help would be appreciated.
>
> cheers
>
> SimonW
>
>