The information in this article applies to:
SUMMARYWindows 2000-based and non-Windows 2000-based computers that have shared printers can publish printers in Active Directory so that the printers can be searched for easily. MORE INFORMATIONWindows 2000-Based ComputersYou publish printer shared by a computer running Windows NT 2000 by using the Sharing tab in the printer's properties. By default, the List in the Directory check box is selected. This means that the shared printer is published by default. The printer is published in the corresponding computer container in Active Directory. It is named server-printer name.The print subsystem automatically propagates changes made to the printer's attributes (location, description, loaded paper, and so on) to Active Directory. To share and publish a Windows 2000-based printer:
Non-Windows NT 2000-Based ComputersYou can publish printers shared by versions of Windows other than Windows 2000 in Active Directory. If Windows Scripting Host is installed (it is installed by default in Windows 98), the simplest method is to use the Pubprn script. This script publishes all the shared printers on a given server. The script is located in the System folder. The syntax is:cscript pubprn.vbs servername dspathFor example, the following command publishes all the printers on the Prserv1 server. The printers are published in the Marketing organizational unit (OU): cscript pubprn.vbs prserv1 "LDAP://ou=marketing,dc=antipodes,dc=com"This script copies only the following subset of the printer's attributes:
For additional information Windows Scripting Host and the installation location, click the article number below to view the article in the Microsoft Knowledge Base: Q188135 Description of Windows Scripting HostTo use the Active Directory Users and Computers snap-in to publish non-Windows 2000-based printers:
Searching for Printers in Active DirectoryActive Directory client users can browse for printers published in Active Directory, submit jobs to those printers, and even install the printer drivers directly from the server.
Q234270 Using Group Policies to Control Printers in Active Directory Additional query words:
Keywords : kbprint |
Last Reviewed: December 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |