You need to explain a little bit more than "can't get it to work." Can you add the printer in Print & Scan prefs?
The USB 2 cable should be fine.
Drivers in 10.9 are normally auto-downloaded as needed. If you've installed the whole HP package and still can't add the printer, just Reset Printing System, then try adding again.