read the entire page that link brings up
Installing the Printer with an Alternate Driver in Windows*7 for a USB Cable Connection HP Photosmart 145 Compact Photo Printer - HP technical support (United Kingdom - English)
You need to manually install it using the Photosmart 330 driver built into windows 7
If you read that page it will tell you how to do it
"At this time, a full feature Windows 7 driver solution is not available for your product.
However, a compatible print driver solution for your product is included with the Windows 7 operating system. There is no need to download any additional software.
Follow the steps in this document to identify the print driver that is compatible with the product, install the driver, and then configure it in Windows 7. When this driver is installed, you can use the basic product functions..................."