You saw this error message because you do not have the HP Printer software, including the driver for the Library printer, installed on your Mac. To install the software, go to the Apple Support Downloads page and search for HP.
Click Download to download the current HP printer drivers for OS X (v.2.12 in October 2012). Locate the file you just downloaded in the Finder, and click to mount the HewlettPackard Printer Drivers disk image file.
In the HewlettPackard Printer Drivers window, double-click to open the software package.
The software installer will open. Click Continue and follow the usual installation steps.
Now locate the InstallPrinter script in the Finder, and double-click to run it again.
Click to close