please dont rip this site autorun

WINDOWS NT 4.0 REGISTRY: A Professional Reference by Steven B. Thomas Chapter 15 Printer Entries

Con2prt.exe from the Windows Zero Administration Kit or ZAK:

  1. Get HKEY_Local_Machine\System\CurrentControlSet\Control\Print\Environments\Windows NT X86, Directory. This is where the driver needs to be installed relative to $$\system32\spool\drivers\. Normally this is w32x86. Aka %DriverDir%
  2. Get HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Print Processors\winprint, Driver. This should be winprint.dll
  3. There is a directory called 2 under the %DriverDir% directory, but I believe that the driver setup dll (hpblff0.dll for the LJ 4 driver) or the OS copies the printer driver files into that directory when the installation is complete.
  4. Make a new key using the name of the printer under HKEY_Local_Machine\System\CurrentControlSet\Control\Print\Environments\Windows NT X86\Drivers\Version-%DriverVersion%
  5. Define entries for the files and settings used by the driver. The path for driver files is assumed to be $$\system32\spool\drivers\%DriverDir%\%DriverVersion%
  6. Make HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\%MonitorName%
  7. Define HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\%MonitorName%, Driver = %MonitorFile%

1. I installed the driver and set up the printer manually using

Settings..Printer...Add Printer.

2. I then looked at
indows NT x86\Drivers\Version-2\<driver-name>

3. This gave me the names of the driver files that had been installed in

4. I then did an export of
indows NT x86\Drivers\Version-2\<driver-name> using regedit

5. I also did an export of
ter name> using regedit

Before testing the install I deleted all entries on my machine for the
printer and driver, following the instructions in Q135406, and rebooted
the machine.

So at this point the driver/printer were no longer installed.

I then rebooted the machine and copied the driver files(which I had
copied and deleted earlier) back into
\WINNT\System32\Spool\Drivers\w32x86 , ran the reg file created at 4.
above, then the one created at 5. above. I then rebooted and hey presto,
the driver was installed and the printer available.

I have not yet tried installing the driver this way on another machine,

Also although by editing the reg file created at 5. above, I was able to
amend the name of the printer entry, I was not able to amend the name of
the driver entry. If I did so I got an error about the driver not being
installed when I tried to access the Properties tab for the Printer,
although the registry entries seemed to tie together.

        License Agreement  
AutomateProject | AutomateProject.inf 



1="My Application Files",,1






"","","","Choose a location to install the Microsoft Project 2000 document containing sample event code","C:\Program Files\Microsoft Project 2000 SDK\AutomateProject"

file: /Techref/os/win/winnt/instprint.htm, 6KB, , updated: 2005/1/15 02:56, local time: 2024/7/17 09:45,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Win NT Printer Driver Installation</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!

Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.

Welcome to!