PC Review


Reply
Thread Tools Rate Thread

Differences in connecting to a remote printer queue from an Windows XP client

 
 
Sabo, Eric
Guest
Posts: n/a
 
      15th Apr 2004
It seems when we are using the vbs script, it needs an local administration
account to run it first before other users can use the remote printer queue.

We are using the following in our script:
Set WshNetwork = CreateObject("WScript.Network")

WshNetwork.AddWindowsPrinterConnection \\servername\printerqueue
WshNetwork.SetDefaultPrinter \\servername\printerqueue

Should we be using the as describe in 314486:
rundll32 printui.dll,PrintUIEntry

Can someone explain this behavior?

--
Eric Sabo
NT Administrator


 
Reply With Quote
 
 
 
 
Bruce Sanderson
Guest
Posts: n/a
 
      15th Apr 2004
What make and model of printer?

I've not actually used that technique, but using the technique described at
http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm, we have found that,
for some printer models, an Administrator has to logon at the workstation
(or remotely via Remote Desktop Connection if the workstation is XP) to
complete the driver installation.

--
Bruce Sanderson MVP

It's perfectly useless to know the right answer to the wrong question.


"Sabo, Eric" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> It seems when we are using the vbs script, it needs an local

administration
> account to run it first before other users can use the remote printer

queue.
>
> We are using the following in our script:
> Set WshNetwork = CreateObject("WScript.Network")
>
> WshNetwork.AddWindowsPrinterConnection \\servername\printerqueue
> WshNetwork.SetDefaultPrinter \\servername\printerqueue
>
> Should we be using the as describe in 314486:
> rundll32 printui.dll,PrintUIEntry
>
> Can someone explain this behavior?
>
> --
> Eric Sabo
> NT Administrator
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error connecting to a remote messaging queue manager usingamqmdnet.dll mirin Microsoft Dot NET Framework 1 29th Jan 2009 01:44 AM
Remote Desktop Client Printing - Server Queue Hangs James Windows XP Work Remotely 1 18th Jul 2007 09:22 AM
Need remote printer notification and system tray queue icon =?Utf-8?B?UmljaGFyZA==?= Windows XP Print / Fax 7 28th Mar 2006 05:02 PM
Windows 2003 Remote Desktop Client Printer Problem? =?Utf-8?B?QUtoYW4=?= Microsoft Windows 2000 Terminal Server Clients 0 12th Oct 2005 03:29 PM
Remote TS Client Reboots Server Connecting to. Herman Microsoft Windows 2000 Terminal Server Clients 3 4th Dec 2003 09:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:58 PM.