In most cases the driver may not be available in the MacOS system but you need to download the driver for HP Laserjet P1102.

Download link: click here

(or)

The easiest way is ….

HP Laserjet Professional P1100 driver which will already preinstalled in the Mac and you select this driver for the HP Laserjet P1102 printer and it will work.