Microsoft KB Archive/102966

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 13:48, 20 July 2020 by X010 (talk | contribs) (Text replacement - "<" to "<")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 102966

Article Last Modified on 11/26/2007



APPLIES TO

  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Advanced Server 3.1



This article was previously published under Q102966

SUMMARY

The article contains REGISTRY entries for Printing. These subgroups are included:

  • Printing Entries for Users
  • Control\Print Entries for the Computer
  • Print Environments Entries
  • Print Monitors Entries
  • Printers Entries
  • Print Providers Entries


MORE INFORMATION

Registry Entries for Printing

The Registry contains printer information in these locations:

The per-user settings for the current default printer are stored under this key:

HKEY_CURRENT_USER\Printers




The hardware-specific information about drivers and print processors is stored under this key, where Hardware represents the subkey for a specific Windows NT platform, such as Windows NT x86 or Windows NT R4000:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print




Always use Print Manager or the Printers folder to change configuration settings for all printers.



Printing Entries for Users

The following Registry path contains a description of the default printer, as selected by the current user:

HKEY_CURRENT_USER\Printers




The following Registry paths contain the user preferences for print devices in Windows NT 4.0:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices




HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \PrinterPorts





The Device value in the following Registry path contains the user's default printer:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows




The following Registry path contains the user preferences for Print Manager in Windows NT 3.51 and earlier:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Print Manager





These standard entries appear:

   Network   REG_DWORD
   Default:   0x1
                



   Print Manager   REG_BINARY
   Default:
                



   Save Settings   REG_DWORD
   Default:   0x1
                



Control\Print Entries for the Computer

The principal information for printers appears under the following Registry path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print




This path contains additional subkeys that define supporting DLLs, drivers, and other necessary information for installed printers. These subkeys can include Environments, Forms, Monitors, Printers, and Providers. An OEM print provider might also add subkeys under this Registry path.

Print Environments Entries

The following Registry path contains these subkeys, each of which can contain a value entry defining the directory that contains the appropriate drivers:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments
   \Windows NT Alpha_AXP
   \Windows NT Alpha_AXP\Drivers
   \Windows NT Alpha_AXP\Print Processors
   \Windows NT R4000
   \Windows NT R4000\Drivers
   \Windows NT R4000\Print Processors
   \Windows NT x86
                





A PrinterDriverName subkey under the related Drivers subkey can contain these values:

   Configuration File   REG_SZ
   Default:   Installed DLL filename
                



   Data File            REG_SZ
   Default:   Installed .PPD filename
                



   Driver               REG_SZ
   Default:   Installed driver DLL filename
                



   Version              REG_DWORD
   Default:   Version number
                



A Print Processors subkey (and subsequent subkeys) under this same Registry path contains an entry of the following type:

   Driver               REG_SZ
   Default:   winprint.dll
                



Print Monitors Entries

The entry in the following path defines the DLL filename for the appropriate print monitor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors \<Provider Network Port>






Driver REG_SZ DLL filename

The Options subkey for the Hewlett-Packard Network Port contains the following entries, all of which are REG_DWORD:

   Adapter=0
   ConnectionType=0x1
   DlcBufferSize=0x27100
   DlcT1Timer=0x5
   DlcT2Timer=0x2
   DlcTiTimer=0x3
   EventLogging=0x7
   LinkStationsUsed=0x40
   StatusUpdateInterval=0x3c
                



Printers Entries

Each installed printer has a subkey in the following Registry path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers \<printer name>





The following entries can appear under such a subkey:

   Attributes : REG_DWORD: 0x1
   Datatype : REG_SZ: RAW
   Default DevMode : REG_BINARY:
   Description : REG_SZ: driver description on port
   Location : REG_SZ  :
   Name : REG_SZ : user defined
   Parameters : REG_SZ :
   Port : REG_SZ : port name
   Print Processor : REG_SZ: WinPrint
   Printer Driver : REG_SZ : driver name selected in Setup
   Priority : REG_DWORD: 0x1
   Security : REG_BINARY :
   Separator File : REG_SZ :
   Share Name : REG_SZ :
   StartTime : REG_DWORD : 0
   Status : REG_DWORD: 0
   UntilTime : REG_DWORD: 0
                



Print Providers Entries

Each print service provider has a subkey in the following Registry path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Providers \<Print Services Name>






The default subkey for a Windows NT network is LanMan Print Services. Such a subkey contains the following entry:

   Name   REG_SZ   DLL filename
   Default:   win32spl.dll
                



REFERENCE

"The Windows NT Resource Kit for Operating System Version 3.1".


Additional query words: data type

Keywords: kbinfo kbother KB102966