Cable you need according to HP
Click the "List all parts for this product" arrows.
The 5063-1254 link shows many printers that use the cable.
I just got a used HP G85 that uses both a USB & that cable, and am using the USB method.
I got both cables with it. I am trying to figure if I would ever need the 1284 cable. Only if the USB port would die I guess. So I guess you can have that if it's for you keeping, not fixing it up to sell the printer.
Thing is, shipping it might be around $5 +/-, depending on how it's packaged. Last guy I sent something to that should have been a cheap ship, the P.O. whipped out some thickness gauge and gouged me on the shipping.
I also found an eBay seller that has both a 6' and 10' version to sell cheap (about $14 shipped)...
http://cgi.ebay.com/New-6-ft-I...VWQQrdZ1QQcmdZViewItem
...if you rather get a new one. It'll be over $20 anywhere else from googling info.