Solved

Default Printer

Posted on 2006-11-05
4
317 Views
Last Modified: 2010-04-18
I need a VB script that will configure the default printer depending upon the loaction of the client computer.
0
Comment
Question by:jontyplatt
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
Jay_Jay70 earned 250 total points
ID: 17877657
depending on location is certainly going to get interesting for you, here is a resource that i regularly use

http://www.computerperformance.co.uk/ezine/ezine17.htm
0
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 17879571
If these are windows xp computers you can use the built in prnmngr.vbs file:

prnmngr -t -p "\\server\printer"

to assign a default printer.  Now all we need to do is build some intellegence into it.

A few questions:

Are locations determined by IP Address (multi site / multi network) or in the same building (single site / single network or single site / multi network)?
0
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 17879599
The basics of setting a printer based on IP (in case that is what you are looking for) can be found here:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul06/hey0719.mspx

The operation will have to be tuned to meet you needs of course.
0
 

Author Comment

by:jontyplatt
ID: 17888009
These machines do not have static IP's although I could assign thema dn reserve the addresses on the DHCP server. This is a stingle site with a single server running active directory. I would really like to create a group of computers so that I can determine the default that way. Then I could just add and remove to teh groups as necessary.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question