Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Windows Server Networking

Login Scripts

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2004, 07:53 AM
Default Login Scripts



Would someone please tell me what the command is to connect to a network
printer and show the printer in the printer folder? I am using Windows 2000
server.




Jerry
Reply With Quote
  #2  
Old 02-13-2004, 04:53 PM
Robert L [MS-MVP]
Guest
 
Posts: n/a
Default Re: Login Scripts

this may help. quoted from http://www.ChicagoTech.net
Q: How to setup a network printer for all users on NT/w2k/xp?

A: 1. You can add the printer into a user and then copy the user's profile
into the default user. All new logon users will have the same printer
settings.
2. If you use NT, you may use net use command to map the printer to LPT#.
3. If you have w2k/xp, you may want to use rundll32 printui.dll,PrintUIEntry
command line.


--
For more and other information, go to http://www.ChicagoTech.net

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Robert Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.

"Jerry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Would someone please tell me what the command is to connect to a network
> printer and show the printer in the printer folder? I am using Windows
> 2000
> server.
>
>



Reply With Quote
  #3  
Old 02-13-2004, 04:58 PM
Jeff Cochran
Guest
 
Posts: n/a
Default Re: Login Scripts

On Fri, 13 Feb 2004 00:53:17 -0700, "Jerry" <(E-Mail Removed)>
wrote:

>Would someone please tell me what the command is to connect to a network
>printer and show the printer in the printer folder? I am using Windows 2000
>server.


In any particular scripting language or can I use my own?

See:

http://www.microsoft.com/technet/tre...g/ScrPrn01.asp

Jeff
Reply With Quote
  #4  
Old 02-13-2004, 05:51 PM
Jerry
Guest
 
Posts: n/a
Default Re: Login Scripts

Jeff,
You have your own scripting language?
I suppose I can use VBscript. However, I have been searching to no avail
for a comprehensive reference of the available objects and their properties.

Regards

"Jeff Cochran" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Fri, 13 Feb 2004 00:53:17 -0700, "Jerry" <(E-Mail Removed)>
> wrote:
>
> >Would someone please tell me what the command is to connect to a network
> >printer and show the printer in the printer folder? I am using Windows

2000
> >server.

>
> In any particular scripting language or can I use my own?
>
> See:
>
>

http://www.microsoft.com/technet/tre...g/ScrPrn01.asp
>
> Jeff



Reply With Quote
  #5  
Old 02-13-2004, 07:25 PM
Jeff Cochran
Guest
 
Posts: n/a
Default Re: Login Scripts

On Fri, 13 Feb 2004 10:51:15 -0700, "Jerry" <(E-Mail Removed)>
wrote:

>You have your own scripting language?


If you look at my code you'd think so...

>I suppose I can use VBscript. However, I have been searching to no avail
>for a comprehensive reference of the available objects and their properties.


Didn't search very hard:

http://msdn.microsoft.com/library/de...bscripttoc.asp

Though for quickie reference I prefer:

http://www.devguru.com/Technologies/...ipt_intro.html

Jeff
Reply With Quote
Reply

Tags
login, scripts

Thread Tools
Display Modes

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
Forum Jump


All times are GMT. The time now is 10:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.