You are currently offline, waiting for your internet to reconnect

Registry entries for printing

This article was previously published under Q102966
SUMMARY
The article contains REGISTRY entries for Printing. These subgroups areincluded:

  • 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 thiskey:
HKEY_CURRENT_USER\Printers


The hardware-specific information about drivers and print processors isstored under this key, where Hardware represents the subkey for a specificWindows 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 configurationsettings 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 devicesin 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 defaultprinter:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows


The following Registry path contains the user preferences for PrintManager 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 Registrypath:

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 caninclude Environments, Forms, Monitors, Printers, and Providers. An OEMprint provider might also add subkeys under this Registry path.

Print Environments Entries

The following Registry path contains these subkeys, each of which cancontain a value entry defining the directory that contains the appropriatedrivers:

   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 containthese 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 Registrypath 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 theappropriate 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 thefollowing 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. Sucha 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".
data type
Properties

Article ID: 102966 - Last Review: 11/26/2007 20:02:23 - Revision: 3.0

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

  • kbinfo kbother KB102966
Feedback
ml> html>l>mg style="display: none; " src="https://c1.microsoft.com/c.gif?DI=4050&did=1&t=">1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" kTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write("