Mapping Network Printers

  • Thread starter Thread starter Bob Stat
  • Start date Start date
B

Bob Stat

I am trying to map network printers to all my clients in
the domain. Without actually going to all the clients and
intstalling the network printer manually. Is there any
way that this can be done without going to all the
stations. Any help would be great.

Thank You...
 
you have a few choices her you can easily do it from a vb script..

or you you dont know any scriping languages that can access the windows
instrumentation you can do it via a login script in a batch file form using
a util from the microsoft windows 2000 resouce kit.. below the microsoft
suplied desription of it
a.. Con2Prt.exe (Connect to Printer)
This tool is not covered in w2rktool.chm.

Con2Prt.exe is a command-line tool that provides scriptable functionality to
the Add Printer wizard, so that you can simply write a script to add
printers on client computers. Con2Prt lets the user disconnect all existing
connections to Windows 2000 printers and connect to newly specified Windows
2000 printers. Here is an example of the syntax:

CON2PRT [ /? | /h | /f | [/c \\printserver\share | /cd
\\printserver\share]+]

where:
/? - displays usage
/h - displays usage
/f - deletes all existing printer connections
/c - connects to printer at \\printserver\share
/cd - connects to printer at \\printserver\share and sets it as the default
printer
Any number of /c and /cd parameters can be specified. However, only the
first /cd sets the specified printer as the default.

Use Net View \\printserver to determine available print shares.
 
Thank You, it worked great. I was able to create a VB
script but now the only problem is how do you write a
script to follow you and map the nearest printer to you?

Thank you,
-----Original Message-----
you have a few choices her you can easily do it from a vb script..

or you you dont know any scriping languages that can access the windows
instrumentation you can do it via a login script in a batch file form using
a util from the microsoft windows 2000 resouce kit.. below the microsoft
suplied desription of it
a.. Con2Prt.exe (Connect to Printer)
This tool is not covered in w2rktool.chm.

Con2Prt.exe is a command-line tool that provides scriptable functionality to
the Add Printer wizard, so that you can simply write a script to add
printers on client computers. Con2Prt lets the user disconnect all existing
connections to Windows 2000 printers and connect to newly specified Windows
2000 printers. Here is an example of the syntax:

CON2PRT [ /? | /h | /f | [/c \\printserver\share | /cd
\\printserver\share]+]

where:
/? - displays usage
/h - displays usage
/f - deletes all existing printer connections
/c - connects to printer at \\printserver\share
/cd - connects to printer at \\printserver\share and sets it as the default
printer
Any number of /c and /cd parameters can be specified. However, only the
first /cd sets the specified printer as the default.

Use Net View \\printserver to determine available print shares.

I am trying to map network printers to all my clients in
the domain. Without actually going to all the clients and
intstalling the network printer manually. Is there any
way that this can be done without going to all the
stations. Any help would be great.

Thank You...


.
 
Bob,
can you identify location by ip address or and other property that can
be used to determine location ??

if so you can have a database(txt file) with printers and determine the
closest one using that info
if you are moving around a small office and you just want to have the
printer that it in the current office I'd just suggest that you map all the
printers and let the user choose.. just make sure that you put a label on
the printer so they know its name :)

Paul

Bob Stat said:
Thank You, it worked great. I was able to create a VB
script but now the only problem is how do you write a
script to follow you and map the nearest printer to you?

Thank you,
-----Original Message-----
you have a few choices her you can easily do it from a vb script..

or you you dont know any scriping languages that can access the windows
instrumentation you can do it via a login script in a batch file form using
a util from the microsoft windows 2000 resouce kit.. below the microsoft
suplied desription of it
a.. Con2Prt.exe (Connect to Printer)
This tool is not covered in w2rktool.chm.

Con2Prt.exe is a command-line tool that provides scriptable functionality to
the Add Printer wizard, so that you can simply write a script to add
printers on client computers. Con2Prt lets the user disconnect all existing
connections to Windows 2000 printers and connect to newly specified Windows
2000 printers. Here is an example of the syntax:

CON2PRT [ /? | /h | /f | [/c \\printserver\share | /cd
\\printserver\share]+]

where:
/? - displays usage
/h - displays usage
/f - deletes all existing printer connections
/c - connects to printer at \\printserver\share
/cd - connects to printer at \\printserver\share and sets it as the default
printer
Any number of /c and /cd parameters can be specified. However, only the
first /cd sets the specified printer as the default.

Use Net View \\printserver to determine available print shares.

I am trying to map network printers to all my clients in
the domain. Without actually going to all the clients and
intstalling the network printer manually. Is there any
way that this can be done without going to all the
stations. Any help would be great.

Thank You...


.
 
Back
Top