What I would do is write a reg file to remove the registry entries for the deskjet 845c that should effectively remove the old one.
Install the new printer on a pc and track its registry entries then add these to the reg file mentioned above to input those entries onto a new PC. The UNC names will not be the same but if you ommit these it should recreate them.
Write a batch file to copy the driver file to the system32 directory, then call the reg file at the end of the batch file. Distribute these files (reg file, driver file(s), and batch file) to users and tell them to run the batch file. Or put them in an exe or msi.
Have no idea if that will work or not though .... ???
Main Topics
Browse All Topics





by: nhuismanPosted on 2005-07-26 at 17:12:20ID: 14532843
Hi Garry,
om/default .aspx?scid =kb;en- us; 314486
This microsoft article explains how to use scripts to add and remove printers. When I looked up the help for the command I found that the /y switch will mark the printer as the default printer. The help command is documented on the website.
http://support.microsoft.c
Adding a printer.
rundll32 printui.dll,PrintUIEntry /ia /c\\server /m "AGFA-AccuSet v52.3" /h
"Intel" /v "Windows 2000" /f %windir%\inf\ntprint.inf
Deleting a printer.
rundll32 printui.dll,PrintUIEntry /dl /n "Test Printer" /c\\SERVER