Many printers that are HP multifunction devices have software problems. Depending on where in the boot process it hangs, you may be able to disable some of the HP software in MSCONFIG. The update manager is notorius for causing problems and is not needed.
If it is hanging at the BIOS section, it is most likely a USB hangup. Could be caused by a bad printer, incompatible BIOS, etc.
I usually do not recommend HP all-in-one units, just too many software problems.
A search at Amazon on that model, shows many unhappy people.
I usually go for Brother models.
I have a PSC 2410 connected to a desktop running Win XP. The printer is on all the time. When I start up the PC in the morning Windows just hangs. I then have to turn off the printer, restart Windows and then restart the printer.
Does anyone know why this should happen and how to cure it?