Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
printer's aren't "stored" in AD.
you install the printer on a server. Share the printer. User's connect to it via browsing \\servername then right-clicking on the printer and selecting "Connect"
permissions are set on the printer, from the server-side, to allow specific users/security groups to print, manage print jobs, etc.
Printers can also be published via AD so your users don't have to do all those steps- which is what the OP is talking about.
You can do some searches for something like "printer publishing in AD" to see what you get, I guess I'm a bit confused on what you mean when you say "how it works" are you talking about the technical aspects of how AD publishes/manages printers, etc or is it more like a HOW TO doc so your users can connect/add the printers.
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\server34534\ohLookAPrinter"
cscript prnmngr.vbs -ac -p "\\server34534\ohLookAPrinter"
While this has nothing to do with the OPs question, it is always important to stay current. The con2prt tool is old, super crazy old(nt4). As such it is not supported any more and is not in vista / 7. It should not be used. Here are two methods that are still supported and will work with everything xp and up.
The traditional user login script, and the way most people add their network shared printers. This method will probably stay current until they totally replace vbscript with powershell.
Code:Set objNetwork = CreateObject("WScript.Network") objNetwork.AddWindowsPrinterConnection "\\server34534\ohLookAPrinter"
Or the method added in XP, prnmngr.vbs. In XP this is located in the system32 folder in vista / 7 its system32\printing_admin_scripts\en-US\
Code:cscript prnmngr.vbs -ac -p "\\server34534\ohLookAPrinter"
Anyone have some solid documentation on how printing works with active directory? I need to document how XP clients in general access AD with regards to printers and how they go about printing when a printer is not in AD and found on a DNS instead.
The con2prt tool is old, super crazy old(nt4). As such it is not supported any more and is not in vista / 7.
It won't work with Vista or 7? I have 70+ machines that use con2prt.exe EVERYDAY, and 10 or more are Vista and 3 are running 7
The con2prt tool is old, super crazy old(nt4). As such it is not supported any more and is not in vista / 7. It should not be used.
there's a difference between not supported and won't work
Just because it works, it doesn't mean that it is the correct method.
Again, you guys are completely missing the OPs question.
He is not asking how to connect a printer, but how does it communicate.
I believe it is via NETBIOS over TCP/IP
the print job gets sent to the server sharing the printer. Regardless if it's published in AD or not. The job has to go somewhere to get sent to the printer.
unless it's installed on the desktops as an IP printer, then the print job gets processed and sent to the printer by that computer that's being printed from.
publishing the printer in AD just means it can be found (easier) by "Browse for printer" when attempting to add a printer to a desktop.