Networking Forums

Networking Forums > Computer Networking > Windows Networking > Networked printer mapping

Reply
Thread Tools Display Modes

Networked printer mapping

 
 
bear
Guest
Posts: n/a

 
      08-04-2004, 06:45 AM
How do I setup a GPO or a logon script or a registry to map a networked
printer according to the computername?

Server: Win2k3
Client: XP
3 computer labs - L1, L2, L3
Computer names are like this - L1PC01, L2PC01, L3PC03.
Networked Printer - L1lab, L2lab, L3lab

When a user logs on each lab, should have each printer mapped. How do I do
that?


 
Reply With Quote
 
 
 
 
Miha Pihler
Guest
Posts: n/a

 
      08-04-2004, 12:16 PM
Hi,

to map network printer run this script

********************************
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\Primus\HP4500"
WshNetwork.SetDefaultPrinter "\\Primus\HP4500"
********************************

Replace \\Primus\HP4500 with name of your server and print share.
Leave out last line if you don't want to have \\Primus\HP4500 set as default
printer.

I hope this helps,

Mike

"bear" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How do I setup a GPO or a logon script or a registry to map a networked
> printer according to the computername?
>
> Server: Win2k3
> Client: XP
> 3 computer labs - L1, L2, L3
> Computer names are like this - L1PC01, L2PC01, L3PC03.
> Networked Printer - L1lab, L2lab, L3lab
>
> When a user logs on each lab, should have each printer mapped. How do I do
> that?
>
>



 
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I rename a networked printer Corey Arndt Windows Networking 0 11-16-2007 05:18 PM
Networked Printer Fails Edward W. Thompson Wireless Networks 1 05-24-2007 04:23 AM
networked printer problem.. Ogg Windows Networking 0 03-14-2006 02:44 PM
Can't print to networked printer =?Utf-8?B?YmlsbCBsLg==?= Windows Networking 2 05-12-2005 07:01 PM
Networked printer OVS Wireless Internet 10 01-09-2005 08:46 PM



1 2 3 4 5 6 7 8 9 10 11