|
|||||||||||||||||||||||||||||||||||
This is our ARCHIVE site. This site contains content that was on our community site "amset.info" and is no longer maintained. However as there are large numbers of links to the content on the internet, it has been retained on this site so that people who find that information of use, can still access it. However it cannot be guaranteed to be up to date, or accurate, particularly with regards to modern best practises. Most of the content was originally written between 1998 and 2008. Image watermarks refer to the old url of amset.info, which is another domain under control of Sembee Ltd. Our Exchange Server related content can be found at http://exchange.sembee.info/ and is actively maintained. Other sites from Sembee include: dosprompt.info - loginscripts.info - office-recovery.com - wuauclt.info - statuspages.co.uk Accessing Printers using a Web Browser One of the more useful features of the tight integration between Windows 2000, Active Directory and IIS is the ability to list all printers installed on a printer server in a web browser. Once connected to the web page you can view the status of the printer - such as the queue and the basic properties of the printer. You can even connect to the printer, without having to go through the tiresome "Add Printers" wizard, making it a quick and easy way to deploy printers to users. The feature is enabled as default on Windows 2000 Servers, but needs to be added to Windows 2003 Servers. Adding the Feature to Windows 2003 Servers If you are running Windows 2003 Server then you need to add the feature to the default web site before it can be viewed. You can use the same technique to put the capability on to its own web server allowing you to publish a simple URL to the users such as "http://printers.domain.com/" .
On Windows 2003 Server you may have to adjust the settings to allow "Scripts Only" under execute permissions to allow the pages to generate correctly. If you have created a new site for printers, rather than using the existing default site, then you should review the end of this article about a modification required for the web code to ensure that it works correctly. Connecting to Printers Once the web site is created, you can browse to it and see a listing of all printers installed on the machine. However you may want to use different web sites depending on whether or not the user is on the LAN. LAN users should continue to use http://<server-name>/printers Remote users would use the new site, for example http://printers.domain.com/ Once the list is shown, simply click on the required printer and you should see "Connect" in bold on the left. Click on that link and the printer will be installed on to the machine viewing the web site. Changing the Number of Printers Shown on the Page If you want to change the number of printers shown on the page, you need to adjust the code slightly. Take a backup of the file before modifying it. In "C:\WINNT\Web\printers" you need to modify the file "ipp_0001.asp" Open the file in a text editor such as notepad. Don't use an HTML editor as it may modify the coding in ways that will stop the page from loading. Find the line:
Change the number 10 to any number that you like. Depending on the speed of the server and the number of printers that you have, you may want to try various numbers to find what works for you without becoming a performance hit - particularly on a dedicated printer server. Troubleshooting the "Get ADSI Printers" error Message If you have setup this feature then try to access the server using a format other than "http://<server-name>/printers" (such as a Full Qualified Domain name like http://<server-name.domain.com/printers/) you will probably get an error message similar to the one below. Get ADSI Printers This is caused by the web services not recognising the address that you are trying to access. To resolve it, you need to modify the ASP pages that Windows uses for this feature. This is not required on Windows 2003 Servers where the code has been adjusted. Modifications Required In "C:\WINNT\Web\printers" you need to modify two files: "ipp_0001.asp" and "ipp_0004.asp". Open these files in a text editor such as notepad. Don't use an HTML editor as it may modify the coding in ways that will stop the page from loading. In both files, find the line:
Copy the last "Or strComputer = "127.0.0.1" " and paste it after the 127.0.0.1 so that it look like this:
Then modify the 127.0.0.1 that you have just copied to be the Full Qualified Domain Name (FQDN) that you want to use. For example, we are using "printers.amset.info"
Then save the file. Refreshing the page should indicate that the error message is no longer present. |
|||||||||||||||||||||||||||||||||||
|