Jump to content

Anyone still using VB to install/map printers?


Recommended Posts

Posted

Just curious to see if anyone is still using vb to install/map there printers via computer groups?

 

trying to think up a nice solution to printer sprawl and it apeares that the old ways might be best

 

Cheers

Posted

Just redoing it now, as it happens, though doing it via OU not group.

 

Tried GPP but it only worked 98% of the time, and that 2% adds up a lot over 500+ PCs over 5 periods (especially as it included GP refreshes). VBScript has been much more reliable.

 

Having to switch from logon script to Run this program at logon to speed up login times though. New HP printers are lovely, but drivers are chunky!

Posted
I am right now, because my predecessor mucked up his GPOs and it took about 5 minutes to process. It doesn't any more and I'm just about to refresh my entire document management fleet so I will stop using VB and go all GPO in about 10 days time!
Posted
We have a mixture of GPP and VB script that calls a VB.net custom written program to map printer, looking to go fully GPP in future
Posted
I'm still using VBScript to map our printers according to the OU a workstation belongs in. I've never tried using GPP or the Print Management method because of reading the problems people had encountered when it was possible to do so. Since then, I suppose, the GPP offerings may have matured but I still continue using vbscript. Everything else is all in GPP (IE settings, drive mappings et al) or GPO.
Posted (edited)
VB for us, maps by recognising the first 3 characters of the computer name.

 

I do it this way as well, but use the first 4 characters of the computer name. When I started using GPP found that it was temperamental and did some strange things with some machines.

Edited by stitch
Posted
a mix when gpp works great sometimes for no reason i can detect it fails or can add considerably to logon time with so,me hp drivers
Posted
I do it this way as well, but use the first 4 characters of the computer name. When I started using GPP found that it was temperamental and did some strange things with some machines.

 

Yup same here, but various lengths of computer names, AD groups and single user/computer names - its all good.

Posted

I wrote up a blog post on my printer script here: VB Script for network printer deployment - Blogs - EduGeek.net. It'll collected nested group membership, OU location and other things to determine who gets what.

 

I'm actually migrating away from VB altogether though and the printers are the last thing to be moved over to GPP. I found GPP to be far more reliable than VB when wireless devices are in play. One thing I did notice about GPP printer installation vs VB is that it seems to take a lot longer to install the printer drivers. To work around it I preloaded the most common printer drivers into the base image. Maybe it's just me since VB will run in the background while the desktop comes up where GPP won't load the desktop until its done processing.

Posted

Thanks everyone it confirms what im seeing . most of the time gpp or print managment deploy is fine but not totally solid where as vb just works , time to dig out my scripts and remake them

 

mapping based on computer group name should only take a day

 

thanks

Posted
VBS here. Like most schools, our computers have the room number as part of the host name and the vbs script checks this and assigns the appropriate printer. The printer and room assignments are all held in a MySql database and when you change an entry, the printer script is automatically updated. So it's very easy to change a the printer assignment for a room if a printer has failed.
Posted

I keep thinking I should move over to Deploying printers from new 2012 print server management.

Currently we us script with:

 

'rem **Setup printers for all users**

\\myserver\netlogon\con2prt.exe /f

 

IF %Location% == scicdt \\myserver\netlogon\CON2PRT.exe /CD \\myserver\kirklandpupils

IF %Location% == scicdt \\myserver\netlogon\CON2PRT.exe /C \\myserver\ICTColour'

 

And with PC Environment variable 'Location' inserted with area of school where normally used, so we have scripts for Teachers and one for pupils and it sets the Default printer for location.

 

I have deployed a couple of printers from new 2012 PS that aren't anyone's default but can't see how to achieve what we're used to just with OUs that PC or user is in???

 

Would welcome any ideas.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...