Searching for Printers in Active Directory

Microsoft® Windows® 2000 Scripting Guide

The print service and Active Directory are closely integrated. By default, shared printers hosted by a print server are published in Active Directory. When a printer is published, a printQueue object is placed in the print server's computer object in Active Directory.

Administrators can use Active Directory Users and Computers to identify the printers managed by a print server and to access information regarding each of these printers. Equally important, administrators (and users) can search for these printQueue objects.

Because of this, users can easily locate printers within close physical proximity or printers that meet specific criteria (for example, color printers). At the same time, administrators can easily enumerate all the shared printers within their domain and compile a list of properties for each of those printers.