Question Locked

driver installed using rundll32 printui.dll,PrintUIEntry wont use the drivr

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

driver installed using rundll32 printui.dll,PrintUIEntry. I can see the driver in serverpropeties. but when I plug in the usb printer after I have installed the driver It comes up with the add driver wizard.
and I have to manual look for the inf file again.
does anyone have a trick that force the pluged in printer to use the exact same driver witch is allready there automatic without the user have to do something,

6 replies

by thumbsup2

... following the manufacturer's instructions for installing the driver?

Since rundll32 doesn't register the driver in the registry, of course Plug-n-Pray will look for one just as soon as the device is plugged in.

by christensenjohn

there is no instruction from the manufacture. only how to do it the normal way. It is because I have about 10 printer drivers I want to "inject" to a standard image. And I thought I could just add the drivers by running a script after the image was installed on the pc. so when the user plugin in the printer it automaticly find the correct driver.. You say it is not possible ? unless the manufactor have a special install for that ? It's a hp usb printer.

by thumbsup2

... must be "installed" on each machine prior to plugging them in as a USB device the first time. For some printers, you can use HP's Install Network Printer Wizard to discover one on the network. But, when you're using them as a USB device, the "normal" way is the only way. The installation is required.

by christensenjohn

yes maby it is like that with some hp printers. but not this one! there is no setup file only inf files and cat files. so there is no way to install the printer with a install program first. and I tryed to goto hp site to try finding another driver for the printer but there is only that one.
its a hp cp1160.

by thumbsup2

The files you downloaded are drivers. There is no setup application included with them. The original CD that came with the printer would have had it, along with a user manual and instructions on how to remove the printer. If you don't have that CD, the instructions with the driver download on the HP web site says:

[i]hp color inkjet cp1160 series printer software version 4.3 for Windows 2000 and Windows XP- ADD PRINTER system.

Description:
For Windows 2000 and Windows XP
USB (Plug & Play) install :

1. Before you download the driver from the web, create a new directory on your hard drive, c:\temp1.
2. Download the driver to the newly created c:\temp1 folder.
3. Open the c:\temp1 folder and double-click the "exe" file you just downloaded. This will extract the files and expand showing a directory named "cp1160".
4. Connect the interface cable from your hp cp1160 printer to your computer.
5. [b]A "Found New Hardware Wizard" dialog box will appear.[/b]
6. Click next.
7. Select "Search for a suitable driver for my device" and click next.
8. Select "Specify a location" and click next.
9. Click Browse?
10. Go to the c:\temp1\cp1160\Win2k_xp folder and click OK.
11. Select the HPF1160K.INF and click open.
12. Click OK, and then click next.
13. [b]Windows will now [u]install[/u] the driver files. [/b]
14. In the "Completing the Found New Hardware Wizard" dialog box, click Finish. [/i]

---

THAT is the installation for this particular printer which must be run when you don't have the CD that came with the printer. The CD simply automates this process so that when you plug the printer in, the Found New Hardware Wizard knows where to look for the drivers. You can't just simply try to run rundll32 and think that it's going to do the job for you. Every printer has an installation routine, even if that routine is to run the Found New Hardware Wizard and manually search for the drivers.

---

This discussion is closed to new replies.