Windows server printing




















The Windows debuggers let you see inside applications and drivers and collect more detailed information about the application. CDB is a character-based console program that enables low-level analysis of the user-mode memory and program code in Windows applications. The version of NTSD in the system32 directory has the following limitations:.

WinDbg is a Windows-based debugging tool that can debug both user mode and kernel mode. WinDbg provides source-level debugging for the Windows kernel, kernel-mode drivers, system services, user-mode applications, and user-mode drivers.

WinDbg could be used to debug the print subsystem, but the NTSD commands that are described in this document might not work the same way in WinDbg.

KD is a character-based console program that enables in-depth analysis of kernel-mode activity on all NT-based operating systems. KD supports multiprocessor debugging and can be used to debug kernel-mode programs and drivers and to monitor the behavior of the operating system. This debugger is not necessary for debugging the print subsystem because the print subsystem components run in user mode.

AppVerifier is a run-time verification and test tool that monitors programs for compatibility, stability, and security issues. If you suspect that the print subsystem has a problem, you can also use the Print Verifier feature of AppVerifier to examine the print subsystem in greater detail. The Print Verifier feature is described later in this document. Print Verifier is a feature of AppVerifier that provides additional monitoring of the print subsystem.

By enabling the Print tests in AppVerifier, you can test how applications call the print APIs and detect problems in applications and printer drivers. Configure AppVerifier and the Print Verifier feature to monitor the print subsystem by entering the following command in a command window:.

After configuring the AppVerifier, you might be required to restart the computer for the settings to take effect. At the very least, you must restart the print spooler service. Do Not:. Only use the AppVerifier on the spooler process to troubleshoot a problem, do not enable these options if you are not troubleshooting a printer subsystem problem.

Once the problem has been resolved, configure the AppVerifier to stop monitoring the Print Spooler process. Figure 1: AppVerifier Config 1. Figure 2 : AppVerifier Config 2. The spooler includes additional debugging features that you can configure in the system registry. Use regedit. Use extreme caution when modifying the registry directly.

Modifying some areas of the system registry can cause serious problems with the operating system. Make sure that you back up the registry and know how to restore it before you make any edits. The following section describes how to configure the spooler debugging features in Windows Server To explicitly control whether the system terminates the spooler when it encounters an error in the spooler, create a subkey named TerminateOnFatalException under the following registry key:.

By default if the value is missing from the registry key or the registry key is missing , terminating on an error is enabled. If this feature is disabled, the spooler's exception handler allows the exception to pass to the next available handler, which is Service Control Manager SCM.

To enable the system to break into the debugger when it encounters an error in the spooler, create a subkey that is named BreakOnFatalException under the following registry key:. By default if the value is missing from the registry key or the registry key is missing , breaking on an error is disabled.

A later section of this document describes how to view the log. The Print Spooler process contains an internal that is designed to handle the following exceptions:. Instead of manually creating the registry keys to configure the spooler for debugging, you can create a registry script to create the registry keys.

Load the script into the registry by using regedit. The following text is a registry script that can be saved as a text file and used to configure the spooler for debugging in Windows 7.

To create this file, run Notepad and copy the following text into Notepad:. To install IIS, follow these steps:. As described earlier in this article, Internet Printing should be selected and installed by default when you install IIS. To do so, follow these steps:. On the right pane, click Internet Printing , and then click Allow.

An administrator can turn off Internet Printing for specific users and groups by using the Web-based Printing Group Policy setting. Set this to Disabled. To configure the authentication method for Internet printing, follow these steps:. Click the Directory Security tab, and then click Edit under Authentication and access control.

Click any of the following authentication methods that you want to use, and then click OK :. You can also control access to Internet printers based on the requesting host instead of on user credentials. To grant or deny access to specific computers, groups of computers, or domains, click Edit under IP Address and Domain Name Restrictions. In the IP Address and Domain Name Restrictions dialog box that is displayed, complete one of the following procedures:.

The computer, group of computers, or domain that you selected is added to the Granted list. Use the audit feature to keep track of changes that are made by administrators who manage shared printers. It's preferable to use printers that connect directly to the network through a network adapter instead of using a parallel port LPT printer that connects directly to print servers.

A printer that's attached through a parallel port prints slower, and the parallel port requires considerably more CPU time. To solve problems quickly, use the printing troubleshooter. To ease printer administration, create a custom folder for the printers and for the folders of any print server that you manage regularly. You can also create a shortcut for that folder on the desktop. Skip to main content. This browser is no longer supported.

Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? In this article.



0コメント

  • 1000 / 1000