OK. 1022 is a PCL 5e printer. 1022 only USB, 1022n USB & ethernet and 1022nw USB, ethernet and WiFi. It's no longer in production. The drivers for this model are outdated, last version from 2007. That could be a problem.
IMO opinion a LaserJet 1200 Series PCL 5 driver should work with your printer and Windows 7. You could try to replace your drivers from Devices and Printers > Add printer > HP LaserJet 1200 Series PCL5.
I still think the best option is to connect it to network rather than to a computer. If your router/modem has no USB port, buying a
network USB hub could be a solution.
Hope you can fix your issue.
Kari