Article ID: 234619 - Last Review: January 24, 2007 - Revision: 4.2 Publishing a Printer in Windows Active DirectoryThis article was previously published under Q234619 On This PageSUMMARY
Windows 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 computersTo publish a printer shared by a computer running Windows 2000, use 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.Changes made to the printer's attributes (location, description, loaded paper, and so forth) are propagted to Active Directory. To share and publish a Windows 2000-based printer:
Non-Windows 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 dspath
For 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:
188135
(http://support.microsoft.com/kb/188135/
)
Description of Windows Script Host (WSH)
To 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.
234270
(http://support.microsoft.com/kb/234270/
)
Using group policies to control printers in Active Directory
| Article Translations
|

Back to the top
