HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux.
The firmware of the printer must be uploaded after turning it on. You can use a hotplug/udev script which comes with foo2zjs, or do it manually: "cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0".