Try installing as Laserjet 1300 PCL 5
- Open Control Panel
- Click Printers
- Right click your 1012
- select properties
- select the ports tab, note the port used by your 1012
- Click add a printer
- Select add a local printer
- select use an existing port
- drop down and select the port used by your 1012
- click next
- scroll left column to HP
-
- Click next and continue installation
Also look at Windows 7 and HP Laserjet 1012 Driver not working for installing the Host Based driver.