I’m trying out the printui.dll method to set up the printers for active directory managed machines in the lab. It’s a stopgap measure until we install a newer version of windows server, since both 2003 R2 and 2008 have a print management system that should work with windows 7 clients. So far, I’ve found that the following command will install a printer on a windows 7 client without having to install the print driver beforehand:
rundll32 printui.dll PrintUIEntry /ga /n\\Corman\Mom2
This command should also install the printer for all users (i.e. by computer instead of by user). However, it looks like the printer only appears if the user already has a valid network connection to the print server. I haven’t tried it on a windows xp client yet, so I’m interested to see what it will do in that case.