1) Disconnect the HP 1020 if it is currently connected to the MacBook.
2 Download;
http://www.narc.ca/1601-LJ_1022_Series_OSX.dmg
2) Delete anything for the HP 1020 in Printer in "Printer Setup Utility"
3) If you have anything for the HP 1020 (or the 1022 from a failed installation) in "/Library/Reciepts" delete it.
4) Remove the 1020Series folder from "/Library/Printers/hp/laserjet" directory if it exists.
5) Reset the print system from the Printer Setup Utility
6) Reboot (the HP 1020 is still disconnected from the MacBook)
7) Run the installer package downloaded in step 2
8) Shut down the MacBook completely
9) While the MacBook is off, connect the HP 1020 and power the PRINTER on.
10) Power on the MacBook
11) Add new printer in "Printer Setup Utility", select HP LaserJet 1020, driver should come up, click ADD
I got these instructions from
here