Presumably the HP has a regular parallel printer connector or (worse) one of those clever littler ones they adopted later.
It's possible to get USB to Parallel converter but these USB to legacy devices don't always work.
Luckily the n in your printer suggests that it has a network socket. You may have to learn some new stuff (about networking a printer) which I don't pretend to know.
Decide whether the time spent doing that is worth more than the cost of a new USB printer.